Amazon Bedrock Tutorial - Model Access, Playgrounds, APIs and Fine-Tuning | AWS Generative AI

Sdílet
Vložit
  • čas přidán 11. 06. 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
  • Věda a technologie

Komentáře • 44

  • @TinyTechnicalTutorials
    @TinyTechnicalTutorials  Před 6 měsíci +3

    What else do you want to learn about generative AI or AWS? Let me know below in the comments! 🤓

    • @femioloruntobi5428
      @femioloruntobi5428 Před 6 měsíci +1

      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

    • @TinyTechnicalTutorials
      @TinyTechnicalTutorials  Před 6 měsíci +1

      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): czcams.com/video/kRDtwr1dPpw/video.html.

    • @srisir481
      @srisir481 Před 6 měsíci

      my son says both :) always ..do you love your mom or dad?

    • @dipteshbosedb
      @dipteshbosedb Před 6 měsíci +3

      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.

    • @amirthanpuvaneswaran5794
      @amirthanpuvaneswaran5794 Před 6 měsíci +1

      Please show us end to end application development. Like a fully functional gen ai application.

  • @vardump_
    @vardump_ Před 6 měsíci

    Thanks a lot for such a simple explanation. I'm learning a lot about AWS from you daily

    • @TinyTechnicalTutorials
      @TinyTechnicalTutorials  Před 6 měsíci

      Thanks for such a nice comment!! 🤓🌟🙏 Glad you're enjoying the videos.

  • @khalidelgazzar
    @khalidelgazzar Před 5 měsíci

    Great video. Love your way in making things simple and straight forward 😊

    • @TinyTechnicalTutorials
      @TinyTechnicalTutorials  Před 5 měsíci +1

      A very belated thank you!! Really appreciate it! 🥰🙏🌟

    • @jxxnxn1565
      @jxxnxn1565 Před 3 měsíci

      I also agree with that. I am studying coding and your explanation makes the things clearer for me. @@TinyTechnicalTutorials

    • @TinyTechnicalTutorials
      @TinyTechnicalTutorials  Před 3 měsíci

      Ahhhh...thanks so much!! 🙏🌟😊

  • @SonOfSofaman
    @SonOfSofaman Před 6 měsíci +3

    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!

    • @TinyTechnicalTutorials
      @TinyTechnicalTutorials  Před 6 měsíci +2

      I love this!! The perfect project for a long holiday weekend! 💪🔥😎🥰 Let me know how it goes!

    • @josephpareti9156
      @josephpareti9156 Před 6 měsíci

      you can do it with msft word 365

  • @PowerAppsTutorial
    @PowerAppsTutorial Před 6 měsíci

    Very nice. AI is disrupting the norm!! Your voice is soothing, lol.

    • @TinyTechnicalTutorials
      @TinyTechnicalTutorials  Před 6 měsíci

      AI is taking over the world!! But I guess I can make you feel relaxed about it?? 😂😁🤣 Thanks for watching, @PowerAppsTutorial! 🙏

  • @samjones4327
    @samjones4327 Před 6 měsíci

    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!!!

    • @TinyTechnicalTutorials
      @TinyTechnicalTutorials  Před 6 měsíci +1

      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! 😊

  • @Doggy_Styles_Coding
    @Doggy_Styles_Coding Před 6 měsíci +1

    nice :) should try it out

  • @spaco3419
    @spaco3419 Před měsícem

    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.

  • @rishiraj2548
    @rishiraj2548 Před 6 měsíci

    Thanks a lot

  • @JanosTech
    @JanosTech Před 6 měsíci

    Haha, this came up quick on my feed

  • @Amine0027
    @Amine0027 Před 6 měsíci

    thanks

  • @nishantkumar-lw6ce
    @nishantkumar-lw6ce Před 6 měsíci +1

    What’re the best ways to build streamlit apps using Sagemaker studio?

    • @TinyTechnicalTutorials
      @TinyTechnicalTutorials  Před 6 měsíci +1

      Hi Nishant! 👋 Maybe this will get you started? aws.amazon.com/blogs/machine-learning/build-streamlit-apps-in-amazon-sagemaker-studio/

    • @nishantkumar-lw6ce
      @nishantkumar-lw6ce Před 6 měsíci

      @@TinyTechnicalTutorials thanks, I was able to build using EC2 route. I was trying to find a solution without the use of EC2.

  • @josephpareti9156
    @josephpareti9156 Před 6 měsíci +1

    how do you set these env variables AWS_PROFILE and BEDROCK_ASSUME_ROLE there sis no documentation and my exercise on bedrock fails

    • @TinyTechnicalTutorials
      @TinyTechnicalTutorials  Před 6 měsíci

      Hey Joseph! 👋 Do you have a link to the exercise you're working on?

    • @josephpareti9156
      @josephpareti9156 Před 6 měsíci

      yes i do docs.google.com/document/d/1yQvS5PHm-bqjjkD0N9AwET1o9IpHh6l1AVRpZQil5nc/edit?usp=sharing

  • @brijeshgupta8165
    @brijeshgupta8165 Před 5 měsíci

  • @alanfender123
    @alanfender123 Před 6 měsíci

    Thanks for your AWS tutorials! Please don't start using AI tools to generate your videos...there's something that would be lost there...

    • @TinyTechnicalTutorials
      @TinyTechnicalTutorials  Před 6 měsíci

      Awww, thanks so much!! 🙏🤓🌟 For now, I'm winning over the robots! 🤖