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.
Objetivos
Neste curso, os participantes aprenderão as seguintes habilidades:
- 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
Público-Alvo
Esta aula destina-se ao seguinte público:
- Application developers leverage Generative AI in their applications and machine learning practitioners supporting the development of GenAI-powered applications.
Pré-requisitos
Para aproveitar ao máximo este curso, os participantes precisam atender aos seguintes critérios:
-
- 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
Duração
1 dia
Investimento
Caso tenha interesse em uma turma para sua empresa, por favor entre em contato conosco.
Resumo do curso
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.
Module 1: Generative AI on Vertex AI
- 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
Module 4: Implementing the PaLM API
- 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