Amazon Bedrock Tutorial - Model Access, Playgrounds, APIs and Fine-Tuning | AWS Generative AI
HTML-код
- Опубликовано: 28 май 2024
- Amazon has joined the generative AI race with its offering of Amazon Bedrock. With Bedrock, you get access to multiple models (from companies like AI21 Labs, Anthropic, Cohere, Stability AI, and Amazon itself with the Titan models), and you can also create custom models by fine-tuning on your own data. And as you would expect from Amazon, enterprise-level security, privacy, governance and monitoring are baked right in.
In this hands-on tutorial, I’ll show you how to get started using Bedrock, including how to access the models and use the three playgrounds (text, chat and image). Then we’ll move to the APIs, writing some simple Python code to send a prompt and view the response. Finally, I’ll show you how to get started with a custom model and fine-tuning.
🌟***CODE AND RESOURCES USED IN THE VIDEO***🌟
• The Python code used in the demo can be found here: docs.google.com/document/d/1t...
• Bedrock API reference: docs.aws.amazon.com/bedrock/l...
• Bedrock pricing: aws.amazon.com/bedrock/pricing
🌟***MY AWS COURSES***🌟
If you’re interested in getting AWS certifications, check out these full courses. They include lots of hands-on demos, quizzes and full practice exams. Use FRIENDS10 for a 10% discount!
• AWS Certified Cloud Practitioner: academy.zerotomastery.io/a/af...
• AWS Certified Solutions Architect Associate: academy.zerotomastery.io/a/af...
🌟***TIMESTAMPS***🌟
00:00 - A sneak peek at the Amazon Bedrock playgrounds, APIs and custom models
00:47 - Selecting a region where Amazon Bedrock is generally available
01:18 - What is Amazon Bedrock, and what models can I access?
01:53 - Demoing the AI Stylist application to showcase how Bedrock works, aistylist.awsplayer.com
03:14 - Why is it called Bedrock?
03:36 - How much does Amazon Bedrock cost? Pricing information
04:45 - How to get access to the Amazon Bedrock models
05:51 - What’s the differences between the Bedrock base models?
06:29 - Working with the Bedrock playgrounds for chat, text and images
09:29 - Using the Bedrock APIs
09:48 - Creating a Cloud9 environment to run the demo code
10:33 - Using the boto3 Python SDK to interact with the Bedrock models
13:15 - IMPORTANT!! Delete the Cloud9 environment if you created one (I’ll show you how)
13:31 - Getting started with fine-tuning and custom models - Наука
What else do you want to learn about generative AI or AWS? Let me know below in the comments! 🤓
Can you please make a video explaining cidr and errors about overlapping cidr and subnet numbers....its currently a serious bother to me and i feel may people also would need it
Thanks for the suggestion, Femi! 🙏 I'll add this to my list. In the meantime, if it's helpful, I do have a video about CIDR generally and how things work in AWS (though not so much about errors/overlaps): ruclips.net/video/kRDtwr1dPpw/видео.html.
my son says both :) always ..do you love your mom or dad?
Can you walk us through a RAG use case. Scenario: Access Knowledge through an API and use prompt engineering to achieve the desired search and text generation outcomes. So, basically, avoid moving the data to S3 that creates data redundancy and escaping the requirement to finetune a model.
Please show us end to end application development. Like a fully functional gen ai application.
Thanks a lot for such a simple explanation. I'm learning a lot about AWS from you daily
Thanks for such a nice comment!! 🤓🌟🙏 Glad you're enjoying the videos.
Great video. Love your way in making things simple and straight forward 😊
A very belated thank you!! Really appreciate it! 🥰🙏🌟
I also agree with that. I am studying coding and your explanation makes the things clearer for me. @@TinyTechnicalTutorials
Ahhhh...thanks so much!! 🙏🌟😊
Idea: Use AWS Transcribe to convert voice to text. Pipe that into Bedrock as AI chat prompts, then funnel the Bedrock responses into Polly to convert text to speech. It might be creepy to voice-chat with a computer, but golly, I'm gonna try it! ... hmm ... we have a long holiday weekend coming up -- perfect timing!
I love this!! The perfect project for a long holiday weekend! 💪🔥😎🥰 Let me know how it goes!
you can do it with msft word 365
nice :) should try it out
Definitely! It's pretty cool. 😎
Very nice. AI is disrupting the norm!! Your voice is soothing, lol.
AI is taking over the world!! But I guess I can make you feel relaxed about it?? 😂😁🤣 Thanks for watching, @PowerAppsTutorial! 🙏
Thanks for this amazing intro on Amazon Bedrock. The more I try to avoid coding the more I discover that it is unavoidable on this space.
Absolutely!! Glad it helped. And thank YOU for watching! 🤓🙏🌟
Thanks a lot
For sure! Thanks for watching! 🤓🌟🙏
What’re the best ways to build streamlit apps using Sagemaker studio?
Hi Nishant! 👋 Maybe this will get you started? aws.amazon.com/blogs/machine-learning/build-streamlit-apps-in-amazon-sagemaker-studio/
@@TinyTechnicalTutorials thanks, I was able to build using EC2 route. I was trying to find a solution without the use of EC2.
Haha, this came up quick on my feed
Ha! The AI knows what you like! 🤓😁
Fantastic video as usual @@TinyTechnicalTutorials
Thanks so much, @JanosTech! 🙏
Very Very cool! Thank U for another great tutorial! Looks like you can do some amazing things with Bedrock! I've not delved into coding just yet but I'm seeing that whatever you decide to do in the cloud, there will be some coding/ scripting involved and it just makes things easier in the end! I enjoyed this one! As always, I appreciate all that you do for us. You're amazing. Be well, be safe and Cheers!!!
SAM!!! Always so great to see you in the comments! 🥰 Glad you liked this one...lots of cool things happening in AI. Be well, and happy holidays! 😊
how do you set these env variables AWS_PROFILE and BEDROCK_ASSUME_ROLE there sis no documentation and my exercise on bedrock fails
Hey Joseph! 👋 Do you have a link to the exercise you're working on?
yes i do docs.google.com/document/d/1yQvS5PHm-bqjjkD0N9AwET1o9IpHh6l1AVRpZQil5nc/edit?usp=sharing
thanks
You bet! Thanks for watching! 🙏🤓🌟
❤
And another thank you! 😊
Thanks for your AWS tutorials! Please don't start using AI tools to generate your videos...there's something that would be lost there...
Awww, thanks so much!! 🙏🤓🌟 For now, I'm winning over the robots! 🤖