Generative AI is being used to develop new products and services across multiple industries, such as personalized marketing communications, chatbots for interacting with customers, and virtual assistants. For example, It can also be used to create chatbots that can answer customer questions and provide customer support. In this course, you will explore the use of text generation models using Gen AI Studio on Vertex AI and learn how to incorporate those models into your application using the PaLM API and client libraries. You will learn how to design and tune prompts to ensure the best outputs for your applications and discuss how to fine-tune foundational models to improve model output quality.
Objectives
In this course, participants will learn the following skills:
- Understand Vertex AI generative AI options for your applications
- Explore Gen AI Studio to interact with foundation models
- Design and tune prompts for your Generative AI use cases
- Implement the PaLM API into your applications using the Python SDK
- Fine-tune foundation model weights to improve model output quality
Audience
This course is intended for the following participants:
- Application developers leverage Generative AI in their applications and machine learning practitioners supporting the development of GenAI-powered applications.
Prerequisites
Basic understanding of one or more of the following:
- Programming in Python
- Leveraging APIs in applications
- Basic familiarity with Google Cloud and Vertex AI as covered in the Google Cloud Big Data and Machine Learning Fundamentals course
Duration
Duration
1 day
Investment
Check the next open public class in our enrollment page.
If you are interested in a private training class for your company, contact us.
Course Outline
1 day of introductory to intermediate level content for those developing using Generative AI features on Google Cloud’s Vertex AI platform. This class includes lecture, demonstrations and hands-on lab activities.
- Vertex AI on Google Cloud
- Generative AI Options on Google Cloud
- Introduction to the Course Use Case (Text Generation)
- Introduction to GenAI Studio
- Available models and use cases
- Designing and testing prompts in the Cloud Console
- Data governance in GenAI Studio
- Lab: Getting started with Vertex AI Gen AI Studio’s User Interface
- Why is prompt design so important?
- Zero-shot vs. few-shot prompting
- Providing additional context and instruction-tuning
- Best practices
- Lab: Question Answering with Generative Models on Vertex AI
- Lab: Getting Started with the Vertex AI PaLM API & Python SDK
- Introduction to the PaLM API
- Utilizing generative models using the Python SDK
- Understanding model parameters for text generation
- Lab: Use the PaLM API to integrate GenAI into Applications
- Scenarios to use model tuning
- Workflow for model tuning
- Preparing your model tuning dataset
- Create a model tuning job
- Loading a tuned model
- Demo: Fine-tuning models for your specific use case