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
  • НаукаНаука

Комментарии • 44

  • @TinyTechnicalTutorials
    @TinyTechnicalTutorials  6 месяцев назад +3

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

    • @femioloruntobi5428
      @femioloruntobi5428 6 месяцев назад +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  6 месяцев назад +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): ruclips.net/video/kRDtwr1dPpw/видео.html.

    • @srisir481
      @srisir481 6 месяцев назад

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

    • @dipteshbosedb
      @dipteshbosedb 5 месяцев назад +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 5 месяцев назад +1

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

  • @vardump_
    @vardump_ 6 месяцев назад

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

    • @TinyTechnicalTutorials
      @TinyTechnicalTutorials  6 месяцев назад

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

  • @khalidelgazzar
    @khalidelgazzar 5 месяцев назад

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

    • @TinyTechnicalTutorials
      @TinyTechnicalTutorials  4 месяца назад +1

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

    • @jxxnxn1565
      @jxxnxn1565 2 месяца назад

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

    • @TinyTechnicalTutorials
      @TinyTechnicalTutorials  2 месяца назад

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

  • @SonOfSofaman
    @SonOfSofaman 6 месяцев назад +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  6 месяцев назад +2

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

    • @josephpareti9156
      @josephpareti9156 5 месяцев назад

      you can do it with msft word 365

  • @Doggy_Styles_Coding
    @Doggy_Styles_Coding 6 месяцев назад +1

    nice :) should try it out

  • @PowerAppsTutorial
    @PowerAppsTutorial 6 месяцев назад

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

    • @TinyTechnicalTutorials
      @TinyTechnicalTutorials  6 месяцев назад

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

  • @spaco3419
    @spaco3419 Месяц назад

    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 6 месяцев назад

    Thanks a lot

  • @nishantkumar-lw6ce
    @nishantkumar-lw6ce 5 месяцев назад +1

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

    • @TinyTechnicalTutorials
      @TinyTechnicalTutorials  5 месяцев назад +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 5 месяцев назад

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

  • @JanosTech
    @JanosTech 6 месяцев назад

    Haha, this came up quick on my feed

  • @samjones4327
    @samjones4327 5 месяцев назад

    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  5 месяцев назад +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! 😊

  • @josephpareti9156
    @josephpareti9156 5 месяцев назад +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  5 месяцев назад

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

    • @josephpareti9156
      @josephpareti9156 5 месяцев назад

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

  • @Amine0027
    @Amine0027 6 месяцев назад

    thanks

  • @brijeshgupta8165
    @brijeshgupta8165 5 месяцев назад

  • @alanfender123
    @alanfender123 6 месяцев назад

    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  6 месяцев назад

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