Remove Big data Remove Demo Remove Scripts
article thumbnail

Create a generative AI–powered custom Google Chat application using Amazon Bedrock

AWS Machine Learning

Run the script init-script.bash : chmod u+x init-script.bash./init-script.bash init-script.bash This script prompts you for the following: The Amazon Bedrock knowledge base ID to associate with your Google Chat app (refer to the prerequisites section). The script deploys the AWS CDK project in your account.

APIs 123
article thumbnail

Fine-tune and deploy a summarizer model using the Hugging Face Amazon SageMaker containers bringing your own script

AWS Machine Learning

Build your training script for the Hugging Face SageMaker estimator. script to use with Script Mode and pass hyperparameters for training. return tokenized_dataset. If we use an ml.g4dn.16xlarge The batch size per device remains the same, but eight devices are training in parallel. As usual with SageMaker, we create a train.py

Scripts 101
Insiders

Sign Up for our Newsletter

This site is protected by reCAPTCHA and the Google Privacy Policy and Terms of Service apply.

Trending Sources

article thumbnail

Build a custom UI for Amazon Q Business

AWS Machine Learning

For instructions, refer to How do I integrate IAM Identity Center with an Amazon Cognito user pool and the associated demo video. You can also find the script on the GitHub repo. Provide the following parameters for the stack: Stack name – The name of the CloudFormation stack (for example, AmazonQ-UI-Demo ).

APIs 137
article thumbnail

Generate images from text with the stable diffusion model on Amazon SageMaker JumpStart

AWS Machine Learning

The following sections provide a step-by-step demo to perform inference, both via the Studio UI and via JumpStart APIs. All the steps in this demo are available in the accompanying notebook Introduction to JumpStart – Text to Image. You can use any number of models pre-trained on the same task with a single inference script.

APIs 108
article thumbnail

Run text generation with GPT and Bloom models on Amazon SageMaker JumpStart

AWS Machine Learning

The following sections provide a step-by-step demo to perform inference, both via the Studio UI and via JumpStart APIs. All the steps in this demo are available in the accompanying notebook Introduction to JumpStart – Text Generation. You can use any number of models pre-trained on the same task with a single inference script.

APIs 109
article thumbnail

Video auto-dubbing using Amazon Translate, Amazon Bedrock, and Amazon Polly

AWS Machine Learning

We use the custom terminology dictionary to compile frequently used terms within video transcription scripts. Yaoqi Zhang is a Senior Big Data Engineer at Mission Cloud. Adrian Martin is a Big Data/Machine Learning Lead Engineer at Mission Cloud. Here’s an example.

article thumbnail

Run image segmentation with Amazon SageMaker JumpStart

AWS Machine Learning

The following sections provide a step-by-step demo to perform semantic segmentation with JumpStart, both via the Studio UI and via JumpStart APIs. All the steps in this demo are available in the accompanying notebooks Introduction to JumpStart – Instance Segmentation and Introduction to JumpStart – Semantic Segmentation.

APIs 98