Google Cloud samples
Search for samples demonstrating the usage of Google Cloud products.
For Terraform samples, see Resource samples and Blueprints.
Create a training pipeline for video classification
Creates a training pipeline for video classification using the create_training_pipeline method.
- Vertex AI
- Google Cloud
- JavaScript
- Node JS
- Python
- Java
- Sample
Generate text by using a context cache
Generate text by using an existing context cache.
- Generative AI on Vertex AI
- Google Cloud
- Google Gen AI SDK
- Go
- Python
- C#
- Sample
Get text embeddings (Generative AI)
Get text embeddings for a snippet of text using an embedding model.
- Google Cloud
- Vertex AI
- Node JS
- JavaScript
- Java
- C#
- Sample
Get the token count of a request locally
This code sample demonstrates how to get the token count for a request locally without calling the Count Tokens API.
- Generative AI on Vertex AI
- Google Gen AI SDK
- Google Cloud
- Python
- Sample
Automatically refresh Open AI API credentials
This code sample demonstrates how to use the OpenAI Credentials Refresher class to automatically refresh OpenAI API credentials.
- Google Cloud
- Generative AI on Vertex AI
- Google Gen AI SDK
- Python
- Sample
Create a training pipeline for custom training managed dataset
Creates a training pipeline for custom training managed dataset using the create_training_pipeline method.
- Vertex AI
- Google Cloud
- Java
- Python
- Sample
Delete an index
This sample demonstrates how to delete an index.
- Generative AI on Vertex AI
- Google Gen AI SDK
- Google Cloud
- Python
- Sample
Create a dataset for image
Creates a dataset for image using the create_dataset method.
- Google Cloud
- Vertex AI
- Terraform
- Java
- Node JS
- Python
- JavaScript
- Sample
Cancel a hyperparameter tuning job
Cancels a hyperparameter tuning job using the cancel_hyperparameter_tuning_job method.
- Vertex AI
- Google Cloud
- Python
- Sample
Tune an embedding model using the specified parameters
This code sample demonstrates how to fine-tune an embedding model using Vertex AI. The sample uses a pre-trained model and tunes it on a specific dataset.
- Google Cloud
- Google Gen AI SDK
- Generative AI on Vertex AI
- Python
- Sample
Generate embeddings for multimodal input
This code sample shows how to use the multimodal model to generate embeddings for text and image inputs.
- Google Gen AI SDK
- Google Cloud
- Generative AI on Vertex AI
- Python
- Go
- Sample
Summarize text content using Generative AI (Generative AI)
Summarize text content using a publisher text model.
- Google Cloud
- Vertex AI
- Java
- C#
- JavaScript
- Node JS
- Python
- Sample
Delete a data labeling job
Deletes a data labeling job using the delete_data_labeling_job method.
- Google Cloud
- Vertex AI
- Java
- Python
- Sample
Get a model evaluation for image object detection
Gets a model evaluation for image object detection using the get_model_evaluation method.
- Google Cloud
- Vertex AI
- Node JS
- JavaScript
- Python
- Java
- Sample
Set labels for Generative AI requests in Vertex AI
This sample demonstrates how to set labels for Generative AI requests in Vertex AI.
- Google Cloud
- Google Gen AI SDK
- Generative AI on Vertex AI
- Python
- Sample
Create a training pipeline for tabular regression
Creates a training pipeline for tabular regression using the create_training_pipeline method.
- Vertex AI
- Google Cloud
- Java
- JavaScript
- Python
- Node JS
- Sample
Create a batch prediction job for tabular forecasting
Creates a batch prediction job for tabular forecasting using the create_batch_prediction_job method.
- Google Cloud
- Vertex AI
- Python
- Sample
Export a model
Exports a model using the export_model method.
- Vertex AI
- Google Cloud
- Java
- Python
- JavaScript
- Node JS
- Sample
Generate streaming text content with Generative Model
This sample demonstrates how to use Generative Models to generate text in a streaming format.
- Generative AI on Vertex AI
- Google Cloud
- Google Gen AI SDK
- Python
- Node JS
- JavaScript
- Go
- Java
- Sample
Batch code prediction with a pre-trained model
Perform batch code prediction using a pre-trained code generation model.
- Google Gen AI SDK
- Google Cloud
- Generative AI on Vertex AI
- Python
- Go
- Node JS
- JavaScript
- Java
- Sample
Refresh Open AI API credentials by using Google Cloud authentication
This code sample demonstrates a utility class that refreshes credentials for OpenAI API calls using Google Cloud authentication. The `OpenAI Credentials Refresher` class retrieves and refreshes credentials from Google Cloud when necessary, ensuring the continued availability of a valid API key for OpenAI requests.
- Google Gen AI SDK
- Google Cloud
- Generative AI on Vertex AI
- Python
- Sample
Get a Supervised Tuning Job
This code sample demonstrates how to retrieve information on a Supervised Tuning Job.
- Google Cloud
- Google Gen AI SDK
- Generative AI on Vertex AI
- Python
- Sample
List Supervised Tuning Jobs
This sample demonstrates how to list all running and completed tuning jobs within a project.
- Google Cloud
- Google Gen AI SDK
- Generative AI on Vertex AI
- Python
- Sample
List RAG files in an index
This sample demonstrates how to list RAG files in an index.
- Generative AI on Vertex AI
- Google Cloud
- Google Gen AI SDK
- Python
- Sample
Create prompts for code comment completion (Generative AI)
Create prompts to work with a publisher code model to create code comment completion suggestions.
- Vertex AI
- Google Cloud
- JavaScript
- Java
- Node JS
- C#
- Sample
Import data for video action recognition
Imports data for video action recognition using the import_data method.
- Google Cloud
- Vertex AI
- Python
- JavaScript
- Java
- Node JS
- Sample
Process images, video, audio, and text with Gemini 1.5 Pro
This sample shows you how to process images, video, audio, and text at the same time. This sample works with Gemini 1.5 Pro only.
- Google Cloud
- Google Gen AI SDK
- Generative AI on Vertex AI
- JavaScript
- Node JS
- C#
- Java
- Go
- Python
- Sample
Edit image content using mask-free editing with Imagen v.002
This sample demonstrates how to use the Imagen model for mask-free image editing. Specify the edits using a text prompt.
- Google Gen AI SDK
- Google Cloud
- Generative AI on Vertex AI
- JavaScript
- Java
- Python
- Node JS
- Sample
Enhance a product image by modifying the background content with Imagen
This sample demonstrates how to use the Imagen model for product image editing. Specify what should be shown in the background. The product's appearance is preserved in the foreground.
- Generative AI on Vertex AI
- Google Cloud
- Google Gen AI SDK
- Python
- Sample
Tune Code Generation Model
Tune a pre-trained code generation model.
- Generative AI on Vertex AI
- Google Cloud
- Google Gen AI SDK
- Python
- Sample
List model evaluation slices
Lists model evaluation slices using the list_model_evaluation_slices method.
- Google Cloud
- Vertex AI
- JavaScript
- Python
- Node JS
- Java
- Sample
Get short-form image captions
This sample demonstrates how to use the Imagen model to get a short, general description of a supplied image.
- Generative AI on Vertex AI
- Google Cloud
- Google Gen AI SDK
- Python
- Node JS
- JavaScript
- Java
- Sample
Remove image content using mask-based inpainting with Imagen
This sample demonstrates how to use the Imagen model for mask-based image editing. Specify a targeted mask area in which to remove image content.
- Google Cloud
- Generative AI on Vertex AI
- Google Gen AI SDK
- JavaScript
- Java
- Python
- Node JS
- Sample
Get a batch prediction job
Gets a batch prediction job using the get_batch_prediction_job method.
- Vertex AI
- Google Cloud
- Node JS
- Java
- Python
- JavaScript
- Sample
Upload a model for explain tabular managed container
Uploads a model for explain tabular managed container using the upload_model method.
- Vertex AI
- Google Cloud
- Python
- Sample
Generate streaming text by using Gemini and the Chat Completions API
Generate streaming text by using the Chat Completions API, which lets you send requests to Vertex AI models by using the OpenAI libraries.
- Generative AI on Vertex AI
- Google Cloud
- Google Gen AI SDK
- Python
- Sample
Batch Predict with Gemini using BigQuery data
Perform batch text prediction with Gemini using BigQuery data source as input.
- Generative AI on Vertex AI
- Google Gen AI SDK
- Google Cloud
- Go
- JavaScript
- Node JS
- Java
- Python
- Sample
Get short-form image responses
This sample demonstrates how to use the Imagen model to ask a question and get an answer about a supplied image.
- Google Cloud
- Generative AI on Vertex AI
- Google Gen AI SDK
- Java
- JavaScript
- Node JS
- Python
- Sample
List the tuned models for Vertex LLMs (Generative AI)
A code sample demonstrating how to get a list of the tuned models for Vertex LLMs
- Vertex AI
- Google Cloud
- Java
- Sample
Generate text from multimodal prompt
This sample demonstrates how to generate text from a multimodal prompt using the Gemini model. The prompt consists of three images and two text prompts. The model generates a text response that describes the images and the text prompts.
- Google Cloud
- Generative AI on Vertex AI
- Google Gen AI SDK
- Python
- Java
- Go
- JavaScript
- Node JS
- C#
- Sample
Import data for video classification
Imports data for video classification using the import_data method.
- Google Cloud
- Vertex AI
- Java
- JavaScript
- Python
- Node JS
- Sample
Upload a RAG file
This sample demonstrates how to upload a RAG file, which contains additional information that provides context to the LLM to generate more accurate responses.
- Google Gen AI SDK
- Google Cloud
- Generative AI on Vertex AI
- Python
- Sample
Create a training pipeline
Creates a training pipeline using the create_training_pipeline method.
- Vertex AI
- Google Cloud
- Java
- Python
- Sample
Get information about an index
This sample demonstrates how to get information about an index.
- Google Cloud
- Generative AI on Vertex AI
- Google Gen AI SDK
- Python
- Sample
Import data for image object detection
Imports data for image object detection using the import_data method.
- Google Cloud
- Vertex AI
- Java
- JavaScript
- Python
- Node JS
- Sample
Explain for tabular
Gets explanation for tabular using the explain method.
- Google Cloud
- Vertex AI
- Python
- Sample
Tune language foundation model (Generative AI)
Tune language foundation models with a tuning dataset.
- Vertex AI
- Google Cloud
- JavaScript
- Node JS
- Sample
Add image content using automatic mask detection and inpainting with Imagen
This sample demonstrates how to use the Imagen model for mask-free image editing. Imagen automatically detects and creates a mask area in which to add image content.
- Google Gen AI SDK
- Generative AI on Vertex AI
- Google Cloud
- Python
- Sample
Create a data labeling job for image segmentation
Creates a data labeling job for image segmentation using the create_data_labeling_job method.
- Vertex AI
- Google Cloud
- Python
- Sample
List indexes in a project
This sample demonstrates how to list indexes under a given project.
- Google Gen AI SDK
- Generative AI on Vertex AI
- Google Cloud
- Python
- Sample
Fine-tune Generative AI models with Vertex AI Supervised Fine-tuning
Automatically tune a Gemini model using Google Cloud's Vertex AI SFT (Supervised Fine-tuning).
- Google Cloud
- Google Gen AI SDK
- Generative AI on Vertex AI
- Python
- Sample
Create a batch prediction job for video object tracking
Creates a batch prediction job for video object tracking using the create_batch_prediction_job method.
- Vertex AI
- Google Cloud
- JavaScript
- Java
- Python
- Node JS
- Sample
Create and use a Vertex AI Prompt to generate text
This sample demonstrates how to create a Prompt instance, generate text using the assembled prompt, and save a version of the Prompt.
- Google Gen AI SDK
- Google Cloud
- Generative AI on Vertex AI
- Python
- Sample
Function calling with Gemini AI Model
The code sample demonstrates how to use the Vertex AI Generative Models to do function calling.
- Google Gen AI SDK
- Generative AI on Vertex AI
- Google Cloud
- Node JS
- JavaScript
- Go
- Sample
Generate text from a video
This sample demonstrates how to use the Gemini API to generate text from a video
- Generative AI on Vertex AI
- Google Gen AI SDK
- Google Cloud
- Python
- JavaScript
- Java
- Node JS
- C#
- Sample
Pairwise Summarization Quality Evaluation
This sample demonstrates how to evaluate two Generative AI models for their summarization quality using pairwise comparison. The evaluation uses a metric that assesses how well each model summarizes a given text.
- Google Cloud
- Generative AI on Vertex AI
- Google Gen AI SDK
- Go
- Python
- Sample
Classify sentiment in text (Generative AI)
Classify the sentiment conveyed in text as positive or negative.
- Google Cloud
- Vertex AI
- Python
- Java
- JavaScript
- C#
- Node JS
- Sample
Use function calling with Gemini using OpenAI SDK
This code sample demonstrates how to do function calling in Gemini using Chat Completions API in the OpenAI SDK.
- Generative AI on Vertex AI
- Google Gen AI SDK
- Google Cloud
- Python
- Sample
Describe an image by using Gemini and the Chat Completions API
Generate text description of an image by using the Chat Completions API, which lets you send requests to Vertex AI models by using the OpenAI libraries.
- Google Gen AI SDK
- Google Cloud
- Generative AI on Vertex AI
- Python
- Sample
Verify an image's digital watermark
By default, a digital watermark is added to any images generated by an Imagen model version that supports watermark generation. This sample demonstrates how to use the Imagen verification model to determine if an image contains this watermark.
- Generative AI on Vertex AI
- Google Cloud
- Google Gen AI SDK
- Python
- Node JS
- JavaScript
- Java
- Sample
Create a code interpreter extension
Create a code interpreter extension from the prebuilt extensions by Google.
- Google Cloud
- Generative AI on Vertex AI
- Google Gen AI SDK
- Python
- Sample
Create a training pipeline for video object tracking
Creates a training pipeline for video object tracking using the create_training_pipeline method.
- Google Cloud
- Vertex AI
- Node JS
- Java
- JavaScript
- Python
- Sample
Get a model evaluation for text sentiment analysis
Gets a model evaluation for text sentiment analysis using the get_model_evaluation method.
- Vertex AI
- Google Cloud
- Python
- Java
- Node JS
- JavaScript
- Sample
Predict for text sentiment analysis
Gets prediction for text sentiment analysis using the predict method.
- Vertex AI
- Google Cloud
- JavaScript
- Node JS
- Python
- Java
- Sample
Deploy a model for custom trained model
Deploys a model for custom trained model using the deploy_model method.
- Vertex AI
- Google Cloud
- Python
- Node JS
- Java
- JavaScript
- Sample
Get a model evaluation for text classification
Gets a model evaluation for text classification using the get_model_evaluation method.
- Google Cloud
- Vertex AI
- Node JS
- Java
- JavaScript
- Python
- Sample
Import data for video object tracking
Imports data for video object tracking using the import_data method.
- Google Cloud
- Vertex AI
- JavaScript
- Python
- Node JS
- Java
- Sample
List all prompts
This code sample demonstrates how to list all prompts in a Google Cloud Project.
- Google Gen AI SDK
- Google Cloud
- Generative AI on Vertex AI
- Python
- Sample
Tune language foundation model (Generative AI)
Tune language foundation models with a tuning dataset.
- Google Cloud
- Vertex AI
- JavaScript
- Node JS
- Sample
Get a custom job
Gets a custom job using the get_custom_job method.
- Vertex AI
- Google Cloud
- Node JS
- Python
- JavaScript
- Sample
Create a parameterized prompt template
This code sample shows how to build a parameterized prompt template to generate content with multiple variable sets.
- Google Cloud
- Google Gen AI SDK
- Generative AI on Vertex AI
- Python
- Sample
Create a data labeling job for specialist pool
Creates a data labeling job for specialist pool using the create_data_labeling_job method.
- Vertex AI
- Google Cloud
- Python
- Java
- Sample
Import RAG files from Google Drive or Cloud Storage
This sample demonstrates how to import RAG files asynchronously from Google Drive or Cloud Storage.
- Generative AI on Vertex AI
- Google Gen AI SDK
- Google Cloud
- Python
- Sample
Get a model
Gets a model using the get_model method.
- Vertex AI
- Google Cloud
- JavaScript
- Node JS
- Java
- Python
- Sample
Create a dataset
Creates a dataset using the create_dataset method.
- Vertex AI
- Google Cloud
- Java
- Python
- Node JS
- JavaScript
- Sample
Process a PDF file with Gemini
This sample shows you how to process a PDF document using Gemini.
- Google Gen AI SDK
- Google Cloud
- Generative AI on Vertex AI
- Go
- Java
- JavaScript
- Node JS
- C#
- Python
- Sample
Test chat prompts (Generative AI)
Test a text prompt using a publisher chat model.
- Google Cloud
- Vertex AI
- Java
- C#
- JavaScript
- Node JS
- Sample
Get a RAG file
This sample demonstrates how to get a RAG file.
- Generative AI on Vertex AI
- Google Gen AI SDK
- Google Cloud
- Python
- Sample
Upload a model
Uploads a model using the upload_model method.
- Google Cloud
- Vertex AI
- Python
- JavaScript
- Node JS
- Java
- Sample
Create a custom job
Creates a custom job using the create_custom_job method.
- Google Cloud
- Vertex AI
- JavaScript
- Python
- Node JS
- Java
- Sample
Delete a dataset
Deletes a dataset using the delete_dataset method.
- Vertex AI
- Google Cloud
- Node JS
- Python
- JavaScript
- Java
- Go
- Sample
Create a dataset for tabular Cloud Storage
Creates a dataset for tabular Cloud Storage using the create_dataset method.
- Google Cloud
- Vertex AI
- Java
- JavaScript
- Python
- Node JS
- Sample
Delete a training pipeline
Deletes a training pipeline using the delete_training_pipeline method.
- Google Cloud
- Vertex AI
- Python
- Java
- Sample
Upload a model for explain image managed container
Uploads a model for explain image managed container using the upload_model method.
- Google Cloud
- Vertex AI
- Python
- Sample
Get a specific extension by ID
This sample code demonstrates how to retrieve an existing extension.
- Generative AI on Vertex AI
- Google Cloud
- Google Gen AI SDK
- Python
- Sample
Create a training pipeline for text sentiment analysis
Creates a training pipeline for text sentiment analysis using the create_training_pipeline method.
- Google Cloud
- Vertex AI
- JavaScript
- Node JS
- Java
- Python
- Sample
Batch text prediction with a pre-trained model
Perform batch text prediction using a pre-trained text generation model.
- Google Cloud
- Generative AI on Vertex AI
- Google Gen AI SDK
- Node JS
- Go
- Python
- Java
- JavaScript
- Sample
Controlled generation JSON output
This code sample demonstrates how to get a response in the JSON format.
- Google Gen AI SDK
- Google Cloud
- Generative AI on Vertex AI
- Go
- C#
- Java
- Python
- Sample
List objects in an image in JSON format
Output JSON formatted text that list objects that the model can identify from a given image.
- Google Gen AI SDK
- Google Cloud
- Generative AI on Vertex AI
- Go
- Java
- C#
- Python
- Sample
Create a training pipeline for tabular forecasting
Creates a training pipeline for tabular forecasting using the create_training_pipeline method.
- Vertex AI
- Google Cloud
- Python
- Sample
Delete a model
Deletes a model using the delete_model method.
- Google Cloud
- Vertex AI
- JavaScript
- Python
- Java
- Node JS
- Sample
Evaluate text generation models using Vertex AI Gen AI evaluation service
Use the Vertex AI Gen AI evaluation service to evaluate generation models for Natural Language Processing (NLP) tasks like summarization, translation, and question answering.
- Google Cloud
- Google Gen AI SDK
- Generative AI on Vertex AI
- Python
- Go
- Sample
Generate Embeddings for Code Retrieval
This sample demonstrates how to use Vertex AI text embedding models to calculate embeddings for code blocks and queries for code retrieval tasks.
- Generative AI on Vertex AI
- Google Cloud
- Google Gen AI SDK
- Python
- Sample
Streaming text generation
This code sample demonstrates how to generate text in a streaming fashion.
- Google Gen AI SDK
- Generative AI on Vertex AI
- Google Cloud
- Python
- Sample
Create a hyperparameter tuning job for python package
Creates a hyperparameter tuning job for python package using the create_hyperparameter_tuning_job method.
- Google Cloud
- Vertex AI
- Java
- Python
- Sample
Cancel a batch prediction job
Cancels a batch prediction job using the cancel_batch_prediction_job method.
- Vertex AI
- Google Cloud
- Python
- Node JS
- Java
- JavaScript
- Sample
Evaluate a model response against a reference (ground truth) using the ROUGE metric
This code sample demonstrates how to use Vertex AI to compute ROUGE metrics for evaluating text summarization models. It shows how to define an evaluation task and calculate ROUGE scores for multiple generated summaries against a reference summary.
- Generative AI on Vertex AI
- Google Gen AI SDK
- Google Cloud
- Go
- Python
- Sample
Create a dataset for video
Creates a dataset for video using the create_dataset method.
- Vertex AI
- Google Cloud
- Node JS
- Java
- Terraform
- Python
- JavaScript
- Sample
Cancel a training pipeline
Cancels a training pipeline using the cancel_training_pipeline method.
- Google Cloud
- Vertex AI
- Java
- Python
- Sample
Extract information from text (Generative AI)
Extract information from text using a publisher text model.
- Google Cloud
- Vertex AI
- Java
- Python
- JavaScript
- Node JS
- C#
- Sample
Create a data labeling job for active learning
Creates a data labeling job for active learning using the create_data_labeling_job method.
- Vertex AI
- Google Cloud
- Java
- Python
- Sample
Load or retrieve a prompt
This sample demonstrates how to load or retrieve a prompt that has been saved to the online resource.
- Generative AI on Vertex AI
- Google Gen AI SDK
- Google Cloud
- Python
- Sample
Use the quickstart to get familiar with RAG
This quickstart demonstrates how to use the RAG API.
- Generative AI on Vertex AI
- Google Gen AI SDK
- Google Cloud
- Python
- Sample
Predict for image object detection
Gets prediction for image object detection using the predict method.
- Vertex AI
- Google Cloud
- Node JS
- Python
- JavaScript
- Java
- Sample
Specify controlled generation enum values in a JSON schema
Specify the list of response enum values in a JSON schema. The model selects an enum value from a list values that are defined in the schema.
- Google Cloud
- Google Gen AI SDK
- Generative AI on Vertex AI
- Go
- Python
- Sample
Delete a batch prediction job
Deletes a batch prediction job using the delete_batch_prediction_job method.
- Google Cloud
- Vertex AI
- Python
- Node JS
- Java
- JavaScript
- Sample
Generate responses using the RAG file
This sample demonstrates how to generate the content using a RAG file.
- Google Gen AI SDK
- Google Cloud
- Generative AI on Vertex AI
- Python
- Sample
Delete a prompt
This code sample demonstrates how to delete the specified prompt.
- Generative AI on Vertex AI
- Google Cloud
- Google Gen AI SDK
- Python
- Sample
List available prompt versions
This code sample demonstrates how to list all versions of a prompt.
- Google Gen AI SDK
- Generative AI on Vertex AI
- Google Cloud
- Python
- Sample
Fine-tune Gemini using custom settings for advanced use cases
Tune a Generative AI model using Vertex AI Supervised Fine-tuning with advanced parameters.
- Google Gen AI SDK
- Google Cloud
- Generative AI on Vertex AI
- Python
- Sample
Export a model for video action recognition
Exports a model for video action recognition using the export_model method.
- Vertex AI
- Google Cloud
- Python
- Java
- Sample
Create a batch prediction job for video action recognition
Creates a batch prediction job for video action recognition using the create_batch_prediction_job method.
- Google Cloud
- Vertex AI
- Python
- Node JS
- Java
- JavaScript
- Sample
Build, test, and deploy a custom app on Reasoning Engine
This sample demonstrates how to build, test, and deploy a custom app on Reasoning Engine. It includes a local test of the app and the steps to deploy the app on the Reasoning Engine.
- Google Gen AI SDK
- Google Cloud
- Generative AI on Vertex AI
- Python
- Sample
Test text prompts (Generative AI)
Test a test prompt to generate ideas using a publisher text model.
- Vertex AI
- Google Cloud
- C#
- Node JS
- Java
- JavaScript
- Ruby
- Sample
Add image content using mask-based inpainting with Imagen
This sample demonstrates how to use the Imagen model for mask-based image editing. Specify a targeted mask area in which to add image content.
- Generative AI on Vertex AI
- Google Cloud
- Google Gen AI SDK
- Java
- Node JS
- Python
- JavaScript
- Sample
Describe a video
This code sample shows how to use Gemini to generate text descriptions for a video.
- Generative AI on Vertex AI
- Google Gen AI SDK
- Google Cloud
- Python
- Sample
Count tokens in a prompt
This sample demonstrates how to count the number of tokens in a prompt using the Vertex AI Gemini API.
- Generative AI on Vertex AI
- Google Cloud
- Google Gen AI SDK
- Go
- C#
- Node JS
- Python
- JavaScript
- Java
- Sample
Evaluate model performance
This sample code demonstrates how to evaluate the performance of a GenAI model. It showcases how to define the evaluation specification, evaluate the model, and retrieve the evaluation metrics.
- Google Gen AI SDK
- Generative AI on Vertex AI
- Google Cloud
- Python
- Sample
Cancel a data labeling job
Cancels a data labeling job using the cancel_data_labeling_job method.
- Google Cloud
- Vertex AI
- Python
- Java
- Sample
Deploy a model
Deploys a model using the deploy_model method.
- Google Cloud
- Vertex AI
- Python
- Java
- Node JS
- JavaScript
- Sample
Get a model evaluation for video object tracking
Gets a model evaluation for video object tracking using the get_model_evaluation method.
- Google Cloud
- Vertex AI
- Node JS
- JavaScript
- Python
- Sample
Predict for image classification
Gets prediction for image classification using the predict method.
- Vertex AI
- Google Cloud
- Node JS
- Python
- Java
- JavaScript
- Sample
Delete a Reasoning Engine
This Python code sample demonstrates how to delete a Reasoning Engine.
- Google Gen AI SDK
- Generative AI on Vertex AI
- Google Cloud
- Python
- Sample
Get a model evaluation for tabular classification
Gets a model evaluation for tabular classification using the get_model_evaluation method.
- Google Cloud
- Vertex AI
- Java
- JavaScript
- Python
- Node JS
- Sample
Get Reasoning Engine by ID
This sample demonstrates how to retrieve a Reasoning Engine resource by its ID.
- Google Cloud
- Generative AI on Vertex AI
- Google Gen AI SDK
- Python
- Sample
Generate content with function calls
Generate content with function calls. This example demonstrates a text modality scenario with one function and one prompt.
- Google Cloud
- Generative AI on Vertex AI
- Google Gen AI SDK
- C#
- Python
- Go
- Java
- Sample
Import a set of RAG files
This sample demonstrates how to import RAG files from a storage location.
- Google Cloud
- Generative AI on Vertex AI
- Google Gen AI SDK
- Python
- Sample
Get context cache
Get information about a specific context cache, such as its creation time and expiration time.
- Google Gen AI SDK
- Google Cloud
- Generative AI on Vertex AI
- C#
- Go
- Python
- Sample
Create a data labeling job
Creates a data labeling job using the create_data_labeling_job method.
- Vertex AI
- Google Cloud
- Python
- Java
- Sample
Generate text responses using Gemini API with external function calls in a chat scenario
Generate text responses using Gemini API with external function calls. This example demonstrates a chat scenario with two functions and two sequential prompts.
- Generative AI on Vertex AI
- Google Cloud
- Google Gen AI SDK
- JavaScript
- Python
- Node JS
- Sample
Delete an extension
This code sample demonstrates how to delete an extension.
- Google Cloud
- Google Gen AI SDK
- Generative AI on Vertex AI
- Python
- Sample
Generate Embeddings from text using Batch processing
The code sample showcases how to use a pre-trained model to batch generate embeddings for a list of text inputs, and store them in a specified location.
- Google Gen AI SDK
- Generative AI on Vertex AI
- Google Cloud
- JavaScript
- Node JS
- Java
- Python
- Sample
Generate text from a video
This sample demonstrates how to use the Gemini API to generate text from a video.
- Vertex AI
- Google Cloud
- Go
- Sample
Predict for text classification single label
Gets prediction for text classification single label using the predict method.
- Vertex AI
- Google Cloud
- Python
- Sample
List all Extensions in Vertex AI
The sample code retrieves a list of all extensions within the specified project and location.
- Google Gen AI SDK
- Google Cloud
- Generative AI on Vertex AI
- Python
- Sample
Import data for text entity extraction
Imports data for text entity extraction using the import_data method.
- Google Cloud
- Vertex AI
- JavaScript
- Node JS
- Java
- Python
- Sample
Create a dataset for text
Creates a dataset for text using the create_dataset method.
- Vertex AI
- Google Cloud
- Python
- Terraform
- JavaScript
- Java
- Node JS
- Sample
Generate text from an image
This sample demonstrates how to use the Gemini model to generate text from an image. The model is a large-scale transformer-based language model that can generate coherent and informative text.
- Vertex AI
- Google Cloud
- Go
- Sample
Create a batch prediction job for text entity extraction
Creates a batch prediction job for text entity extraction using the create_batch_prediction_job method.
- Vertex AI
- Google Cloud
- JavaScript
- Java
- Python
- Node JS
- Sample
Create an endpoint
Creates an endpoint using the create_endpoint method.
- Google Cloud
- Vertex AI
- Node JS
- Terraform
- Java
- Python
- JavaScript
- Sample
Predict for tabular classification
Gets prediction for tabular classification using the predict method.
- Vertex AI
- Google Cloud
- Java
- JavaScript
- Python
- Node JS
- Sample
Generate content stream with Multimodal AI Model
The code sample demonstrates how to use Generative AI Models to generate text in a streaming format based on a combination of video, image, and text inputs.
- Google Cloud
- Google Gen AI SDK
- Generative AI on Vertex AI
- Java
- Python
- Go
- JavaScript
- Node JS
- Sample
Count tokens for Gemini
The code sample demonstrates how to use the Vertex AI Generative Models API to count the number of tokens in a prompt and generate content using the Gemini model.
- Google Cloud
- Generative AI on Vertex AI
- Google Gen AI SDK
- Go
- Python
- Sample
Generate content from multimodal data using Generative AI
This sample demonstrates the capability to generate content from a combination of text, image, and video.
- Generative AI on Vertex AI
- Google Cloud
- Google Gen AI SDK
- Python
- Java
- JavaScript
- Node JS
- Sample
Remove image content using automatic mask detection and inpainting with Imagen
This sample demonstrates how to use the Imagen model for mask-free image editing. Imagen automatically detects and creates a mask area in which to remove image content.
- Generative AI on Vertex AI
- Google Gen AI SDK
- Google Cloud
- Python
- Sample
Generate text by using a Claude model from Anthropic
Use the Anthropic Vertex AI SDK to send a prompt to an Anthropic Claude model and then display the generated text.
- Generative AI on Vertex AI
- Google Cloud
- Google Gen AI SDK
- Python
- Sample
Create an embedding using Generative AI on Vertex AI
Use Generative AI to build an embedding
- Generative AI on Vertex AI
- Google Cloud
- Google Gen AI SDK
- JavaScript
- Node JS
- Java
- Sample
Get a model evaluation for video action recognition
Gets a model evaluation for video action recognition using the get_model_evaluation method.
- Vertex AI
- Google Cloud
- Node JS
- JavaScript
- Java
- Python
- Sample
Get a training pipeline
Gets a training pipeline using the get_training_pipeline method.
- Vertex AI
- Google Cloud
- Python
- JavaScript
- Node JS
- Java
- Sample
Create a training pipeline for text entity extraction
Creates a training pipeline for text entity extraction using the create_training_pipeline method.
- Google Cloud
- Vertex AI
- JavaScript
- Node JS
- Python
- Java
- Sample
Ground Gemini model responses to Google Search
Use this to ground Gemini model output to Google Search results
- Google Gen AI SDK
- Generative AI on Vertex AI
- Google Cloud
- C#
- Python
- Sample
List all Reasoning Engine instances
This code sample demonstrates how to list all Reasoning Engine instances within your project.
- Google Cloud
- Generative AI on Vertex AI
- Google Gen AI SDK
- Python
- Sample
Interactive text generation with a chatbot
This sample demonstrates how to use the Gemini model to generate text interactively.
- Generative AI on Vertex AI
- Google Cloud
- Google Gen AI SDK
- Go
- C#
- Java
- Python
- Sample
Configure Gemini model parameters
Generates text from an image using the Gemini model and returns the generated text. This example demonstrates how to set model configuration parameters.
- Google Cloud
- Google Gen AI SDK
- Generative AI on Vertex AI
- Python
- Sample
Controlled generation JSON output with null values
Allow the model to output null responses when it doesn't have enough context to generate a meaningful response.
- Generative AI on Vertex AI
- Google Cloud
- Google Gen AI SDK
- Java
- Python
- C#
- Go
- Sample
Generate text with Gemma2 model with GPU accelerators
This code sample demonstrates how to run interference on a Gemma2 model deployed to a Vertex AI endpoint with GPU accelerators.
- Generative AI on Vertex AI
- Google Gen AI SDK
- Google Cloud
- Java
- JavaScript
- Python
- Go
- Node JS
- Sample
Query a Reasoning Engine
This sample demonstrates how to send a query to a Reasoning Engine instance.
- Generative AI on Vertex AI
- Google Gen AI SDK
- Google Cloud
- Python
- Sample
Controlled generation JSON output with predefined schema
This code sample demonstrates how to use the `response_mime_type` and `response_schema` parameters to get a response that follows the JSON format and schema that you've defined.
- Google Cloud
- Generative AI on Vertex AI
- Google Gen AI SDK
- Python
- Go
- Java
- C#
- Sample
Get a model evaluation for video classification
Gets a model evaluation for video classification using the get_model_evaluation method.
- Vertex AI
- Google Cloud
- Java
- Node JS
- JavaScript
- Python
- Sample
Generate text by using Gemini and the Chat Completions API
Generate text by using the Chat Completions API, which lets you send requests to Vertex AI models by using the OpenAI libraries.
- Generative AI on Vertex AI
- Google Gen AI SDK
- Google Cloud
- Python
- Sample
Get a model evaluation
Gets a model evaluation using the get_model_evaluation method.
- Google Cloud
- Vertex AI
- Node JS
- JavaScript
- Python
- Java
- Sample
Create a multi-turn non-streaming conversation with Vertex AI
Sample demonstrating how to set-up the Vertex AI SDK and create a non-streaming conversation with three consecutive messages sent to the model.
- Vertex AI
- Google Cloud
- JavaScript
- Node JS
- Sample
Import data for text sentiment analysis
Imports data for text sentiment analysis using the import_data method.
- Google Cloud
- Vertex AI
- Node JS
- JavaScript
- Python
- Java
- Sample
Generate text with Gemma2 model with TPU accelerators
This code sample demonstrates how to run interference on a Gemma2 model deployed to a Vertex AI endpoint with TPU accelerators.
- Generative AI on Vertex AI
- Google Cloud
- Google Gen AI SDK
- JavaScript
- Go
- Node JS
- Java
- Python
- Sample
Create an index
This sample demonstrates how to create an index to import or upload documents.
- Google Gen AI SDK
- Generative AI on Vertex AI
- Google Cloud
- Python
- Sample
Create a context cache
Create a context cache to reduce costs with repeated requests that contain the same token count input.
- Google Gen AI SDK
- Generative AI on Vertex AI
- Google Cloud
- Python
- C#
- Go
- Sample
Summarize an audio file with Gemini 1.5 Pro
This sample shows you how to use an audio file to summarize a podcast. This sample works with Gemini 1.5 Pro only.
- Google Cloud
- Google Gen AI SDK
- Generative AI on Vertex AI
- Java
- Node JS
- Go
- Python
- C#
- JavaScript
- Sample
Get the token count and billable characters for a request
The Count Tokens API returns the token count and billable characters of a request.
- Google Cloud
- Generative AI on Vertex AI
- Google Gen AI SDK
- Python
- Sample
Create a training pipeline for image object detection
Creates a training pipeline for image object detection using the create_training_pipeline method.
- Google Cloud
- Vertex AI
- JavaScript
- Java
- Python
- Node JS
- Sample
Predict for text entity extraction
Gets prediction for text entity extraction using the predict method.
- Google Cloud
- Vertex AI
- JavaScript
- Python
- Java
- Node JS
- Sample
Use Gemini to summarize PDF files
This sample demonstrates how to use Gemini to generate a summary of a PDF file.
- Google Cloud
- Generative AI on Vertex AI
- Google Gen AI SDK
- Python
- Sample
Build, test, and deploy a Langchain chatbot on Reasoning Engine
This sample demonstrates how to build, test, and deploy a Langchain chatbot on Reasoning Engine.
- Google Gen AI SDK
- Google Cloud
- Generative AI on Vertex AI
- Python
- Sample
Get a model evaluation for image classification
Gets a model evaluation for image classification using the get_model_evaluation method.
- Vertex AI
- Google Cloud
- Node JS
- Java
- Python
- JavaScript
- Sample
Import data
Imports data using the import_data method.
- Google Cloud
- Vertex AI
- Node JS
- Python
- JavaScript
- Sample
Export a model for tabular classification
Exports a model for tabular classification using the export_model method.
- Vertex AI
- Google Cloud
- Node JS
- Java
- Python
- JavaScript
- Sample
Restore a version of a prompt
This sample demonstrates how to restore a specific version of the specified prompt.
- Google Gen AI SDK
- Google Cloud
- Generative AI on Vertex AI
- Python
- Sample
Get a model evaluation slice
Gets a model evaluation slice using the get_model_evaluation_slice method.
- Google Cloud
- Vertex AI
- Python
- Java
- Node JS
- JavaScript
- Sample
Create a training pipeline for image classification
Creates a training pipeline for image classification using the create_training_pipeline method.
- Google Cloud
- Vertex AI
- Python
- JavaScript
- Java
- Node JS
- Sample
Get a model evaluation for tabular regression
Gets a model evaluation for tabular regression using the get_model_evaluation method.
- Vertex AI
- Google Cloud
- Java
- Python
- JavaScript
- Node JS
- Sample
Return the response from the LLM
This sample demonstrates how to run a retrieval query to get a response from the LLM.
- Generative AI on Vertex AI
- Google Cloud
- Google Gen AI SDK
- Python
- Sample
Import data for text classification single label
Imports data for text classification single label using the import_data method.
- Google Cloud
- Vertex AI
- Node JS
- Java
- Python
- JavaScript
- Sample
Cancel a custom job
Cancels a custom job using the cancel_custom_job method.
- Google Cloud
- Vertex AI
- Node JS
- Python
- JavaScript
- Sample
Create prompts to generate code (Generative AI)
Create prompts that work with a publisher code model to generate code for a function.
- Vertex AI
- Google Cloud
- Java
- C#
- JavaScript
- Node JS
- Sample
Predict for tabular regression
Gets prediction for tabular regression using the predict method.
- Google Cloud
- Vertex AI
- Python
- JavaScript
- Node JS
- Java
- Sample
Generate Text With a Generative Model
This sample demonstrates how to use a Generative Model to generate text.
- Google Gen AI SDK
- Generative AI on Vertex AI
- Google Cloud
- JavaScript
- Python
- Java
- Node JS
- Sample
Function calling with Gemini AI Model
The code sample demonstrates how to use the Vertex AI Generative Models to do function calling.
- Google Cloud
- Generative AI on Vertex AI
- Google Gen AI SDK
- Python
- Sample
Interactive text stream generation with a chatbot
This sample demonstrates how to use the Gemini model to generate text stream interactively.
- Generative AI on Vertex AI
- Google Gen AI SDK
- Google Cloud
- Python
- Node JS
- JavaScript
- Sample
Generate text from an image
This sample demonstrates how to use the Gemini model to generate text from an image.
- Google Cloud
- Google Gen AI SDK
- Generative AI on Vertex AI
- Node JS
- C++
- Java
- JavaScript
- Python
- Sample
Describe an image
This code sample shows how to use Gemini to generate text descriptions for an image.
- Google Cloud
- Generative AI on Vertex AI
- Google Gen AI SDK
- Python
- Sample
Create a data labeling job for video
Creates a data labeling job for video using the create_data_labeling_job method.
- Google Cloud
- Vertex AI
- Python
- Java
- Sample
Create a training pipeline for video action recognition
Creates a training pipeline for video action recognition using the create_training_pipeline method.
- Google Cloud
- Vertex AI
- Java
- Python
- Node JS
- JavaScript
- Sample
Ground Gemini to a Vertex AI Search data store
Use this to ground Gemini output to your own data stored in a Vertex AI Search data store
- Google Cloud
- Generative AI on Vertex AI
- Google Gen AI SDK
- C#
- Python
- Sample
Execute a Extension in Vertex AI
This code sample demonstrates how to execute an extension.
- Google Cloud
- Google Gen AI SDK
- Generative AI on Vertex AI
- Python
- Sample
Generate embeddings for Images, Videos and Text
This code sample shows how to use the multimodal model to generate embeddings for image, text and video data.
- Generative AI on Vertex AI
- Google Cloud
- Google Gen AI SDK
- Go
- Python
- Sample
Batch text prediction with Gemini model
Perform batch text prediction using Gemini model and returns the output location.
- Google Cloud
- Google Gen AI SDK
- Generative AI on Vertex AI
- Python
- Go
- Sample
Create a data labeling job for images
Creates a data labeling job for images using the create_data_labeling_job method.
- Vertex AI
- Google Cloud
- Python
- Sample
Generate text from an image with safety settings
This sample demonstrates how to use the Gemini model with safety settings to generate text from an image.
- Google Gen AI SDK
- Generative AI on Vertex AI
- Google Cloud
- C#
- Python
- Go
- Node JS
- Java
- JavaScript
- Sample
Cancel a Supervised Tuning Job in Vertex AI
This sample code demonstrates how to cancel an existing tuning job in Vertex AI.
- Google Gen AI SDK
- Generative AI on Vertex AI
- Google Cloud
- Python
- Sample
Expand image content using mask-based outpainting with Imagen
This sample demonstrates how to use the Imagen model for mask-based image editing. Specify a targeted mask area in which to expand the content of a base image to fit a larger or differently sized canvas.
- Generative AI on Vertex AI
- Google Gen AI SDK
- Google Cloud
- Java
- Python
- Node JS
- JavaScript
- Sample
Specify Embedding dimension for multimodal input
This code sample shows how to specify a lower embedding dimension for text and image inputs.
- Generative AI on Vertex AI
- Google Cloud
- Google Gen AI SDK
- Go
- Python
- Sample
Generate an image from text
This sample demonstrates how to use the Imagen model to generate an image from text.
- Google Cloud
- Generative AI on Vertex AI
- Google Gen AI SDK
- C#
- JavaScript
- Python
- Node JS
- Java
- Sample
Create a training pipeline for tabular classification
Creates a training pipeline for tabular classification using the create_training_pipeline method.
- Google Cloud
- Vertex AI
- Node JS
- JavaScript
- Python
- Java
- Sample
Create a batch prediction job
Creates a batch prediction job using the create_batch_prediction_job method.
- Google Cloud
- Vertex AI
- Java
- Python
- Sample
Use Gemini to summarize YouTube videos
This sample demonstrates how to use Gemini to summarize YouTube videos.
- Google Cloud
- Generative AI on Vertex AI
- Google Gen AI SDK
- Python
- Sample
Create a dataset for tabular BigQuery
Creates a dataset for tabular BigQuery using the create_dataset method.
- Vertex AI
- Google Cloud
- Python
- JavaScript
- Node JS
- Java
- Sample
Get video embeddings from a video segment
This code sample demonstrates how to extract video embeddings from a specific segment of a video using the MultiModal Embedding model.
- Google Gen AI SDK
- Generative AI on Vertex AI
- Google Cloud
- Go
- Python
- Sample
Get a hyperparameter tuning job
Gets a hyperparameter tuning job using the get_hyperparameter_tuning_job method.
- Google Cloud
- Vertex AI
- Java
- JavaScript
- Python
- Node JS
- Sample
Controlled generation JSON output with enum
Output JSON formatted object with an enum value, given a description of the object and a list of values to choose from.
- Google Cloud
- Generative AI on Vertex AI
- Google Gen AI SDK
- Python
- Java
- C#
- Go
- Sample
Create a batch prediction job for video classification
Creates a batch prediction job for video classification using the create_batch_prediction_job method.
- Vertex AI
- Google Cloud
- Java
- JavaScript
- Python
- Node JS
- Sample
Set system instructions to Gemini 1.5 Pro
This sample shows you how to set system instructions to Gemini 1.5 Pro.
- Google Gen AI SDK
- Google Cloud
- Generative AI on Vertex AI
- Go
- C#
- JavaScript
- Python
- Node JS
- Java
- Sample
Generate text from an image
Prompt the Gemini model with an image and a text prompt, and returns the generated text.
- Google Gen AI SDK
- Google Cloud
- Generative AI on Vertex AI
- Python
- Go
- Java
- Sample
Specify a MIME response type for the Gemini API
Specify a MIME response type for the Gemini API so that the generated response is compliant with that type.
- Google Gen AI SDK
- Generative AI on Vertex AI
- Google Cloud
- C#
- Go
- Java
- Python
- Sample
Create a batch prediction job for text classification
Creates a batch prediction job for text classification using the create_batch_prediction_job method.
- Vertex AI
- Google Cloud
- Python
- Node JS
- Java
- JavaScript
- Sample
Create a training pipeline for text classification
Creates a training pipeline for text classification using the create_training_pipeline method.
- Google Cloud
- Vertex AI
- Python
- Java
- JavaScript
- Node JS
- Sample
Transcript an audio file with Gemini 1.5 Pro
This sample shows you how to use an audio file to generate a podcast transcript with timestamps. This sample works with Gemini 1.5 Pro only.
- Generative AI on Vertex AI
- Google Cloud
- Google Gen AI SDK
- Python
- Node JS
- Java
- C#
- JavaScript
- Go
- Sample
Delete a custom job
Deletes a custom job using the delete_custom_job method.
- Google Cloud
- Vertex AI
- JavaScript
- Python
- Node JS
- Sample
Delete a RAG file from an index
This sample demonstrates how to delete a RAG file from an index.
- Google Cloud
- Generative AI on Vertex AI
- Google Gen AI SDK
- Python
- Sample
Edit image content using a mask with Imagen v.002
This sample demonstrates how to use the Imagen model for mask-based image editing. Specify a targeted mask area and specify the edits using a text prompt.
- Generative AI on Vertex AI
- Google Gen AI SDK
- Google Cloud
- Python
- Sample
List Cached Content Items
This code sample demonstrates how to list all cached content items for a given project and location.
- Generative AI on Vertex AI
- Google Cloud
- Google Gen AI SDK
- Python
- Go
- Sample
Parallel function calling
This code sample shows how to execute multiple function calls in parallel and return their results to the model for generating a complete response.
- Generative AI on Vertex AI
- Google Gen AI SDK
- Google Cloud
- Python
- Go
- Sample
Use function calling with Anthropic to enhance the capabilities of Claude
Use function calling with Anthropic Claude to query external tools, such as the Google Places API. The sample calls the Text Search Places API directly from your Claude prompt to retrieve information about places based on a user's query.
- Google Gen AI SDK
- Generative AI on Vertex AI
- Google Cloud
- Python
- Sample
Batch Predict with Gemini using GCS data
Perform batch text prediction with Gemini using GCS data source as input.
- Generative AI on Vertex AI
- Google Cloud
- Google Gen AI SDK
- Java
- Node JS
- JavaScript
- Sample
Optimize prompts for text generation with Vertex AI
This sample demonstrates how to use the Vertex AI Prompt Optimizer to optimize prompts for a text generation model.
- Google Cloud
- Google Gen AI SDK
- Generative AI on Vertex AI
- Python
- Sample
Create a training pipeline for custom job
Creates a training pipeline for custom job using the create_training_pipeline method.
- Google Cloud
- Vertex AI
- Python
- Java
- Sample
Delete a hyperparameter tuning job
Deletes a hyperparameter tuning job using the delete_hyperparameter_tuning_job method.
- Vertex AI
- Google Cloud
- Python
- Sample
Get a model evaluation for text entity extraction
Gets a model evaluation for text entity extraction using the get_model_evaluation method.
- Google Cloud
- Vertex AI
- Python
- JavaScript
- Node JS
- Java
- Sample
Generate text using Generative AI Model
This code sample demonstrates how to use Generative AI model to generate content for a given text input
- Google Gen AI SDK
- Generative AI on Vertex AI
- Google Cloud
- C++
- Node JS
- Python
- C#
- Java
- JavaScript
- Go
- Sample
Delete context cache
Delete a specific context cache that's no longer used.
- Google Cloud
- Google Gen AI SDK
- Generative AI on Vertex AI
- Python
- C#
- Go
- Sample
Code completion
Use the Code Completions API to complete code based on comments or partially written code with low latency.
- Google Gen AI SDK
- Generative AI on Vertex AI
- Google Cloud
- Java
- Node JS
- JavaScript
- Python
- Sample
Use Gemini to identify key moments in YouTube videos
This code sample demonstrates how to use Gemini to identify key moments in YouTube videos. It takes a YouTube video URL as input and returns a list of key moments along with their timestamps.
- Google Gen AI SDK
- Google Cloud
- Generative AI on Vertex AI
- Python
- Sample
Delete an endpoint
Deletes an endpoint using the delete_endpoint method.
- Google Cloud
- Vertex AI
- JavaScript
- Python
- Java
- Node JS
- Sample
Import data for image classification single label
Imports data for image classification single label using the import_data method.
- Google Cloud
- Vertex AI
- Python
- Sample
Update context cache expiration
Extend the expiration date of a context cache so that the cache can continue to be used.
- Google Gen AI SDK
- Generative AI on Vertex AI
- Google Cloud
- C#
- Go
- Python
- Sample
Summarize a video file with audio with Gemini 1.5 Pro
This sample shows you how to summarize a video file with audio and return chapters with timestamps. This sample works with Gemini 1.5 Pro only.
- Generative AI on Vertex AI
- Google Cloud
- Google Gen AI SDK
- Python
- C++
- Node JS
- Java
- C#
- JavaScript
- Go
- Sample
Predict for custom trained model
Gets prediction for custom trained model using the predict method.
- Google Cloud
- Vertex AI
- Java
- Node JS
- Python
- JavaScript
- Sample
Create prompts to chat about code (Generative AI)
Create prompts to work with a publisher code chat model to have a chatbot conversation about code.
- Google Cloud
- Vertex AI
- JavaScript
- Java
- Node JS
- C#
- Sample
Create a hyperparameter tuning job
Creates a hyperparameter tuning job using the create_hyperparameter_tuning_job method.
- Vertex AI
- Google Cloud
- Java
- Node JS
- Python
- JavaScript
- Sample
Create a batch prediction job for text sentiment analysis
Creates a batch prediction job for text sentiment analysis using the create_batch_prediction_job method.
- Vertex AI
- Google Cloud
- Node JS
- JavaScript
- Python
- Java
- Sample
Create a batch prediction job for BigQuery
Creates a batch prediction job for BigQuery using the create_batch_prediction_job method.
- Google Cloud
- Vertex AI
- Python
- Java
- Sample
Generate streaming text by using a Claude model from Anthropic
Use the Anthropic Vertex AI SDK to send a prompt to an Anthropic Claude model and then output the streaming text.
- Google Cloud
- Google Gen AI SDK
- Generative AI on Vertex AI
- Python
- Sample
Generate text embedding
This code sample demonstrates how to embed text with a pre-trained, foundational model.
- Generative AI on Vertex AI
- Google Gen AI SDK
- Google Cloud
- Python
- Sample
Classify text with a large language model (Generative AI)
Perform classification tasks that assign a class or category to text. You can specify a list of categories to choose from or let the model choose from its own categories.
- Google Cloud
- Vertex AI
- Java
- JavaScript
- C#
- Node JS
- Sample
Count and Compute Tokens
This code sample demonstrates how to get token count and compute tokens for a text prompt.
- Google Cloud
- Google Gen AI SDK
- Generative AI on Vertex AI
- Python
- Sample
Generate streaming text to describe an image by using the Chat Completions API
Generate streaming text to describe an image by using the Chat Completions API, which lets you send requests to Vertex AI models by using the OpenAI libraries.
- Generative AI on Vertex AI
- Google Cloud
- Google Gen AI SDK
- Python
- Sample
Tune language foundation model (Generative AI)
Tune language foundation models with a tuning dataset.
- Google Cloud
- Vertex AI
- Java
- Sample
Create prompts for test function code completion (Generative AI)
Create prompts to work with a publisher code model to create test function code completion suggestions.
- Vertex AI
- Google Cloud
- C#
- JavaScript
- Java
- Python
- Node JS
- Sample
Create prompts to generate unit tests (Generative AI)
Create prompts that work with a publisher chat model to generate unit tests.
- Google Cloud
- Vertex AI
- Node JS
- JavaScript
- Java
- Python
- C#
- Sample
Prompt Design - Best Practices
Master prompt engineering best practices to improve the quality of your large language model responses.
- Generative AI on Vertex AI
- Python
- Notebook
Getting Started with Grounding with Gemini in Vertex AI
Generate content grounded in your own documents and data using Vertex AI's generative text models.
- Generative AI on Vertex AI
- Python
- Notebook
Intro to Batch Predictions with the Gemini API using BigQuery input
Process large batches of multimodal requests asynchronously using the Gemini API in Vertex AI for offline model predictions.
- Generative AI on Vertex AI
- Python
- Notebook
Intro to Function Calling with the Gemini API & Python SDK
Use Gemini, Google DeepMind's multimodal generative AI model, to call functions by describing them in code and receiving matching function names in the response.
- Generative AI on Vertex AI
- Python
- Notebook
Intro to Gemini 2.0 Pro
Learn how to use Google's Gemini 2.0 Pro for coding and general knowledge tasks.
- Generative AI on Vertex AI
- Python
- Notebook
Introduction to Long Context Window with Gemini on Vertex AI
Explore the expanded context window capabilities of Gemini 1.5 LLMs for improved performance in various applications.
- Generative AI on Vertex AI
- Python
- Notebook
Intro to Gemini 2.0 Flash-Lite
Explore Gemini 2.0 Flash-Lite, a fast and cost-effective flash model, through an introductory YouTube video.
- Generative AI on Vertex AI
- Python
- Notebook
Intro to Batch Predictions with the Gemini API
Process large batches of multimodal requests asynchronously using the Gemini API in Vertex AI for offline model predictions.
- Generative AI on Vertex AI
- Python
- Notebook
Intro to Context Caching with the Gemini API
Use the Gemini API's context caching feature to store and reuse input tokens, thereby reducing redundant requests and improving efficiency.
- Generative AI on Vertex AI
- Python
- Notebook
Responsible AI with Gemini API in Vertex AI: Safety ratings and thresholds
Explore the capabilities and limitations of large language models.
- Generative AI on Vertex AI
- Python
- Notebook
Intro to Controlled Generation with the Gemini API
Explore Google DeepMind's Gemini, a family of generative AI models enabling controlled generation of structured or unstructured data for various applications.
- Generative AI on Vertex AI
- Python
- Notebook
Llama-3.1-8B model deployment to GKE using GPU
Deploy and serve Llama open models from Google DeepMind using Text Generation Inference on various GPU types for improved throughput.
- Generative AI on Vertex AI
- Vertex AI
- Python
- Notebook
Spatial understanding with Gemini 2.0
Learn object detection and spatial understanding using the Gemini API in Vertex AI.
- Generative AI on Vertex AI
- Python
- Notebook
Mistral models deployment to GKE using GPU
Deploy and serve the Mistral large language model using Google DeepMind's Text Generation Inference on various GPU types.
- Generative AI on Vertex AI
- Vertex AI
- Python
- Notebook
Evaluate your autorater with meta-evaluation
Assess the effectiveness of your large language model evaluator using meta-evaluation techniques to build a reliable task-specific evaluation framework.
- Generative AI on Vertex AI
- Python
- Notebook
Imagen 3 Image Generation
Generate high-quality images from text descriptions using Google's Imagen 3 model on Vertex AI.
- Generative AI on Vertex AI
- Python
- Notebook
Build and deploy a Hugging Face smolagent using DeepSeek-r1 on Vertex AI
Explore DeepSeek-R1 and its distilled models for advanced reasoning tasks.
- Generative AI on Vertex AI
- Python
- Notebook
Update Feature Monitor, Feature Group IAM, and Feature Group Service Agent
Configure and manage Vertex AI Feature Store feature groups, features, and monitors using service accounts.
- Vertex AI
- Python
- Notebook
Intro to Google Agentspace
Use Google Agentspace to centrally search and manage enterprise information using AI-powered agents.
- Generative AI on Vertex AI
- Python
- Notebook
Vertex AI Model Garden - Advanced Features
Optimize machine learning models to achieve optimal cost, throughput, and latency based on individual customer needs.
- Generative AI on Vertex AI
- Vertex AI
- Python
- Notebook
Imagen 3 Image Editing
Generate high-quality images from text descriptions using Google's Imagen 3 model on Vertex AI.
- Generative AI on Vertex AI
- Python
- Notebook
Create High Quality Visual Assets with Imagen and Gemini
Generate high-quality images from text descriptions using Imagen on Vertex AI.
- Generative AI on Vertex AI
- Python
- Notebook
Vertex AI Model Garden - Phi-4 (Deployment)
Deploy pre-built Phi-4 models using vLLM and HexLLM on Google Cloud Vertex AI to enhance serving throughput.
- Generative AI on Vertex AI
- Vertex AI
- Python
- Notebook
Handling large-scale embedding generation for Vertex AI Vector Search
Generate text and multimodal embeddings for large datasets using the Vertex AI Embeddings API and Vector Search.
- Generative AI on Vertex AI
- Python
- Notebook
Vertex AI Model Garden - TranslationLLM Translation and Evaluation (Demo)
Use the Vertex AI Python SDK and Gen AI Evaluation Service to generate and evaluate translations, measuring quality with BLEU, MetricX, and COMET.
- Vertex AI
- Generative AI on Vertex AI
- Python
- Notebook
BigQuery DataFrames ML: Prescription Drug Name Generation
Generate creative brand names for pharmaceutical drugs using AI.
- Generative AI on Vertex AI
- Python
- Notebook
Vertex AI Model Garden - PaliGemma 2 (Deployment)
Deploy the PaLiGemma 2 vision-language model to a Vertex AI endpoint and use it to perform vision question answering tasks.
- Vertex AI
- Generative AI on Vertex AI
- Python
- Notebook
Hugging Face DLCs: Serving Gemma 2 with multiple LoRA adapters with Text Generation Inference (TGI) on Vertex AI
Use pre-built, optimized deep learning containers to simplify the configuration of lightweight, state-of-the-art open Gemini family models.
- Generative AI on Vertex AI
- Python
- Notebook
Cloud Run GPU Inference: Gemma 2 RAG Q&A with Ollama and LangChain
Explore GPU-accelerated AI/ML workloads on Google Cloud Run using this notebook.
- Generative AI on Vertex AI
- Python
- Notebook
Running a Gemma 2-based agentic RAG with Ollama on Vertex AI and LangGraph
Run and manage open-source large language models like Gemma 2 using Ollama.
- Generative AI on Vertex AI
- Python
- Notebook
Imagen 3 Image Editing
Run this notebook to generate images from text using Imagen 3 on Vertex AI.
- Generative AI on Vertex AI
- Python
- Notebook
Intro to Gemini 2.0 Flash
Use the Gemini 2.0 Flash multimodal generative ai model to create real-time vision and audio streaming applications.
- Generative AI on Vertex AI
- Python
- Notebook
Getting started with Gemini 2.0 in Vertex AI using REST API
Use REST API in cURL commands to interact with the Gemini 2.0 Flash model.
- Generative AI on Vertex AI
- Python
- Notebook
Vertex AI Model Garden - Llama 3.3 Finetuning
Finetune and deploy Llama 3.3 models with Vertex AI using PEFT (LoRA).
- Generative AI on Vertex AI
- Vertex AI
- Python
- Notebook
Vertex AI RAG Engine with Vertex AI Search
Demonstrate how to use Vertex AI RAG Engine with Vertex AI Search as a retrieval backend
- Generative AI on Vertex AI
- Python
- Notebook
Q&A Chatbot with Vertex AI Search for summarized website results without advanced indexing
Query a website data store in Vertex AI Search and extract and summarize its content.
- Generative AI on Vertex AI
- Python
- Notebook
Getting Started with Gemini 2.0 Flash Thinking Mode
Demonstrate how to use Gemini 2.0 Flash Thinking mode to solve complex tasks that require multiple rounds.
- Generative AI on Vertex AI
- Python
- Notebook
Getting started with Google generative AI using the Gen AI SDK
Learn about the key features of the Google Gen AI SDK for Python
- Generative AI on Vertex AI
- Python
- Notebook
Supervised Fine Tuning with Gemini 1.5 Flash for change detection using the Google Gen AI SDK
Fine-tune Gemini model" component Fine-tune the Gemini 1.5 Pro model for change detection task (spot differences) with the Vertex AI "Fine-tune Gemini model" component.
- Generative AI on Vertex AI
- Python
- Notebook
Advanced Diarized Transcription and Domain Specific Summarization
Train a model to transcribe and translate multilingual audio recordings.
- Generative AI on Vertex AI
- Python
- Notebook
Feature Monitoring in Vertex AI Feature Store
Learn how to use the Vertex AI SDK for Python to monitor feature data in Vertex AI Feature Store.
- Vertex AI
- Python
- Notebook
Scaled Video Analysis with the YouTube Data API, Gemini, and Batch Prediction
Explore how to search and analyze publicly available YouTube videos at scale, using the YouTube Data API, Vertex AI Batch Prediction with Gemini, and BigQuery.
- Generative AI on Vertex AI
- Python
- Notebook
Interactive Loan Application Assistant (Financial Services)
Use the interactive loan document to understand complex loan terms and conditions.
- Generative AI on Vertex AI
- Python
- Notebook
Intro to Generating and Executing Python Code with Gemini 2.0
Introduce the code execution capabilities of the Gemini 2.0 Flash model.
- Generative AI on Vertex AI
- Python
- Notebook
Vertex Prompt Optimizer Notebook SDK (Preview) - Long Prompt Optimization
Use the Vertex AI prompt optimizer to optimize a long prompt for a Gemini model.
- Generative AI on Vertex AI
- Python
- Notebook
Getting started with Gemini using Vertex AI in Express Mode
Send API requests to the Gemini API in Vertex AI: - Non-streaming request - Streaming request - Function calling request
- Generative AI on Vertex AI
- Python
- Notebook
Getting Started with the Multimodal Live API using Gen AI SDK
Learn how to use the Multimodal Live API to perform text-to-text generation and text-to-audio with the Google Gen AI SDK in Vertex AI.
- Generative AI on Vertex AI
- Python
- Notebook
Create a Spark DataFrame from an Apache Beam pipeline
Create a Spark DataFrame from an Apache Beam pipeline.
- Generative AI on Vertex AI
- Python
- Notebook
Evaluating Agents - Evaluate a LangGraph agent with Vertex AI Gen AI Evaluation
Evaluate an AI agent's performance with a suite of evaluation metrics
- Generative AI on Vertex AI
- Python
- Notebook
Creating Marketing Assets using Gemini 2.0
Get started with the Google Gen AI SDK on Vertex AI
- Generative AI on Vertex AI
- Python
- Notebook
Real-time Retrieval Augmented Generation (RAG) using the Multimodal Live API with Gemini 2.0
Learn to develop a real-time Retrieval Augmented Generation (RAG) system leveraging the Multimodal Live API.
- Generative AI on Vertex AI
- Python
- Notebook
Patents Document Understanding with Gemini 2.0
Train custom machine learning models for a Document Understanding Pipeline using AutoML.
- Generative AI on Vertex AI
- Python
- Notebook
Vertex AI Model Garden - Llama 3.3 (Deployment)
Deploy prebuilt Llama 3.3 model with vLLM on GPU, optionally with dynamic LoRA adapters.
- Generative AI on Vertex AI
- Vertex AI
- Python
- Notebook
Building a Research Multi Agent System - a Design Pattern Overview with Gemini 2.0
Learn how to use Data Fusion to build a scalable and secure data lake for your organization.
- Generative AI on Vertex AI
- Python
- Notebook
Supervised fine-tuning with Gemini 1.5 Flash for Q&A using the Google Gen AI SDK
Fine-tune the Gemini 1.5 Flash model using Vertex AI Supervised Tuning.
- Generative AI on Vertex AI
- Python
- Notebook
Getting Started with the Multimodal Live API in Vertex AI
Run this tutorial to get started with the Multimodal Live API in Vertex AI, which enables low-latency bidirectional voice and video interactions with Gemini.
- Generative AI on Vertex AI
- Python
- Notebook
Evaluating Agents - Evaluate a CrewAI agent with Vertex AI Gen AI Evaluation
Evaluate the performance of an AI agent with offline evaluation of test cases
- Generative AI on Vertex AI
- Python
- Notebook
Hugging Face DLCs: Using Gemma for running evaluations with Vertex AI Gen AI Evaluation
Evaluate the performance of large language models with Vertex AI.
- Generative AI on Vertex AI
- Python
- Notebook
Vertex Prompt Optimizer Notebook SDK (Preview) - Tool usage
optimize prompt template for tool usage with a Gemini model
- Generative AI on Vertex AI
- Python
- Notebook
Evaluate a Translation Model
Use the Vertex AI Python SDK for Gen AI Evaluation Service to measure the translation quality of your LLM responses using BLEU, MetricX and COMET
- Generative AI on Vertex AI
- Python
- Notebook
Supervised Fine Tuning with Gemini 1.5 Flash for change detection
Fine-tune Vision Model" colab template Fine-tune Gemini 1.5 Pro model for change detection task (spot differences)
- Generative AI on Vertex AI
- Python
- Notebook
Hugging Face DLCs: Serving PaliGemma using Pytorch Inference on Vertex AI with Custom Handler
** is a TPU-based, scalable, and flexible 3D image segmentation and rendering library that supports a variety of applications. Run this notebook to deploy Verte on GCP using a Hugging Face DLC. deploy Verte on GCP using a Hugging Face DLC
- Generative AI on Vertex AI
- Python
- Notebook
Create a multi speaker podcast with Gemini Controlled Generation & Text-to-Speech
Use the Gemini API in Vertex AI to generate an engaging multi-speaker podcast using studio voices Text-to-Speech API" notebook. Generate an engaging multi-speaker podcast using studio voices Text-to-Speech API.
- Generative AI on Vertex AI
- Python
- Notebook
AI Agents for Engineers (Evolution of AI Agents)
Demonstrate 3 different approaches to generating essays using the Gemini API in Google AI Studio
- Generative AI on Vertex AI
- Python
- Notebook
Advanced RAG Techniques - Vertex RAG Engine Retrieval Quality Evaluation and Hyperparameters Tuning
Learn how to evaluate retrieval quality using different metrics.
- Generative AI on Vertex AI
- Python
- Notebook
Llama 3.2 deployment to GKE using GPU
Use the Llama 3.2 model to serve inference on GPUs.
- Generative AI on Vertex AI
- Vertex AI
- Python
- Notebook
Vertex AI RAG Engine with Vertex AI Feature Store
Use Vertex AI RAG Engine with Vertex AI Feature Store as a vector database.
- Generative AI on Vertex AI
- Python
- Notebook
Create and initialize a cluster
Use this notebook to create a cluster and initialize it with the pre-installed software.
- Generative AI on Vertex AI
- Python
- Notebook
Resume Generation
Generate resumes using the Gemini 1.5 Flash model and LLM prompting
- Generative AI on Vertex AI
- Python
- Notebook
Vertex AI Model Garden - Llama 3.1 and Qwen2.5 Models Deployment
Deploy prebuilt Llama 3.1 and Qwen2.5 models with vLLM on TPU v5e.
- Generative AI on Vertex AI
- Vertex AI
- Python
- Notebook
Guess who or what app using Hugging Face Deep Learning container model on Vertex AI
Create a simple "Guess who or what" application which combines an image generation open model with Gemini to answer and represent subjects of Guess who or what riddles.
- Generative AI on Vertex AI
- Python
- Notebook
Monitor batch prediction with Gemini API
Orchestrate and monitor Gemini batch prediction jobs using Vertex AI Pipelines."
- Generative AI on Vertex AI
- Python
- Notebook
Get Started
Generate advertising images using Gemini and Imagen 3
- Generative AI on Vertex AI
- Python
- Notebook
Evaluate generated answers from Retrieval-Augmented Generation (RAG) using Rapid Evaluation and Dataflow ML with Vertex AI pipelines
Build a Gen AI Model Evaluation Batch pipeline to evaluate a question-answering task with Rapid Eval API and DataflowML
- Generative AI on Vertex AI
- Python
- Notebook
Enhance Imagen prompts with Gemini
Optimize or rewrite your image generation prompts with Gemini based on a subject, action, scene, and style, or generate enhanced prompts from an initial image.
- Generative AI on Vertex AI
- Python
- Notebook
Getting Text Embeddings on Vertex AI
Get text embeddings using a text-embedding model such as **text-embedding-005** and **text-multilingual-embedding-002**.
- Vertex AI
- Python
- Notebook
Get started with Chirp 2 using Speech-to-Text V2 SDK
Learn how to use Chirp 2, the latest generation of Google's multilingual ASR-specific models.
- Generative AI on Vertex AI
- Python
- Notebook
**NVIDIA NIM on Google Cloud Vertex AI**
Create a dataproc cluster to run a machine learning model.
- Vertex AI
- Python
- Notebook
Stage 2: Building MVP: - 05 Evaluation with Vertex AI
Evaluate RAG system performance" notebook, evaluate RAG system performance with Vertex AI Eval
- Generative AI on Vertex AI
- Python
- Notebook
From API to Report: Building a Currency Analysis Agent with LangGraph and Gemini
Build an AI-powered currency analysis agent using LangGraph and the Gemini API in Vertex AI
- Generative AI on Vertex AI
- Python
- Notebook
Vertex AI RAG Engine with Weaviate
Use Vertex AI RAG Engine with Weaviate to build a semantic search system
- Generative AI on Vertex AI
- Python
- Notebook
Anomaly Detection of Infrastructure Logs using Gemini and BigQuery Vector Search
Learn how to process large volumes of logs using Gemini, vector embeddings and BigQuery Vector Search for anomaly detection
- Generative AI on Vertex AI
- Python
- Notebook
Vertex AI RAG Engine with Vertex AI Vector Search
Use Vertex AI RAG Engine with Vertex AI Vector Search
- Generative AI on Vertex AI
- Python
- Notebook
Stage 2: Building MVP: - 04 Evaluation
Evaluate the performance of your RAG system."
- Generative AI on Vertex AI
- Python
- Notebook
Evaluating multimodal task
Evaluate multimodal tasks with custom metrics and model-based metric evaluation
- Generative AI on Vertex AI
- Python
- Notebook
Vertex AI SDK for Python: AutoML tabular training and prediction
Train and deploy a tabular classification model for online prediction with Vertex AI Python client library.
- Vertex AI
- Python
- Notebook
Basic prototyping of the solution with Gemini API in Vertex AI
Learn how to use the Gemini 1.5 Pro model to perform text summarization.
- Generative AI on Vertex AI
- Python
- Notebook
Stage 2: Building MVP: - 01 Data Processing
Process diverse data and generate summaries for a multimodal retrieval augmented generation (RAG) system using the Gemini API in Vertex AI.
- Generative AI on Vertex AI
- Python
- Notebook
Stage 2: Building MVP: - 02 Chunk & Embeddings
Build a simple text-based search engine using the Vertex Gemini API
- Generative AI on Vertex AI
- Python
- Notebook
Intro to Building a Scalable and Modular RAG System with RAG Engine in Vertex AI
Use RAG Engine to improve the performance of large language models by augmenting them with access to private knowledge.
- Generative AI on Vertex AI
- Python
- Notebook
Vertex AI Model Garden - Recursion MAE Image Feature Extraction local inference
Demonstrate how to install the necessary libraries and run local inference with the Recursion MAE model in a Colab Enterprise Instance for Image Feature Extraction.
- Vertex AI
- Generative AI on Vertex AI
- Python
- Notebook
Vertex AI RAG Engine with Pinecone
Use Vertex AI RAG Engine with Pinecone as a vector database
- Generative AI on Vertex AI
- Python
- Notebook
Vertex AI Model Garden - Recursion MAE Image Feature Extraction Deployment
Deploy recursionpharma/OpenPhenom with the VMG Pytorch Inference container
- Vertex AI
- Generative AI on Vertex AI
- Python
- Notebook
Vertex AI Model Garden - Llama 3.2 Evaluation
Evaluate text and multimodal Llama 3.2 models in Vertex AI.
- Vertex AI
- Generative AI on Vertex AI
- Python
- Notebook
Enhancing quality and explainability with Vertex AI Evaluation
Use the Vertex Gen AI Evaluation API to evaluate your large language models (LLMs) by comparing them against human performance.
- Generative AI on Vertex AI
- Python
- Notebook
Train a custom BERT model using fine-tuning
Train a custom BERT model using a fine-tuning approach
- Generative AI on Vertex AI
- Python
- Notebook
Create a Dataflow pipeline
Use the [Dataflow SDK](https://cloud.google.com/dataflow/docs/guides/dataflow-sdk) to create a Dataflow pipeline.
- Generative AI on Vertex AI
- Python
- Notebook
Build Your Own AI Podcasting Agent with LangGraph & Gemini
target="_blank">Generate an audio overview of a document</a> 🔈🔈
- Generative AI on Vertex AI
- Python
- Notebook
Log Anomaly Detection & Investigation with Text Embeddings + BigQuery Vector Search
Learn how to use AI to analyze Cloud Audit Logs.
- Generative AI on Vertex AI
- Python
- Notebook
Stage 2: Building MVP: - 03 RAG
Build the core retrieval and generation components of a Multimodal Retrieval Augmented Generation (RAG) system using the Vertex Gemini API.
- Generative AI on Vertex AI
- Python
- Notebook
Vertex AI Model Garden - Hugging Face Text Generation Inference Deployment
Deploy Gemma-2-2b-it model with Text Generation Inference (TGI) from Hugging Face.
- Vertex AI
- Generative AI on Vertex AI
- Python
- Notebook
Vertex AI Model Garden GenAI Workshop for Flux
Deploy a model to a Vertex AI Endpoint and run online predictions for text-to-image tasks from a Gradio UI
- Vertex AI
- Generative AI on Vertex AI
- Python
- Notebook
Vertex AI Migration: AutoML Video Classification
Train an AutoML video classification model and do batch prediction.
- Vertex AI
- Python
- Notebook
Vertex AI Model Garden - Get started with Llama 3.2 models
chat" Get started with using the OpenAI library and leverage multimodal capabilities of Llama 3.2 models as MaaS.
- Vertex AI
- Generative AI on Vertex AI
- Python
- Notebook
Vertex AI Model Garden - Prompt Guard (Deployment)
Deploy the Prompt Guard model on Vertex AI for online prediction.
- Vertex AI
- Generative AI on Vertex AI
- Python
- Notebook
Vertex AI Model Garden - Gemma 2 Finetuning
Demonstrate finetuning and deploying Gemma 2 models with Vertex AI Custom Training Job.
- Vertex AI
- Generative AI on Vertex AI
- Python
- Notebook
Vertex AI SDK: Using PyTorch torchrun to simplify multi-node training with custom containers
Run multi-node distributed training on Vertex AI with Torchrun.
- Vertex AI
- Python
- Notebook
Vertex AI Model Garden - Hugging Face Text Embeddings Inference Deployment
Deploy a Hugging Face text-embeddings-inference model with appropriate machine specs.
- Vertex AI
- Generative AI on Vertex AI
- Python
- Notebook
Vertex AI Model Garden - Chat Completions With Streaming Playground
Interactively chat with instruction-tuned text generation models deployed on the Vertex Online Prediction endpoints.
- Vertex AI
- Generative AI on Vertex AI
- Python
- Notebook
Vertex AI Model Garden - Fill Mask
Deploy a BERT, RoBERTa, and XLM-RoBERTa model on Vertex AI"
- Vertex AI
- Generative AI on Vertex AI
- Python
- Notebook
Vertex AI Model Garden + Reasoning Engine - Build, Deploy and Test Agents Using Llama 3.1 Models
Use this notebook to build a chat bot agent using Vertex AI Reasoning Engine and Llama 3.1 models.
- Vertex AI
- Generative AI on Vertex AI
- Python
- Notebook
Vertex AI Model Garden - Flux
Deploy the pre-trained Flux.1 [schnell] model on Vertex AI for online prediction.
- Vertex AI
- Generative AI on Vertex AI
- Python
- Notebook
Vertex AI Model Garden - Hugging Face Pytorch Inference Deployment
Deploy distilbert/distilbert-base-uncased-finetuned-sst-2-english with Hugging Face Pytorch Inference.
- Vertex AI
- Generative AI on Vertex AI
- Python
- Notebook
Starry Net Forecasting Pipeline
Learn how to create a Starry Net forecasting model using Vertex AI Pipelines.
- Vertex AI
- Python
- Notebook
Getting Started with AI21 Labs Models
Stream your AI21 Labs model responses on Vertex AI to reduce end-user latency.
- Vertex AI
- Python
- Notebook
Create a dataframe from a Pub/Sub topic
Create a dataframe from a Google Cloud Pub/Sub topic. """
- Vertex AI
- Python
- Notebook
Vertex AI Model Garden - Llama 3.2 (Deployment)
Demonstrate how to deploy and serve prebuilt Llama 3.2 models on GPU and TPU.
- Vertex AI
- Generative AI on Vertex AI
- Python
- Notebook
Vertex AI Model Garden - Whisper Large V3 (Deployment)
Deploy prebuilt whisper large v3 and whisper large v3 turbo models to Vertex AI.
- Vertex AI
- Generative AI on Vertex AI
- Python
- Notebook
Get started with Model Garden Pipeline Templates for T5X models
modify, compile, and execute a prebuilt Vertex AI Model Garden pipeline template
- Vertex AI
- Generative AI on Vertex AI
- Python
- Notebook
Image Segmentation on Vertex AI
Learn how to use Vertex AI to segment images with a text prompt or interactively.
- Generative AI on Vertex AI
- Python
- Notebook
Hugging Face DLCs: Fine-tuning Gemma with Transformer Reinforcement Learning (TRL) on Vertex AI
Visualize the distribution of the number of events within a time window.
- Generative AI on Vertex AI
- Python
- Notebook
Create a Photoshop Document with Image Segmentation on Vertex AI
Use the Vertex AI Image Segmentation API to segment images into different regions."
- Generative AI on Vertex AI
- Python
- Notebook
Video Thumbnail Generation using Gemini 1.5 Pro (API & Python SDK)
to create a thumbnail video from thumbnails
- Generative AI on Vertex AI
- Python
- Notebook
Building Search Applications with Vertex AI Search
Use the notebook to get started with Vertex AI Search.
- Generative AI on Vertex AI
- Python
- Notebook
Hugging Face DLCs: Serving Gemma with Text Generation Inference (TGI) on Vertex AI
Import data from a local file system into BigQuery.
- Generative AI on Vertex AI
- Python
- Notebook
Manage and monitor Apache Beam jobs using the Beam UI and Logging
Learn how to manage and monitor Apache Beam jobs using the Beam UI and Logging.
- Generative AI on Vertex AI
- Python
- Notebook
Getting Started with RAGAS & Vertex AI Gemini API
Evaluate your RAG pipelines with Ragas.
- Generative AI on Vertex AI
- Python
- Notebook
Getting Started with DeepEval & Vertex AI Gemini API
Use the DeepEval framework to evaluate LLMs with unit tests and metrics.
- Generative AI on Vertex AI
- Python
- Notebook
YouTube Video Analysis with Gemini
Learn how to do direct analysis of publicly available YouTube videos with Gemini.
- Generative AI on Vertex AI
- Python
- Notebook
Summarization with Large Documents using Document AI and PaLM APIs
Summarize a short paragraph using extractive summarization.
- Generative AI on Vertex AI
- Python
- Notebook
Leverage LlamaIndex with Vertex AI Vector Search to perform question answering RAG
Create a RAG framework using LlamaIndex and Vertex AI Vector Search
- Generative AI on Vertex AI
- Python
- Notebook
Run RAG Pipelines in BigQuery with BQML and Vector Search
Demonstrate a basic end-to-end retrieval-augmented generation (RAG) pipeline using BigQuery and BigQuery ML functions"
- Generative AI on Vertex AI
- Python
- Notebook
Getting Started with the Vertex AI Codey APIs - Code Completion
Get started with the Vertex AI PaLM API.
- Generative AI on Vertex AI
- Python
- Notebook
Question answering with Documents using Document AI, Pandas, and PaLM
Extract structured data from documents using Document AI and PaLM.
- Generative AI on Vertex AI
- Python
- Notebook
Create a BigQuery dataset.
Create a new BigQuery dataset for storing your data.
- Generative AI on Vertex AI
- Python
- Notebook
Question Answering with Documents using LangChain 🦜️🔗 and Vertex AI Matching Engine
Implement a question answering system to show how to improve LLM's response by augmenting LLM's knowledge with external data sources.
- Generative AI on Vertex AI
- Python
- Notebook
Getting Started with Vertex AI Python SDK for Gen AI Evaluation Service
Learn how to use the Vertex AI Python SDK for Gen AI Evaluation Service
- Generative AI on Vertex AI
- Python
- Notebook
Evaluating prompts at scale with Gemini Batch Prediction API
Use Apache Beam to perform batch ETL on Google Cloud Platform.
- Generative AI on Vertex AI
- Python
- Notebook
Get started with Generative AI evaluation service
Evaluate the performance of a large language model using Vertex AI.
- Generative AI on Vertex AI
- Python
- Notebook
Building a Weather Agent with AutoGen and Gemini
Build a weather agent using Autogen and the Gemini 1.5 Flash model on Vertex AI
- Generative AI on Vertex AI
- Python
- Notebook
Multimodal Function Calling with the Gemini API & Python SDK
Learn how to use Gemini's multimodal function calling capability to predict function calls and function parameters based on various inputs like images, audio, and text.
- Generative AI on Vertex AI
- Python
- Notebook
Customize Model-based Metrics to Evaluate a Gen AI model
Learn how to customize the model-based metrics and evaluate a generative AI model using the *Vertex AI Python SDK for Gen AI Evaluation Service*.
- Generative AI on Vertex AI
- Python
- Notebook
Get started with Chirp on Google Cloud
Demonstrate how to use Chirp to convert voice to text in several languages.
- Generative AI on Vertex AI
- Python
- Notebook
Migrate from PaLM to Gemini model
Evaluate PaLM and Gemini foundation models using multiple metrics in an `EvalTask` to support decisions around migrating from one model to another.
- Generative AI on Vertex AI
- Python
- Notebook
Gen AI and LLM Security - ReAct and RAG attacks & mitigations
Learn how to load data from Google Cloud Storage into a BigQuery table.
- Generative AI on Vertex AI
- Python
- Notebook
Evaluate and Optimize Prompt Template Design for Better Results
Learn how to use the Vertex AI Python SDK for Gen AI Evaluation Service for Prompt Engineering and Prompt Evaluation.
- Generative AI on Vertex AI
- Python
- Notebook
Performing Semantic Search in BigQuery
Demonstrate how to perform semantic search in BigQuery using Vector Search
- Generative AI on Vertex AI
- Python
- Notebook
Combining Semantic & Keyword Search: A Hybrid Search Tutorial with Vertex AI Vector Search
Use this notebook to upload an image to Google Cloud Storage and generate predictions using the Cloud AutoML Vision API.
- Generative AI on Vertex AI
- Python
- Notebook
Narrate a Multi-character Story with Text-to-Speech and Gemini
Demonstrate how to use the Text-to-Speech API to read a story with each character having a distinct voice.
- Generative AI on Vertex AI
- Python
- Notebook
Get started with Chirp 2 - Advanced features
Learn about how to use Chirp 2, the latest generation of Google's multilingual ASR-specific models, and its new features.
- Generative AI on Vertex AI
- Python
- Notebook
Supervised Fine Tuning with Gemini 1.5 Flash for Q&A
Fine-tune the Gemini 1.5 Flash model using the Vertex AI Supervised Tuning feature.
- Generative AI on Vertex AI
- Python
- Notebook
Supervised Fine Tuning with Gemini 1.5 Pro for Image Captioning
Fine-tune the Gemini 1.5 Pro Model for Vision task using Vertex AI Supervised Tuning.
- Generative AI on Vertex AI
- Python
- Notebook
Question Answering with Generative Models on Vertex AI
Evaluate a Gemini model using various metrics"
- Generative AI on Vertex AI
- Python
- Notebook
Create a machine learning model to classify images
Create a machine learning model to perform image classification.
- Generative AI on Vertex AI
- Python
- Notebook
Using "task type" embeddings for improving RAG search quality
Create a terraform module for an AWS EKS cluster with Fargate. ""
- Generative AI on Vertex AI
- Python
- Notebook
Vertex Prompt Optimizer Notebook SDK (Preview)
optimize a simple prompt for a Gemini model using your own metrics
- Generative AI on Vertex AI
- Python
- Notebook
Evaluate LLMs with AutoSxS Model Eval
Compare the performance of Google-first-party and Third-party LLMs for summarization and question answering tasks.
- Generative AI on Vertex AI
- Python
- Notebook
Building a Multi-Agent RAG Application with LangGraph and Reasoning Engine
Train a RAG model using Reasoning Engine (LangChain on Vertex AI).
- Generative AI on Vertex AI
- Python
- Notebook
Gen AI & LLM Security for developers
Generate embeddings for a text dataset.
- Generative AI on Vertex AI
- Python
- Notebook
LlamaIndex RAG Workflows using Gemini and Firestore
Learn how to use LlamaIndex workflows to build AI systems that go beyond simple question-answering
- Generative AI on Vertex AI
- Python
- Notebook
Use Retrieval Augmented Generation (RAG) with Gemini API
Augment output from Gemini API by bringing in external knowledge using Code Retrieval Augmented Generation(RAG) pattern using Google Cloud's Generative AI github repository as external knowledge.
- Generative AI on Vertex AI
- Python
- Notebook
Analyze data from a Google Cloud Storage bucket in a Jupyter notebook.
Use a Jupyter notebook to access and analyze data from a Google Cloud Storage bucket.
- Generative AI on Vertex AI
- Python
- Notebook
Vertex Prompt Optimizer Notebook SDK (Preview) - Custom metric
optimize a prompt for a Gemini model using your own metric
- Generative AI on Vertex AI
- Python
- Notebook
Comparing LlamaIndex and LlamaParse for Dense Document Questioning Answering on Vertex AI
Compare different document parsing capabilities offered by LlamaIndex on a 10-Q financial document.
- Generative AI on Vertex AI
- Python
- Notebook
Vertex Prompt Optimizer Notebook UI (Preview)
Use Vertex AI prompt optimizer to iteratively optimize prompts to suit a target model.
- Generative AI on Vertex AI
- Python
- Notebook
Evaluate Gemini with AutoSxS using custom task
Demonstrate how to use Vertex AI automatic side-by-side (AutoSxS) with custom task (translation) to evaluate the performance between Gemini on Vertex AI and PaLM API in a media newspaper company for translation scenario.
- Generative AI on Vertex AI
- Python
- Notebook
Compare Generative AI Models
Learn how to use the Vertex AI Python SDK for Gen AI Evaluation Service to score and evaluate different generative AI models.
- Generative AI on Vertex AI
- Python
- Notebook
Getting Started - Template
Develop and assess a chain - a sequence of steps that power an AI application.
- Generative AI on Vertex AI
- Python
- Notebook
Evaluate Generated Answers from Retrieval-Augmented Generation (RAG) for Question Answering with Gen AI Evaluation Service SDK
Evaluate RAG generated answers for a question answering task using the Gen AI Evaluation Service
- Generative AI on Vertex AI
- Python
- Notebook
Create a dataset of events in Apache Beam
Create a dataset of events in Apache Beam that contains the following information: event type, timestamp, and user ID.
- Generative AI on Vertex AI
- Python
- Notebook
Use Gen AI Evaluation SDK to Evaluate Models in Vertex AI Studio, Model Garden, and Model Registry
Analyze the sentiment of a given tweet using the VADER sentiment analyzer.
- Generative AI on Vertex AI
- Python
- Notebook
Bring your own computation-based `CustomMetric`
Learn how to use the Vertex AI Python SDK for Gen AI Evaluation Service to evaluate a generative AI model using locally-defined computation-based `CustomMetric`.
- Generative AI on Vertex AI
- Python
- Notebook
Bring-Your-Own-Autorater using `CustomMetric`
Evaluate generative AI models with your locally-defined `CustomMetric`, and use your own autorater model to perform model-based metric evaluation.
- Generative AI on Vertex AI
- Python
- Notebook
Create a BigQuery Dataflow pipeline to process Apache Beam jobs
Learn how to create and deploy a dataflow pipeline to process Apache Beam jobs using the BigQuery Dataflow API and Apache Beam SDKs.
- Generative AI on Vertex AI
- Python
- Notebook
Gen AI Evaluation Service SDK Preview-to-GA Migration Guide
Migrate from the Preview version to the latest GA version of Vertex AI Python SDK for Gen AI Evaluation Service to evaluate Retrieval-Augmented Generation (RAG) and compare two models side-by-side (SxS)."
- Generative AI on Vertex AI
- Python
- Notebook
Evaluate and Compare Gen AI Model Settings
evaluate and select generative ai model settings with vertex ai python sdk for gen ai evaluation service
- Generative AI on Vertex AI
- Python
- Notebook
Evaluate Generative Model Tool Use
evaluate the Gemini model tool use quality with Vertex AI Python SDK for Gen AI Evaluation Service
- Generative AI on Vertex AI
- Python
- Notebook
Intro to Batch Predictions with the Gemini API
Run batch prediction with the Vertex AI Gemini API.
- Generative AI on Vertex AI
- Python
- Notebook
Import structured or unstructured documents into a data store. """ Import documents into a data store
Learn how to use the Data Fusion service to query data in Google Cloud Platform services. """ Learn to query data in Google Cloud Platform services with Data Fusion
- Generative AI on Vertex AI
- Python
- Notebook
Vertex AI Model Garden - Stable Diffusion V2.1 (Local Dreambooth Finetune)
Finetune stabilityai/stable-diffusion-2-1 with Dreambooth locally in a Colab notebook and test it with a local `text-2-image` prediction pipeline
- Vertex AI
- Generative AI on Vertex AI
- Python
- Notebook
Online Prediction PSC based private endpint
Describe the steps to configure PSC based private endpoint for GKE cluster.
- Vertex AI
- Python
- Notebook
Vertex AI Model Garden - Get started with Llama 3.1 models
Get started with the OpenAI library and use Llama 3.1 models as MaaS for building translation chain and document question-answer."
- Vertex AI
- Generative AI on Vertex AI
- Python
- Notebook
Vertex AI Model Garden - Gemma 2 (Deployment)
Deploy Gemma 2 models with Hex-LLM on TPU and TGI on GPU.
- Vertex AI
- Generative AI on Vertex AI
- Python
- Notebook
Online and Batch predictions using Vertex AI Feature Store (Legacy)
Learn how to store, serve, manage and share machine learning features with Vertex AI Feature Store (Legacy).
- Vertex AI
- Python
- Notebook
Vertex AI Model Garden - Llama 3.1 (Deployment)
Download, deploy, and serve prebuilt Llama 3.1 models with Hex-LLM or vLLM.
- Vertex AI
- Generative AI on Vertex AI
- Python
- Notebook
Vertex AI Model Garden - Synthetic Data Generation using Llama 3.1
Generate synthetic data using the Llama 3.1 405B service API.
- Vertex AI
- Generative AI on Vertex AI
- Python
- Notebook
Vertex AI Model Garden - Evaluate Llama 3.1 models using Vertex AI AutoSxS
Evaluate Llama 3.1 models using the Vertex AI AutoSxS tool for a question-answering task
- Vertex AI
- Generative AI on Vertex AI
- Python
- Notebook
Vertex AI Model Garden - Llama 3.1 Finetuning
knowledge distillation" are learned. Finetune and deploy Llama 3.1 models with Vertex AI using parameter efficient finetuning methods PEFT (LoRA).
- Vertex AI
- Generative AI on Vertex AI
- Python
- Notebook
PyTorch image classification multi-node distributed data parallel training on cpu using Vertex AI training with custom container
Create a distributed PyTorch training job using Vertex AI SDK for Python and custom containers.
- Vertex AI
- Python
- Notebook
Vertex AI Model Garden - Phi-3 (Deployment)
Deploy prebuilt Phi-3 models with vLLM to improve serving throughput
- Vertex AI
- Generative AI on Vertex AI
- Python
- Notebook
Configure IAM Policy in Vertex AI Feature Store
Configure an IAM Policy to control access to resources and data stored within Vertex AI Feature Store.
- Vertex AI
- Python
- Notebook
Spark on Ray on Vertex AI
learn how to run Spark applications on a Ray cluster on Vertex AI using RayDP
- Vertex AI
- Python
- Notebook
Fetch historical feature values
Learn how to use the Vertex AI SDK for Python to retrieve historical values from the feature data source in BigQuery.
- Vertex AI
- Python
- Notebook
Vertex AI Model Garden - Qwen2 (Deployment)
Deploy prebuilt Qwen2 models with vLLM to improve serving throughput.
- Vertex AI
- Generative AI on Vertex AI
- Python
- Notebook
Fetch multiple entities
Learn how to use the Vertex AI SDK for Python to fetch multiple entities (and their feature values) in real-time.
- Vertex AI
- Python
- Notebook
Getting Started with Mistral AI Models
Stream Mistral AI model responses to reduce end-user latency perception
- Vertex AI
- Python
- Notebook
Vertex AI Model Garden - MaMMUT
deploy MaMMUT to a Vertex AI Endpoint and make online predictions
- Vertex AI
- Generative AI on Vertex AI
- Python
- Notebook
Model Garden RAG API
Export a Jupyter Notebook as a Google Cloud Platform AI Platform Notebook instance.
- Vertex AI
- Generative AI on Vertex AI
- Python
- Notebook
Vertex AI Model Garden - Llama Guard
Download and deploy prebuilt Llama Guard models with vLLM on GPU and safeguard LLM inputs and outputs with the Vertex Llama 3.1 API service.
- Vertex AI
- Generative AI on Vertex AI
- Python
- Notebook
Building and Deploying a LangGraph Application with Reasoning Engine in Vertex AI
Build, deploy, and test a simple LangGraph application using Reasoning Engine in Vertex AI.
- Generative AI on Vertex AI
- Python
- Notebook
Deploying a RAG Application with Cloud SQL for PostgreSQL to LangChain on Vertex AI
Build and deploy a RAG app on Vertex AI LangChain
- Generative AI on Vertex AI
- Python
- Notebook
Deploying a RAG Application with AlloyDB to LangChain on Vertex AI
Run this notebook to learn how to use the LangChain API to create a new RAG model on Vertex AI.
- Generative AI on Vertex AI
- Python
- Notebook
Getting Started with LangChain 🦜️🔗 + Vertex AI Gemini API
Vertex AI Gemini: A Large Language Model Platform" by Google AI Learn how to use LangChain components and use cases of LangChain with the Vertex AI Gemini API.
- Generative AI on Vertex AI
- Python
- Notebook
Vertex AI Supervised Tuning token count and cost estimation.
Use this notebook to estimate token counts for tuning costs for tuning `gemini-1.0-pro-002`.
- Generative AI on Vertex AI
- Python
- Notebook
Imagen 3 Image Generation
Create images from text with Imagen 3 on Vertex AI
- Generative AI on Vertex AI
- Python
- Notebook
Generate training dataset for Cloud Translation API NMT (Neural Machine Translation) model training
Use the Cloud Translation API to translate text dynamically through the API using a Google pre-trained, custom model, or a translation specialized large language model (LLMs).
- Generative AI on Vertex AI
- Python
- Notebook
Product attributes extraction and detailed descriptions from images using Gemini 1.5 Pro
Build a general agent to extract different product attributes or detailed product descriptions from an image input
- Generative AI on Vertex AI
- Python
- Notebook
Introduction to Long Context Window with Gemini on Vertex AI
Use this notebook to test the performance of Gemini LLMs with a 1 million token context window.
- Generative AI on Vertex AI
- Python
- Notebook
Building a photo recognition agent: Reasoning Engine setup
Create and configure a Google BigQuery table.
- Generative AI on Vertex AI
- Python
- Notebook
Debugging and Optimizing Agents: A Guide to Tracing in Reasoning Engine
Explore the decision-making process of your agent-based AI application using Cloud Trace.
- Generative AI on Vertex AI
- Python
- Notebook
Intro to Context Caching with the Gemini API
Use the Gemini context caching API to cache frequently used input tokens to improve performance.
- Generative AI on Vertex AI
- Python
- Notebook
Building a Gen AI RAG application with Vertex AI Feature Store and BigQuery
Build a low-latency vector search system for your Gen AI application using BigQuery Vector Search and Vertex AI Feature Store
- Generative AI on Vertex AI
- Python
- Notebook
Evaluate LangChain
Learn how to evaluate the performance of a conversational LangChain chain using the Vertex AI Rapid Evaluation SDK.
- Generative AI on Vertex AI
- Python
- Notebook
Call Gemini by using the OpenAI Library
Learn how to call Gemini by using the OpenAI library.
- Generative AI on Vertex AI
- Python
- Notebook
Text Embedding New API
Run a code example for how to call our newly released text embedding models.
- Vertex AI
- Python
- Notebook
PyTorch image classification using multi-node NCCL distributed data parallel training on CPU and Vertex AI
Create a distributed NCCL PyTorch training job using Vertex AI SDK for Python and custom containers.
- Vertex AI
- Python
- Notebook
Using Vertex AI Vector Search and Vertex AI embeddings for text for StackOverflow Questions
Encode text embeddings and upload them to the Vertex AI Vector Search service
- Vertex AI
- Python
- Notebook
Vertex AI Model Garden - CamP ZipNeRF (Jax) Gradio Notebook
Launch a Gradio application to train and render Neural Radiance Fields (NeRFs) more efficiently in jax using CamP.
- Vertex AI
- Generative AI on Vertex AI
- Python
- Notebook
Using Vertex AI Multimodal Embeddings and Vector Search
create text-to-image embeddings using the DiffusionDB dataset and the Vertex AI multimodal embeddings model
- Vertex AI
- Python
- Notebook
Create Vertex AI Vector Search index
Learn how to use the Vertex AI ANN Service to find similar vectors for a large corpus.
- Vertex AI
- Python
- Notebook
Using Vertex AI Vector Search for StackOverflow Questions
Encode custom text embeddings using the StackOverflow dataset and the sentence-T5 model, and upload them to Vertex AI Vector Search.
- Vertex AI
- Python
- Notebook
Building a Multimodal Chatbot for Warranty Claims using Gemini and Vector Search in Vertex AI
Build a warranty claims chatbot that utilizes Vector Search and the Gemini API in Vertex AI in Google Cloud.
- Generative AI on Vertex AI
- Python
- Notebook
Intro to Controlled Generation with the Gemini API
Use this notebook to control the generation of text, images, and other content from a pre-trained multimodal language model.
- Generative AI on Vertex AI
- Python
- Notebook
Getting Started with NLP2SQL using dynamic RAG using
Use the Vertex AI SDK for Python to generate NLP2SQL outputs more reliably and accurately.
- Generative AI on Vertex AI
- Python
- Notebook
Code Vulnerability Scanning & Automated Remediation using Vertex AI Gemini API (Gemini Pro 1.5)
Learn how to use Gemini 1.5 Pro, a generative AI model for codebase analysis.
- Generative AI on Vertex AI
- Python
- Notebook
Getting started with Vertex AI Gemini 1.5 Flash
Run a sentiment analysis model on a text file with Vertex AI Gemini API
- Generative AI on Vertex AI
- Python
- Notebook
Product listing generation with Gemini 1.5 Pro
Learn about the Gemini 1.5 Pro language model, which introduces a long context window of up to 1 million tokens and can seamlessly analyze large amounts of information.
- Generative AI on Vertex AI
- Python
- Notebook
Product image background generation with Gemini 1.5 Pro and Imagen 2
Use the Imagen 2 model on Vertex AI to generate images from text.
- Generative AI on Vertex AI
- Python
- Notebook
Introduction to Vertex AI Embeddings - Text & Multimodal
Explore Vertex AI Embeddings API for both Text and Multimodal (Images and Video)
- Generative AI on Vertex AI
- Python
- Notebook
Building a DIY Multimodal Question Answering System with Vertex AI (A Beginner's Guide - Multimodal RAG)
Build a question answering system that understands both text and images using Google's Vertex AI.
- Generative AI on Vertex AI
- Python
- Notebook
Introduction to ReAct Agents with Gemini & Function Calling
Illustrate how a ReAct agent coordinates between reasoning and acting.
- Generative AI on Vertex AI
- Python
- Notebook
Building a Conversational Search Agent with Reasoning Engine and RAG on Vertex AI Search
Use this notebook to learn how to use Reasoning Engine (LangChain on Vertex AI) to build and deploy an agent reasoning framework.
- Generative AI on Vertex AI
- Python
- Notebook
Code migration from PaLM to Gemini
Migrate the Vertex AI SDK for Python from using the PaLM API to using the Gemini API.
- Generative AI on Vertex AI
- Python
- Notebook
Introduction to Vertex AI Embeddings - Text & Multimodal
Read and process the contents of a file.
- Generative AI on Vertex AI
- Python
- Notebook
Brochure Creation Tool using Imagen
Build a model to predict the sentiment of movie reviews.
- Generative AI on Vertex AI
- Python
- Notebook
Working with Parallel Function Calls and Multiple Function Responses in Gemini
Use the Gemini API to call a function from your code and get the function's return value.
- Generative AI on Vertex AI
- Python
- Notebook
Model Monitoring for Model Outside Vertex AI
Set up Vertex AI Model Monitoring V2 for your model using the Vertex AI SDK for Python
- Vertex AI
- Python
- Notebook
Setup Google Cloud project
Deploy TimesFM 1.0 model on Vertex AI using CPU or GPU.
- Vertex AI
- Generative AI on Vertex AI
- Python
- Notebook
Before you begin
Finetune PaliGemma with your own data.
- Vertex AI
- Generative AI on Vertex AI
- Python
- Notebook
Before you begin
Deploy a PaliGemma model on Vertex AI.
- Vertex AI
- Generative AI on Vertex AI
- Python
- Notebook
Getting Tuned Text-Embeddings on Vertex AI
Fine-tune text embeddings to adapt the model to your specific domain or task.
- Vertex AI
- Python
- Notebook
Vertex AI Model Garden - E5 Text Embedding Models
Deploy prebuilt E5 text embedding models on a Vertex AI Endpoint
- Vertex AI
- Generative AI on Vertex AI
- Python
- Notebook
Model Monitoring for Vertex AI Custom Model Online Prediction
Set up Vertex AI Model Monitoring V2 for online predictions.
- Vertex AI
- Python
- Notebook
Model Monitoring for Vertex AI Custom Model Batch Prediction Job
Set up Vertex AI Model Monitoring V2 for batch predictions with the Vertex AI SDK for Python
- Vertex AI
- Python
- Notebook
Distillation step-by-step
Train a small (student) model to mimic the reasoning ability of a larger (teacher) model.
- Generative AI on Vertex AI
- Python
- Notebook
Tuning and deploy a foundation model
Create and tune a data pipeline.
- Generative AI on Vertex AI
- Python
- Notebook
Question Answering with Large Documents
Build a question-answering system (or "bot") over multiple large documents so that Vertex AI PaLM API can answer any questions about the contents of those documents.
- Generative AI on Vertex AI
- Python
- Notebook
Multimodal retail recommendation: using Gemini to recommend items based on images and image reasoning
Create a multimodal recommendation system using Gemini 1.0 Pro Vision model
- Generative AI on Vertex AI
- Python
- Notebook
Document Processing with Gemini
Learn how to process documents with Apache Beam.
- Generative AI on Vertex AI
- Python
- Notebook
Document Q&A With Retrieval Augmented Generation
Build a document understanding pipeline with Apache Beam using BigQuery, Pub/Sub and Vertex AI.
- Generative AI on Vertex AI
- Python
- Notebook
Editing with Imagen 2 on Vertex AI
Use this sample notebook to perform image editing with Imagen 2 on Vertex AI.
- Generative AI on Vertex AI
- Python
- Notebook
Responsible AI with Vertex AI Gemini API: Safety ratings and thresholds
Detect and mitigate risks of unintended and unforeseen outputs from large language models.
- Generative AI on Vertex AI
- Python
- Notebook
Using Vertex AI LLMs with data in BigQuery
Use BigQuery ML to generate text with Vertex AI LLMs (PaLM 2 for Text)
- Generative AI on Vertex AI
- Python
- Notebook
Getting Started with the Vertex AI Codey APIs - Code Generation
Get started with code generation using Codey models
- Generative AI on Vertex AI
- Python
- Notebook
Text Summarization of Large Documents using LangChain 🦜🔗
Summarize long documents using large language models
- Generative AI on Vertex AI
- Python
- Notebook
Intro to Function Calling with the Gemini API & Python SDK
Learn how to call functions from Gemini, a family of generative AI models developed by Google DeepMind.
- Generative AI on Vertex AI
- Python
- Notebook
Text Extraction with Generative Models on Vertex AI
Extract text from a document using the Google Cloud Natural Language API.
- Generative AI on Vertex AI
- Python
- Notebook
Gemini: An Overview of Multimodal Use Cases
Explore multimodal use cases with Gemini 1.0 Pro Vision and the Vertex AI Gemini API.
- Generative AI on Vertex AI
- Python
- Notebook
Getting Started with the Vertex AI Gemini API with cURL
Use the Vertex AI Gemini API to generate text, images, and videos from prompts.
- Generative AI on Vertex AI
- Python
- Notebook
Question Answering with Large Documents using LangChain 🦜🔗
Build a question-answering (Q&A) system using LangChain with Vertex AI PaLM API to extract information from large documents.
- Generative AI on Vertex AI
- Python
- Notebook
Use BigQuery DataFrames with Generative AI for code generation
Generate sample code using BigQuery DataFrames and Vertex AI Generative AI.
- Generative AI on Vertex AI
- Python
- Notebook
Video Analysis with Gemini
Use this notebook to learn how to use the Google Cloud Natural Language API.
- Generative AI on Vertex AI
- Python
- Notebook
RAG Based on Sensitive Data Protection using Faker
Anonymize PII data using Cloud DLP and Faker Library.
- Generative AI on Vertex AI
- Python
- Notebook
Text Classification with Generative Models on Vertex AI
Classify text using a generative language model
- Generative AI on Vertex AI
- Python
- Notebook
Custom Embeddings with Vertex AI Search
Import data into Google Cloud AI Platform using BigQuery and Pub/Sub.
- Generative AI on Vertex AI
- Python
- Notebook
Sheet Music Analysis with Gemini
Extract metadata from sheet music PDFs using Gemini.
- Generative AI on Vertex AI
- Python
- Notebook
Use Retrieval Augmented Generation (RAG) with Codey APIs
Demonstrate how to augment output from Codey APIs by bringing in external knowledge.
- Generative AI on Vertex AI
- Python
- Notebook
Getting Started with the Gemini Pro Model
Use the Vertex AI Gemini API to generate text, images, and audio using multimodal prompts.
- Generative AI on Vertex AI
- Python
- Notebook
Small-to-big Retrieval-Augmented Generation
Create a Dataproc cluster to run Apache Beam jobs.
- Generative AI on Vertex AI
- Python
- Notebook
Analyzing movie posters in BigQuery with Gemini 1.0 Pro and Gemini 1.0 Pro Vision
Demonstrate how to use Gemini models for analysis in BigQuery.
- Generative AI on Vertex AI
- Python
- Notebook
Retrieval Augmented Generation(RAG) with AlloyDB
Learn how to migrate a PostgreSQL database to AlloyDB on Google Cloud.
- Generative AI on Vertex AI
- Python
- Notebook
Building and Deploying a Google Maps API Agent with Reasoning Engine
Use Gemini to generate function names in your code.
- Generative AI on Vertex AI
- Python
- Notebook
Bulk Question Answering with Vertex AI Search
Learn to train a custom object detection model from scratch with the TensorFlow Object Detection API.
- Generative AI on Vertex AI
- Python
- Notebook
Text Extraction with Generative Models on Vertex AI
Extract text from a pdf using Apache Tika.
- Generative AI on Vertex AI
- Python
- Notebook
Question Answering Over Documents
Learn how to use BigQuery ML to create a pipeline for predicting churn and get insights into why customers are leaving.
- Generative AI on Vertex AI
- Python
- Notebook
SQL Code Generation on Vertex AI
Learn how to generate SQL queries using a large language model and prompt engineering.
- Generative AI on Vertex AI
- Python
- Notebook
GenAI for Marketing - Place Logo & Text Overlays on Image
Add branded text and images to generated images using a text-to-image model and a layout transformer.
- Generative AI on Vertex AI
- Python
- Notebook
Text Summarization with Generative Models on Vertex AI
Summarize text using an extractive or abstractive model.
- Generative AI on Vertex AI
- Python
- Notebook
Ideation with Generative Models on Vertex AI
Learn how to use generative models to boost creativity and innovation.
- Generative AI on Vertex AI
- Python
- Notebook
Retrieval Augmented Generation (Using Open Source Vector Store) - Procurement Contract Analyst - Palm2 & LangChain
Use this notebook to create a user journey map for your product.
- Generative AI on Vertex AI
- Python
- Notebook
Ideation with Generative Models on Vertex AI
Learn how to use generative models to boost creativity and innovation.
- Generative AI on Vertex AI
- Python
- Notebook
Supervised Fine Tuning with Gemini for Article Summarization
Fine-tune the Gemini generative model using Vertex AI Supervised Tuning.
- Generative AI on Vertex AI
- Python
- Notebook
Text Summarization with Generative Models on Vertex AI
Summarize text using extractive or abstractive summarization techniques.
- Generative AI on Vertex AI
- Python
- Notebook
Question Answering with Generative Models on Vertex AI
Use the large language model 'LaMDA' to answer your questions.
- Generative AI on Vertex AI
- Python
- Notebook
Intro to Building and Deploying an Agent with Reasoning Engine in Vertex AI
Use the Gemini language model to generate code for a function that takes an image of a cat and returns the breed of the cat.
- Generative AI on Vertex AI
- Python
- Notebook
Augment Gemini Output with Vector Embeddings from BigQuery
Create text embeddings for publicly available abstracts from patents data and use them in our LLM search
- Generative AI on Vertex AI
- Python
- Notebook
Getting Started with LangChain 🦜️🔗 + Vertex AI PaLM API
Create a pandas DataFrame from CSV data.
- Generative AI on Vertex AI
- Python
- Notebook
Editing with Imagen 2 and MaskMode on Vertex AI
Edit images with Imagen 2 on Vertex AI.
- Generative AI on Vertex AI
- Python
- Notebook
SQL Code Generation on Vertex AI using LangChain 🦜🔗
Learn to generate SQL queries from natural language with prompt engineering.
- Generative AI on Vertex AI
- Python
- Notebook
Question Answering with Generative Models on Vertex AI
Use the Large Language Model (LLM) from HuggingFace to generate text based on a prompt.
- Generative AI on Vertex AI
- Python
- Notebook
Advanced Prompting for ImageGeneration Using Imagen 2
Create a data store and import structured or unstructured documents into it.
- Generative AI on Vertex AI
- Python
- Notebook
GroceryBot, a sample grocery and recipe assistant - RAG + ReAct
Demonstrate how to use RAG and ReAct to create a conversational bot that assists a customer in their grocery shopping journey.
- Generative AI on Vertex AI
- Python
- Notebook
Analyze a codebase with the Vertex AI Gemini 1.5 Pro
Analyze an entire codebase with Gemini 1.5 Pro and prompt it with a single code file.
- Generative AI on Vertex AI
- Python
- Notebook
Document QnA using Gemini and Vertex Vector Search
Perform RAG to perform Q&A over a document filled with both text and images.
- Generative AI on Vertex AI
- Python
- Notebook
Getting Started with Chat with the Gemini Pro model
Demonstrate how to send chat prompts to the Gemini 1.0 Pro model using the Vertex AI SDK for Python and LangChain.
- Generative AI on Vertex AI
- Python
- Notebook
Getting Started with Text Embeddings + Vertex AI Vector Search
Import data from a variety of sources and formats.
- Generative AI on Vertex AI
- Python
- Notebook
Code RAG - Reuse your already created codebase to generate more code
Use this notebook to learn about Code RAG, a technique that can help boost developer productivity by suggesting reusable code snippets.
- Generative AI on Vertex AI
- Python
- Notebook
Image Generation with Imagen on Vertex AI
Generate images using text prompts with Imagen on Vertex AI.
- Generative AI on Vertex AI
- Python
- Notebook
Vertex AI Search - Querying Blended Data Apps and Summarization with Gemini
Create a search app with Vertex AI Search.
- Generative AI on Vertex AI
- Python
- Notebook
Text Summarization of Large Documents
Summarize a short paragraph using a variety of techniques.
- Generative AI on Vertex AI
- Python
- Notebook
Getting Started with Translation
Demonstrate how to use the Google Cloud Translation API to translate text.
- Generative AI on Vertex AI
- Python
- Notebook
Getting Started with the Vertex AI Codey APIs - Code Chat
Learn how to use Codey chat models to generate code chat conversations with the codechat-bison foundation model.
- Generative AI on Vertex AI
- Python
- Notebook
Multimodal Retrieval Augmented Generation (RAG) using Vertex AI Gemini API
Perform multimodal RAG where you will perform Q&A over a financial document filled with both text and images.
- Generative AI on Vertex AI
- Python
- Notebook
Working with Data Structures and Schemas in Gemini Function Calling
Create a description of a function in your code, then pass that description to a language model in a request. The response from the model includes the name of the function, its arguments, and its return type
- Generative AI on Vertex AI
- Python
- Notebook
Visual Question Answering (VQA) with Imagen on Vertex AI
Use the Imagen on Vertex AI library to perform visual question answering on images.
- Generative AI on Vertex AI
- Python
- Notebook
Intra Knowledge QnA
Get started with the Gemini 1.0 Pro model for natural language tasks, multi-turn text and code chat, and code generation.
- Generative AI on Vertex AI
- Python
- Notebook
ReAct (Reasoning + Acting) + Custom tool for Healthcare NL API + Gemini 1.0 Pro + Langchain
Use the GenAI medical coding model to suggest accurate medical codes for healthcare claims.
- Generative AI on Vertex AI
- Python
- Notebook
Getting Started with the Vertex AI PaLM API & Python SDK
Get started with PaLM 2, a large language model from Google AI, by completing a series of interactive coding exercises in this Colab notebook.
- Generative AI on Vertex AI
- Python
- Notebook
Generate a mock auto owner's manual using Gemini
Create a dataset with a column of the number of days between two dates.
- Generative AI on Vertex AI
- Python
- Notebook
Create a Vertex AI Datastore and Search Engine
Process your data and prepare it for analysis by filtering, sorting, and pivoting data.
- Generative AI on Vertex AI
- Python
- Notebook
Prompt Design - Best Practices
Learn how to design prompts to improve the quality of your responses.
- Generative AI on Vertex AI
- Python
- Notebook
Vertex AI Vector Search Quickstart
Use this notebook to train a deep learning model to identify a person from a photo.
- Generative AI on Vertex AI
- Python
- Notebook
Visualizing embedding similarity from text documents using t-SNE plots
Embed a collection of labelled documents and then plot the embeddings on a two-dimensional t-SNE plot to observe how similar documents tend to cluster together based on their embeddings.
- Generative AI on Vertex AI
- Python
- Notebook
Getting Started with Grounding with Gemini in Vertex AI
Use this notebook to learn how to ground your generative language model in your own data using Vertex AI Search.
- Generative AI on Vertex AI
- Python
- Notebook
Get started with embeddings tuning on Vertex AI
Tune text embeddings for specific domains/tasks to enhance understanding and improve retrival performance on Vertex AI.
- Generative AI on Vertex AI
- Python
- Notebook
Getting Started with Grounding in Vertex AI
Ground your large language model responses in data using Vertex AI Search.
- Generative AI on Vertex AI
- Python
- Notebook
Vertex AI Search with Filters & Metadata
Use this notebook to create a Vertex AI model from a BERT model and deploy it to AI Platform.
- Generative AI on Vertex AI
- Python
- Notebook
Text Classification with Generative Models on Vertex AI
Classify text into multiple categories using the PaLM 2 language model.
- Generative AI on Vertex AI
- Python
- Notebook
BigQuery DataFrames ML: Drug Name Generation
Demonstrate an enterprise generative AI use case by generating brand names for pharmaceutical drugs.
- Generative AI on Vertex AI
- Python
- Notebook
Multimodal Retrieval Augmented Generation (RAG) with Gemini, Vertex AI Vector Search, and LangChain
Perform multimodal RAG with Gemini to perform Q&A over a financial document filled with both text and images.
- Generative AI on Vertex AI
- Python
- Notebook
Using Gemini in Education
Explore a variety of use cases enabled by Gemini models in the context of education.
- Generative AI on Vertex AI
- Python
- Notebook
Prompt Design - Best Practices
Learn the basics of prompt engineering with this notebook.
- Generative AI on Vertex AI
- Python
- Notebook
Context Aware Sensitive Data Detection using LangChain + Vertex AI PaLM API
Detect sensitive information in unstructured data such as call or chat transcripts.
- Generative AI on Vertex AI
- Python
- Notebook
Product Description Generator From Image
Create product descriptions from images by using the pre-trained BLIP Image Captioning model on Vertex AI for online prediction.
- Generative AI on Vertex AI
- Python
- Notebook
Synthetic Data Generation using Gemini APIs
Use the Vertex AI Gemini API to generate creative text, translate languages, and write different kinds of creative content.
- Generative AI on Vertex AI
- Python
- Notebook
How to use the LangChain 🦜️🔗 BigQuery Data Loader
use a cloud based TPU to train a model to classify handwritten digits
- Generative AI on Vertex AI
- Python
- Notebook
Using a Gradio app and Vertex AI for image generation
Create a Gradio app (frontend) that integrates with Imagen on Vertex AI to generate high quality images using natural language prompts.
- Generative AI on Vertex AI
- Python
- Notebook
Data Augmentation for Text Data using BigQuery DataFrames
Learn how to augment your training dataset with synthetic data using various techniques, including synonym replacement, word shuffling, and adding typos.
- Generative AI on Vertex AI
- Python
- Notebook
Create High Quality Visual Assets with Imagen and Gemini
Learn how to generate high-quality images from text descriptions with Imagen on Vertex AI.
- Generative AI on Vertex AI
- Python
- Notebook
Vertex AI Search and Conversation Data Store Status Checker
Use this notebook to learn how to build a machine learning model to predict the price of houses in Ames, Iowa.
- Generative AI on Vertex AI
- Python
- Notebook
Forced Function Calling with Tool Configurations in Gemini
Demonstrate forced Function Calling in the Gemini model.
- Generative AI on Vertex AI
- Python
- Notebook
DescriptionGen: SEO-optimized product description generation for retail using LangChain 🦜🔗
Demonstrate how to use LangChain together with Vertex AI LLMs to generate product descriptions and titles from product attributes or specifications
- Generative AI on Vertex AI
- Python
- Notebook
Using Gemini Function Calling to Get Real-Time Company News and Insights
Use the Function Calling in Gemini API to create a description of a function in your code, then pass that description to a language model in a request.
- Generative AI on Vertex AI
- Python
- Notebook
Vertex AI Model Garden - Mistral and Mixtral 8x7B Models
Deploy prebuilt Mistral and Mixtral 8x7B models in Vertex AI.
- Generative AI on Vertex AI
- Vertex AI
- Python
- Notebook
Vertex AI Model Garden - Stable Diffusion V2.1
Demonstrate running local inference and finetuning/deploying stable-diffusion-2-1 on Vertex AI
- Vertex AI
- Generative AI on Vertex AI
- Python
- Notebook
Vertex AI Model Garden - Stable Diffusion V1.5
Deploy a Stable Diffusion model on Vertex AI for online prediction.
- Vertex AI
- Generative AI on Vertex AI
- Python
- Notebook
Vertex AI Model Garden - Stable Diffusion XL 1.0
Deploy Stable Diffusion XL models on Vertex AI for online prediction.
- Vertex AI
- Generative AI on Vertex AI
- Python
- Notebook
Vertex AI SDK: AutoML training tabular regression model for online prediction using BigQuery
Create tabular regression models and do online prediction using a Google Cloud AutoML model.
- Vertex AI
- Python
- Notebook
Vertex AI Model Garden - Gemma Finetuning (PEFT + TGI)
Finetune and deploy Gemma models with Vertex AI Custom Training Job.
- Vertex AI
- Generative AI on Vertex AI
- Python
- Notebook
Vertex AI Model Garden - LLaMA2 (Deployment)
Deploy prebuilt LLaMA2 models and deploy prebuilt LLaMA2 models with vLLM to improve serving throughput.
- Vertex AI
- Generative AI on Vertex AI
- Python
- Notebook
Vertex AI Pipelines: Evaluating batch prediction results from AutoML video classification model
Evaluate an AutoML video classification model with Vertex AI Model Evaluation.
- Vertex AI
- Python
- Notebook
Vertex AI Model Garden Keras Stable Diffusion
Use Keras Stable Diffusion to generate images in Vertex AI Model Garden
- Vertex AI
- Generative AI on Vertex AI
- Python
- Notebook
Vertex AI Model Garden - Code LLaMA Deployment
Deploy pretrained Code LLaMA models using vLLM with best serving throughput
- Vertex AI
- Generative AI on Vertex AI
- Python
- Notebook
Finetune Gemma using KerasNLP and deploy to Vertex AI
Get started with Google Cloud using the Cloud Shell.
- Vertex AI
- Generative AI on Vertex AI
- Python
- Notebook
Vertex AI Model Garden - BLIP Image Captioning
Deploy the pre-trained BLIP Image Captioning model on Vertex AI for online prediction
- Vertex AI
- Generative AI on Vertex AI
- Python
- Notebook
Online feature serving and vector retrieval of BigQuery data with Vertex AI Feature Store
Demonstrate how to use Vertex AI Feature Store for online serving and vector retrieval of feature values in BigQuery.
- Vertex AI
- Python
- Notebook
Vertex AI Model Monitoring for setup for tabular models
Setup Vertex AI Model Monitoring for tabular models
- Vertex AI
- Python
- Notebook
Vertex AI Model Garden - Stable Diffusion XL 1.0 (Dreambooth LoRA Finetuning)
Fine-tune a diffusion model on Vertex AI with Dreambooth LoRA
- Vertex AI
- Generative AI on Vertex AI
- Python
- Notebook
Get started with Vertex AI Experiments
Learn how to get started with Vertex AI Experiments, and how to use Vertex AI in production.
- Vertex AI
- Python
- Notebook
Vertex AI Migration: Hyperparameter Tuning
Tune hyperparameters in a custom tabular classification TensorFlow model using the Vertex AI SDK for Python
- Vertex AI
- Python
- Notebook
Vertex AI Model Garden: Google Proprietary Model Image Classification
Train new image classification models using Google proprietary models in Vertex AI Model Garden.
- Vertex AI
- Generative AI on Vertex AI
- Python
- Notebook
Vertex AI Model Garden - ControlNet
Deploy the ControlNet model on Vertex AI for online prediction
- Vertex AI
- Generative AI on Vertex AI
- Python
- Notebook
Vertex AI Model Garden Keras YOLOv8
Use the Keras YOLOv8 model to detect objects in images.
- Vertex AI
- Generative AI on Vertex AI
- Python
- Notebook
Tabular Workflows: Wide & Deep Pipeline
Run the Wide & Deep algorithm using Vertex AI Tabular Workflows
- Vertex AI
- Python
- Notebook
Vertex AI Model Garden - LLaMA2 (RLHF)
Tune a LLaMA2 using Vertex AI RLHF to improve its accuracy by fine-tuning it with a training dataset.
- Vertex AI
- Generative AI on Vertex AI
- Python
- Notebook
Vertex AI Model Garden - Stable Diffusion Custom Model
Serve a popular third-party stable diffusion models from huggingface.co on Vertex AI for online prediction.
- Vertex AI
- Generative AI on Vertex AI
- Python
- Notebook
Tabular Workflow for Forecasting
Train an AutoML model for time series forecasting using Vertex AI Tabular Workflow for Forecasting.
- Vertex AI
- Python
- Notebook
Vertex SDK: AutoML training tabular classification model for online explanation
Create tabular classification models and do online prediction with explanation using a Google Cloud AutoML model.
- Vertex AI
- Python
- Notebook
Vertex AI Model Garden MediaPipe with Face Stylizer
Customize an on-device face stylizer model in Vertex AI Model Garden
- Vertex AI
- Generative AI on Vertex AI
- Python
- Notebook
Vertex AI Model Garden - LLava 1.5
Deploy the pre-trained Llava 1.5 model on Vertex AI for online prediction
- Vertex AI
- Generative AI on Vertex AI
- Python
- Notebook
Vertex AI Pipelines: Training and batch prediction with BigQuery source and destination for a custom tabular classification model
Train and batch predict a custom tabular classification model in a Vertex AI pipeline
- Vertex AI
- Python
- Notebook
Vertex AI Pipelines: Evaluating BatchPrediction results from a custom tabular classification model
Evaluate a custom-trained tabular classification model saved in Vertex AI Model Registry using the Vertex AI classification model evaluation component.
- Vertex AI
- Python
- Notebook
Build Vertex AI Experiment lineage for custom training
Learn about Vertex AI Experiments and Vertex ML Metadata to reuse code paths and simplify complex data wrangling.
- Vertex AI
- Python
- Notebook
Get started with Gemma on Ray on Vertex AI
Use this tutorial to learn how to use Ray on Vertex AI to fine-tune and serve Gemma on Vertex AI.
- Vertex AI
- Generative AI on Vertex AI
- Python
- Notebook
Vertex AI Model Garden TFVision With Image Segmentation
Use Vertex AI Model Garden to train and deploy a custom TensorFlow object detection model.
- Vertex AI
- Generative AI on Vertex AI
- Python
- Notebook
Vertex AI Model Garden - LaMa
Deploy a prebuilt LaMa model to a Vertex Endpoint and query it.
- Vertex AI
- Generative AI on Vertex AI
- Python
- Notebook
Get started with Vertex AI Private Endpoints
Create and use Vertex AI Private Endpoint for serving models
- Vertex AI
- Python
- Notebook
Vertex AI Model Garden - JAX Vision Transformer
Finetune a JAX ViT-B16 model for image classification task on GPU and deploy them on Vertex AI for online prediction.
- Vertex AI
- Generative AI on Vertex AI
- Python
- Notebook
Vertex AI - Gemma distributed tuning with LoRA on TPUv5e, serving on L4 GPU
Fine-tune and deploy a LoRA model with Vertex AI Custom Training Job.
- Vertex AI
- Python
- Notebook
Vertex AI Model Garden - Detectron2
Finetune detectron2 based Faster R-CNN, RetinaNet and Mask R-CNN for image detection and segmentation tasks and deploy them on Vertex AI for online prediction.
- Vertex AI
- Generative AI on Vertex AI
- Python
- Notebook
Explaining text classification with Vertex Explainable AI
Get feature attributions for a text classification model using Vertex Explainable AI.
- Vertex AI
- Python
- Notebook
Vertex AI Model Garden - Segment Anything Model (SAM) Serving on Vertex AI
Demonstrate using the huggingface/transformers framework to serve Segment Anything Model (SAM) models and deploy them for online prediction on Vertex AI.
- Vertex AI
- Generative AI on Vertex AI
- Python
- Notebook
Vertex AI Distill a model
Use the Vertex AI Distilling Step by Step method to train a smaller model that outperforms LLMs
- Vertex AI
- Python
- Notebook
Vertex AI Pipelines: AutoML text classification pipelines using google-cloud-pipeline-components
Build an AutoML text classification workflow on Vertex AI Pipelines.
- Vertex AI
- Python
- Notebook
Train PyTorch model on Vertex AI with data from Cloud Storage
Create a custom training job using PyTorch and a dataset stored on Cloud Storage.
- Vertex AI
- Python
- Notebook
Vertex SDK: Custom training tabular regression model for batch prediction with explainabilty
Train and deploy a custom tabular regression model for batch prediction with explanation using the Vertex AI SDK.
- Vertex AI
- Python
- Notebook
Vertex AI Model Garden - InstructPix2Pix
Deploy the InstructPix2Pix model on Vertex AI for online prediction.
- Vertex AI
- Generative AI on Vertex AI
- Python
- Notebook
Custom model batch prediction with feature filtering
Train a custom tabular classification model and perform batch prediction with feature filtering.
- Vertex AI
- Python
- Notebook
Vertex AI Model Garden - BLIP2
Deploy the pre-trained BLIP2 model on Vertex AI for online prediction.
- Vertex AI
- Generative AI on Vertex AI
- Python
- Notebook
Deploying Iris-detection model using FastAPI and Vertex AI custom container serving
Build a custom container to serve a scikit-learn model on Vertex AI using FastAPI.
- Vertex AI
- Python
- Notebook
Vertex AI Model Garden TFVision With Image Object Detection
Use the TFVision in Vertex AI Model Garden to train and deploy new models.
- Vertex AI
- Generative AI on Vertex AI
- Python
- Notebook
Vertex AI Model Garden - Stable Diffusion XL Turbo
Deploy a text-to-image model on Vertex AI for online prediction.
- Vertex AI
- Generative AI on Vertex AI
- Python
- Notebook
Vertex AI Model Garden - Stable Diffusion XL 1.0 - Latent Consistent Model
Deploy Stable Diffusion XL Latent Consistent Model and LCM-LoRA models on Vertex AI for online prediction.
- Vertex AI
- Generative AI on Vertex AI
- Python
- Notebook
Distributed Vertex AI Hyperparameter Tuning
Run a hyperparameter tuning job with Vertex AI Training to discover optimal hyperparameter values for an ML model.
- Vertex AI
- Python
- Notebook
Taxi fare prediction using the Chicago Taxi Trips dataset
Analyze, feature select, build, and deploy a taxi-fare prediction model on Vertex AI with Explainable AI.
- Vertex AI
- Python
- Notebook
Vertex AI SDK : AutoML training image object detection model for batch prediction
Create an image object detection model using the Vertex AI SDK and do batch prediction using a Google Cloud AutoML model.
- Vertex AI
- Python
- Notebook
Profile model training performance using Vertex AI TensorBoard Profiler in custom training with prebuilt container
Enable the TensorFlow Profiler in Vertex AI for custom training with a prebuilt container.
- Vertex AI
- Python
- Notebook
Vertex AI Model Garden - Stable Diffusion V1.5 (Dreambooth+LoRA Finetuning)
Fine-tune the stable-diffusion-v1.5 model with Dreambooth and LoRA, and deploy the fine-tuned models to a Vertex AI Endpoint.
- Vertex AI
- Generative AI on Vertex AI
- Python
- Notebook
Churn prediction for game developers using Google Analytics 4 and BigQuery ML
Train and evaluate a propensity model in BigQuery ML to predict user retention on a mobile game.
- Vertex AI
- Python
- Notebook
Vertex AI Migration: AutoML Image Classification
Train and deploy an AutoML image classification model using the Vertex AI SDK for Python
- Vertex AI
- Python
- Notebook
Multicontender vs Champion methodology for model deployment into production
Deploy the next version of a model into production using Vertex AI Pipeline and the multicontender vs champion method.
- Vertex AI
- Python
- Notebook
Vertex AI Model Garden - CodeGemma Model (Deployment)
Deploy CodeGemma models on GPU using vLLM, the state-of-the-art open source LLM serving solution on GPU.
- Vertex AI
- Generative AI on Vertex AI
- Python
- Notebook
Vertex AI Explanations with TabNet models
Train a TabNet model with Vertex AI.
- Vertex AI
- Python
- Notebook
Vertex AI SDK for Python: Custom training using Python package, managed text dataset, and TF Serving container
Create a custom model using custom python package training and serve it using tensorflow-serving container
- Vertex AI
- Python
- Notebook
Vertex AI Model Garden - PEFT
Fine-tune causal language models with performance efficient finetuning libaries (PEFT), and run inferences with containers in Vertex AI.
- Vertex AI
- Generative AI on Vertex AI
- Python
- Notebook
Vertex AI SDK: Training an AutoML text sentiment analysis model for online predictions
Train and deploy an AutoML text sentiment analysis model and get online predictions from it.
- Vertex AI
- Python
- Notebook
Sentiment Analysis using AutoML Natural Language and Vertex AI
Perform sentiment analysis on a Stanford movie reviews dataset using AutoML Natural Language and deploy the sentiment analysis model on Vertex AI to get predictions.
- Vertex AI
- Python
- Notebook
Profile model training performance using Vertex AI TensorBoard Profiler
Enable Vertex AI TensorBoard profiler to debug model training performance for your custom training jobs.
- Vertex AI
- Python
- Notebook
Vertex AI migration: AutoML image object detection
Train and deploy an AutoML object detection model in Vertex AI with Python SDK.
- Vertex AI
- Python
- Notebook
Vertex AI Model Garden - LLaMA2 (Evaluation)
Evaluate LLaMA2 models with popular benchmark datasets through Vertex CustomJobs using EleutherAI's evaluation harness.
- Vertex AI
- Generative AI on Vertex AI
- Python
- Notebook
Vertex AI Model Garden - Pic2Word
Deploy pre-trained Pic2Word models in Google Cloud Vertex AI
- Vertex AI
- Generative AI on Vertex AI
- Python
- Notebook
Vertex AI Model Garden - Instant ID
Deploy the InstantX/InstantID model to a Vertex AI Endpoint resource for online prediction.
- Vertex AI
- Generative AI on Vertex AI
- Python
- Notebook
Vertex AI Model Garden - AutoGluon
Fine tune a PyTorch based Autogluon model for tabular data and deploy it on Vertex AI for online prediction
- Vertex AI
- Generative AI on Vertex AI
- Python
- Notebook
Vertex AI SDK: AutoML training video action recognition model for batch prediction
Create video action recognition models and do batch prediction using a Google Cloud AutoML model.
- Vertex AI
- Python
- Notebook
Train and deploy PyTorch models with prebuilt containers on Vertex AI
Use a pre-built Vertex AI container image to train a model.
- Vertex AI
- Python
- Notebook
Vertex AI Model Garden - Stable Diffusion V1.5 (LoRA Finetuning)
Finetune stable-diffusion-v1-5 model with LoRA and deploy it on Vertex AI for online prediction.
- Vertex AI
- Generative AI on Vertex AI
- Python
- Notebook
Vertex AI Model Garden GenAI Workshop for Instant ID
Deploy model to a Vertex AI Endpoint resource. Run online predictions for `instant-id` tasks, from the UI. Adjust the parameters, such as prompt, negative_
- Vertex AI
- Generative AI on Vertex AI
- Python
- Notebook
Vertex AI TensorBoard integration with Vertex AI Pipelines
See how to use Vertex AI TensorBoard to visualize experiments and monitor model performance.
- Vertex AI
- Python
- Notebook
Vertex AI SDK for Python: AutoML training text entity extraction model for online prediction
Create text entity extraction models and do online prediction using a Google Cloud AutoML model.
- Vertex AI
- Python
- Notebook
Vertex AI SDK for Python: AutoML training tabular regression model for batch prediction using BigQuery
Create tabular regression models and do batch prediction using a Google Cloud AutoML model.
- Vertex AI
- Python
- Notebook
Get started with Vertex AI Training for XGBoost
Train XGBoost models using Vertex AI Training
- Vertex AI
- Python
- Notebook
Vertex AI Model Garden - Stable Diffusion Inpainting
Deploy runwayml/stable-diffusion-inpainting to Vertex AI for Online Prediction
- Vertex AI
- Generative AI on Vertex AI
- Python
- Notebook
Digest and analyze data from BigQuery with Dataproc
Analyze GitHub Activity Data to explore metrics related to programming languages used in GitHub repositories.
- Vertex AI
- Python
- Notebook
Vertex AI Experiments: Custom training autologging - Local script
Run ML experiments with Vertex AI training and Vertex AI Experiments autologging integration.
- Vertex AI
- Python
- Notebook
Vertex AI: Create, train, and deploy an AutoML text classification model
Build an AutoML text classification model on Vertex AI.
- Vertex AI
- Python
- Notebook
Vertex AI TensorBoard custom training with custom container
Learn how to visualize your machine learning model training using Vertex AI TensorBoard
- Vertex AI
- Python
- Notebook
Gemma deployment to GKE using TGI on GPU
Deploy and serve text generation inference on gpus
- Vertex AI
- Generative AI on Vertex AI
- Python
- Notebook
Vertex AI Model Garden - CamP ZipNeRF (Jax) Notebook
Demonstrate a jax implementation of CamP: Camera Preconditioning for Neural Radiance Fields for training and rendering NeRFs more efficiently.
- Vertex AI
- Generative AI on Vertex AI
- Python
- Notebook
Vertex AI Model Garden - Zero-Shot Text-to-Video Generation
Deploy a model on Vertex AI and run online inference for Zero-Shot Text-to-Video Generation
- Vertex AI
- Generative AI on Vertex AI
- Python
- Notebook
Vertex AI Model Garden - OWL-ViT
Deploy a pre-trained OWL-ViT model on Vertex AI for online image captioning.
- Vertex AI
- Generative AI on Vertex AI
- Python
- Notebook
Vertex AI Model Garden - Mixtral 8x7B Model (Deployment)
Deploy prebuilt Mixtral 8x7B models in Vertex AI.
- Vertex AI
- Generative AI on Vertex AI
- Python
- Notebook
Profile model training performance using Cloud Profiler
Enable Cloud Profiler for your custom training jobs to monitor and optimize model training performance.
- Vertex AI
- Python
- Notebook
Vertex AI Migration: Custom image classification with a pre-built training container
Train using a pre-built container and deploy a custom image classification model for online and batch prediction.
- Vertex AI
- Python
- Notebook
Vertex AI Model Garden - Gemma Evaluation
Evaluate pre-trained and instruction-tuned Gemma models in Vertex AI
- Vertex AI
- Generative AI on Vertex AI
- Python
- Notebook
Training an acquisition-prediction model using Swivel, BigQuery ML and Vertex AI Pipelines
Build a Text Categorization model using DataflowPythonJobOp and BigQuery ML components on Vertex AI Pipelines.
- Vertex AI
- Python
- Notebook
Tabular Workflows: TabNet Pipeline
Run TabNet algorithm using Vertex AI Tabular Workflows.
- Vertex AI
- Python
- Notebook
Vertex AI Model Garden MediaPipe with image classification
Train an on-device image classification model in Vertex AI Model Garden
- Vertex AI
- Generative AI on Vertex AI
- Python
- Notebook
Vertex AI SDK: AutoML training tabular binary classification model for batch explanation
Create tabular binary classification models and do batch prediction with explanation using a Google Cloud AutoML model.
- Vertex AI
- Python
- Notebook
Vertex AI SDK for Python: AutoML training hierarchical forecasting for batch prediction
Create hierarchical forecasting models using a Google Cloud AutoML and do batch prediction.
- Vertex AI
- Python
- Notebook
Get started with TensorFlow Serving with Vertex AI Prediction
Serve predictions from a Vertex AI Endpoint with TensorFlow Serving serving binary
- Vertex AI
- Python
- Notebook
Vertex AI: Vertex AI Migration: AutoML Text Entity Extraction
Create an AutoML Text Entity Extraction model, with a Vertex AI ncbi disease research dataset, and serve the model for batch prediction.
- Vertex AI
- Python
- Notebook
Vertex AI Model Garden - Stable Diffusion V2.1 (Dreambooth Finetuning)
Finetune the stabilityai/stable-diffusion-2-1 model with Dreambooth and deploy it on Vertex AI for online prediction.
- Vertex AI
- Generative AI on Vertex AI
- Python
- Notebook
Get started with Vertex AI Data Labeling
Get started with Vertex AI Data Labeling service.
- Vertex AI
- Python
- Notebook
Vertex AI Model Garden - Vicuna Models
Run local inference and deploy prebuilt Vicuna models with vLLM to improve serving throughput.
- Vertex AI
- Generative AI on Vertex AI
- Python
- Notebook
Vertex AI Model Garden - Stable Diffusion V1.5 (Dreambooth Finetuning)
Finetune stable-diffusion-v1.5 model with Dreambooth, and deploy it on Vertex AI for online prediction.
- Vertex AI
- Generative AI on Vertex AI
- Python
- Notebook
Vertex AI SDK: Custom training image classification model for online prediction with explainability
Train and deploy a custom image classification model for online prediction with explanation using the Vertex AI SDK.
- Vertex AI
- Python
- Notebook
Vertex AI Model Garden MoViNet video clip classification
Demonstrate how to use MoViNet in Vertex AI Model Garden.
- Vertex AI
- Generative AI on Vertex AI
- Python
- Notebook
Vertex AI migration: Custom image classification with a custom training container
Train a custom image classification model with TensorFlow and the Vertex AI SDK.
- Vertex AI
- Python
- Notebook
Vertex AI: Track parameters and metrics for locally trained models
Track metrics and parameters for ML training jobs using Vertex AI SDK for Python.
- Vertex AI
- Python
- Notebook
Train a BigQuery ML ARIMA_PLUS Model using Vertex AI Tabular Workflows
Train a BigQuery ML ARIMA_PLUS forecasting model to predict monthly product sales.
- Vertex AI
- Python
- Notebook
Vertex AI TensorBoard hyperparameter tuning with the HParams Dashboard
create a Vertex AI TensorBoard instance and visualize model training metrics
- Vertex AI
- Python
- Notebook
Build a fraud detection model on Vertex AI
Build, deploy, and analyze predictions from a simple Random Forest model on a synthetic fraud transaction dataset to solve a financial fraud detection problem.
- Vertex AI
- Python
- Notebook
Vertex AI Model Monitoring for XGBoost models
Demonstrate how to use Vertex AI Model Monitoring for XGBoost models.
- Vertex AI
- Python
- Notebook
Vertex AI Pipelines: Evaluating batch prediction results from an AutoML Tabular classification model
Evaluate an AutoML Tabular classification model with Vertex AI Model Evaluation
- Vertex AI
- Python
- Notebook
Vertex AI TensorBoard custom training with prebuilt container
Learn how to visualize your machine learning experiment with Vertex AI TensorBoard.
- Vertex AI
- Python
- Notebook
Using the Vertex AI SDK with Large Language Models
Use the Vertex AI SDK to run Large Language Models on Vertex AI via the PaLM API.
- Vertex AI
- Python
- Notebook
Vertex AI Model Garden MoViNet video action recognition
Train new models and test trained models for video action recognition using MoViNet in Vertex AI Model Garden.
- Vertex AI
- Generative AI on Vertex AI
- Python
- Notebook
Vertex AI Model Garden - Stable Diffusion XL 1.0 - TPU v5e
Deploy a text-to-image model for online prediction on Vertex AI.
- Vertex AI
- Generative AI on Vertex AI
- Python
- Notebook
Get started with Model Garden Pipeline Templates for BERT models
Modify, compile, and execute a prebuilt Vertex AI Model Garden pipeline template with Vertex AI Pipelines.
- Vertex AI
- Generative AI on Vertex AI
- Python
- Notebook
Vertex AI Model Garden - Dolly V2
Deploy pre-trained Dolly V2 models on Vertex AI for online prediction and evaluate the models on benchmark datasets.
- Vertex AI
- Generative AI on Vertex AI
- Python
- Notebook
Vertex AI Feature Store (Legacy): Streaming import SDK
Demonstrate how to use streaming import at the SDK layer in Vertex AI Feature Store (Legacy).
- Vertex AI
- Python
- Notebook
Get started with Vertex AI hyperparameter tuning pipeline components
Demonstrate how to use Vertex AI hyperparameter tuning pipeline components.
- Vertex AI
- Python
- Notebook
Vertex AI Model Garden - Falcon Instruct (PEFT)
Run inferences locally with prebuilt Falcon Instruct models, deploy prebuilt Falcon Instruct models, finetune and deploy Falcon Instruct models with performance efficient finetuning libraries (PEFT), quantizing and deploying Falcon Instruct models with GPTQ, and evaluating PEFT-finetuned Falcon Instruct models in Vertex AI.
- Vertex AI
- Generative AI on Vertex AI
- Python
- Notebook
Using Vertex AI Feature Store (Legacy) with Pandas Dataframe
Learn how to use Pandas with Vertex AI Feature Store (Legacy) using the Vertex AI SDK.
- Vertex AI
- Python
- Notebook
Custom training and batch prediction
Train and deploy a custom image classification model for batch prediction using the Vertex AI SDK for Python.
- Vertex AI
- Python
- Notebook
Vertex AI SDK: Custom training image classification model for batch prediction with explainabilty
Train and deploy a custom image classification model for batch prediction with explanation using the Vertex AI SDK.
- Vertex AI
- Python
- Notebook
AutoML training image object detection model for online prediction
Create an image object detection model with Vertex AI SDK and do online prediction
- Vertex AI
- Python
- Notebook
Serving PyTorch image models with prebuilt containers on Vertex AI
Upload and deploy a PyTorch image model using a prebuilt serving container and make online and batch predictions.
- Vertex AI
- Python
- Notebook
Vertex AI Model Garden - ViT-GPT2 Image Captioning
Deploy pre-trained ViT-GPT2 Image Captioning model on Vertex AI for online prediction.
- Vertex AI
- Generative AI on Vertex AI
- Python
- Notebook
AutoML training text entity extraction model for batch prediction
Create text entity extraction models and do batch prediction using a Google Cloud AutoML model.
- Vertex AI
- Python
- Notebook
Get started with NVIDIA Triton server
Deploy a `Vertex AI Model` resource to a NVIDIA Triton Inference Server and make online predictions using Vertex AI Prediction.
- Vertex AI
- Python
- Notebook
Vertex AI Model Garden - WizardCoder
Serve WizardCoder, a large pretrained language model that is capable of following complicated instructions to generate Python code.
- Vertex AI
- Generative AI on Vertex AI
- Python
- Notebook
Get started with TensorFlow serving functions with Vertex AI Raw Prediction
Use Vertex AI Raw Prediction to send raw HTTP content directly to a model deployed to a Vertex AI Endpoint
- Vertex AI
- Python
- Notebook
Vertex AI Pipelines: Evaluating batch prediction results from custom tabular regression model
Evaluate a custom regression model using the Vertex AI regression model evaluation component.
- Vertex AI
- Python
- Notebook
Distributed XGBoost training with Dask
Create a distributed custom training job using XGBoost with Dask on Vertex AI.
- Vertex AI
- Python
- Notebook
Vertex AI Model Garden - Falcon Instruct (Quantization)
Quantize Falcon Instruct models using AutoGPTQ and deploy them to Vertex AI.
- Vertex AI
- Generative AI on Vertex AI
- Python
- Notebook
Get started with Endpoint and shared VM
Learn how to use Vertex AI for E2E MLOps on Google Cloud in production.
- Vertex AI
- Python
- Notebook
Vertex AI Model Garden - Stable Diffusion XL Lightning
Deploy the ByteDance/SDXL-Lightning model on Vertex AI for online prediction.
- Vertex AI
- Generative AI on Vertex AI
- Python
- Notebook
Vertex AI Model Garden - ImageBind
Deploy prebuilt Imagebind models for online prediction in Vertex AI.
- Vertex AI
- Generative AI on Vertex AI
- Python
- Notebook
Training a TensorFlow model on BigQuery data
Train and deploy a custom tabular classification model for online prediction using the Vertex AI SDK for Python.
- Vertex AI
- Python
- Notebook
SparkML with Dataproc and BigQuery
Run Apache SparkML jobs with Dataproc and BigQuery to exemplify a common machine learning pipeline use case
- Vertex AI
- Python
- Notebook
Vertex AI Model Garden - TIMM
Train and deploy PyTorch timm models on Vertex AI.
- Vertex AI
- Generative AI on Vertex AI
- Python
- Notebook
Vertex AI Model Garden MediaPipe with gesture recognition
Train an on-device gesture recognition model using MediaPipe Model Maker in Vertex AI Model Garden.
- Vertex AI
- Generative AI on Vertex AI
- Python
- Notebook
Vertex AI Experiments: Autologging
Use the Vertex AI SDK to track metrics and parameters automatically, which will help you reproduce your experiments.
- Vertex AI
- Python
- Notebook
Vertex AI Tuning a PEFT model
Tune a PEFT large-language model (LLM) and make a prediction.
- Vertex AI
- Python
- Notebook
Vertex AI Pipelines: model upload, predict, and evaluate using google-cloud-pipeline-components
Build a Vertex AI Pipelines workflow that uploads a tabular custom model, creates a BatchPredictionJob, and evaluates the model with the BatchPredictionJob results
- Vertex AI
- Python
- Notebook
Vertex AI Model Monitoring for custom tabular models
Use Vertex AI Model Monitoring to monitor your custom tabular models.
- Vertex AI
- Python
- Notebook
Vertex AI Feature Store Feature View Service Agents Tutorial
Enable a dedicated service agent for a feature view in Vertex AI Feature Store.
- Vertex AI
- Python
- Notebook
Vertex AI Pipelines: AutoML text classification pipelines using google-cloud-pipeline-components
Evaluate an AutoML text classification model using Vertex AI Model Evaluation
- Vertex AI
- Python
- Notebook
Vertex AI Model Garden MediaPipe with object detection
Train new models with MediaPipe Model Maker in Vertex AI Model Garden
- Vertex AI
- Generative AI on Vertex AI
- Python
- Notebook
Vertex AI Pipelines with KFP 2.x
Demonstrate how to use Vertex AI Pipelines with KFP 2.x
- Vertex AI
- Python
- Notebook
Vertex AI: Track parameters and metrics for locally trained models
Track model training and evaluation metrics with Vertex AI Experiments.
- Vertex AI
- Python
- Notebook
Vertex AI Model Garden - LLaMA2 (PEFT Hyperparameter Tuning)
Download prebuilt LLaMA2 models and tune LLaMA2 model hyperparameters with parameter efficient finetuning libraries (PEFT) on Vertex AI.
- Vertex AI
- Generative AI on Vertex AI
- Python
- Notebook
AutoML training image classification model for online prediction
Get predictions from an image classification model using the Vertex AI SDK.
- Vertex AI
- Python
- Notebook
Vertex AI Private Endpoint
Create and use Vertex AI `PrivateEndpoint` resources for serving models.
- Vertex AI
- Python
- Notebook
Vertex AI Migration: Custom Scikit-Learn model with pre-built training container
Train and deploy a custom tabular classification scikit-learn model for batch prediction with Vertex AI SDK.
- Vertex AI
- Python
- Notebook
AutoSxS: Evaluate a LLM in Vertex AI Model Registry against a third-party model
Evaluate the performance between a generative AI model in Vertex AI Model Registry and a third-party language model.
- Vertex AI
- Python
- Notebook
Vertex AI Model Garden - LayoutML Document QA
Deploy a pre-trained LayoutML model on Vertex AI for online image captioning.
- Vertex AI
- Generative AI on Vertex AI
- Python
- Notebook
Ray on Vertex AI cluster management
Learn how to use Ray on Vertex AI SDK for cluster management.
- Vertex AI
- Python
- Notebook
Interactive exploratory analysis of BigQuery data in a notebook
Perform exploratory data analysis in BigQuery using Vertex AI Workbench.
- Vertex AI
- Python
- Notebook
Vertex AI LLM Reinforcement Learning from Human Feedback
Tune a large-language model using reinforcement learning from human feedback (RLHF) on Vertex AI
- Vertex AI
- Python
- Notebook
Vertex AI Model Garden - JAX OWL-ViT v2
Serve a JAX OWL-ViT v2 model for Simple Open-Vocabulary Object Detection with Vision Transformers task and deploy them on Vertex AI for online prediction.
- Vertex AI
- Generative AI on Vertex AI
- Python
- Notebook
Get started with Vertex AI Vizier
Learn how to use Vertex AI Vizier to tune hyperparameters for a machine learning model.
- Vertex AI
- Python
- Notebook
Run hyperparameter tuning for a TensorFlow model
Tune your machine learning model's hyperparameters using hyperopt
- Vertex AI
- Python
- Notebook
Vertex AI Model Garden - Code LLaMA Evaluation
Evaluate Code LLaMA models using EleutherAI's Language Model Evaluation Harness (lm-evaluation-harness) with Vertex CustomJob.
- Vertex AI
- Generative AI on Vertex AI
- Python
- Notebook
Vertex AI Pipelines: Pipelines introduction for KFP
Get started with Vertex AI Pipelines with the Kubeflow Pipelines (KFP) SDK.
- Vertex AI
- Python
- Notebook
Vertex AI Pipelines: Lightweight Python function-based components, and component I/O
Build Vertex AI Pipelines using the Kubeflow Pipelines SDK.
- Vertex AI
- Python
- Notebook
Custom training and online prediction
Train and deploy a custom image classification model for online prediction.
- Vertex AI
- Python
- Notebook
Vertex AI Model Garden - Stable Video Diffusion Img2Vid XT (Research Purpose)
Run local inference and deploy image-to-video model to Vertex AI for batch prediction
- Vertex AI
- Generative AI on Vertex AI
- Python
- Notebook
AutoSxS: Check autorater alignment against a human-preference dataset
Use Vertex AI automatic side-by-side (AutoSxS) to check how well the autorater aligns with the human rater.
- Vertex AI
- Python
- Notebook
Vertex AI Pipelines: pipeline control structures using the KFP SDK
Build Vertex AI Pipelines that use control structures with the Kubeflow Pipelines (KFP) SDK.
- Vertex AI
- Python
- Notebook
Vertex AI Model Garden - Mistral-7B (PEFT)
Finetune Mistral with QLoRa and deploy to Vertex AI endpoint.
- Vertex AI
- Generative AI on Vertex AI
- Python
- Notebook
Vertex AI Pipelines: Model train, upload, and deploy using Google Cloud Pipeline Components
Train a custom model using Vertex AI Pipelines and deploy it to an endpoint
- Vertex AI
- Python
- Notebook
Vertex AI Model Garden GenAI Workshop for Image Generation (inspired by Stable Diffusion WebUI)
Start a playground based on Gradio UI for stable diffusion models.
- Vertex AI
- Generative AI on Vertex AI
- Python
- Notebook
Get started with importing a custom model evaluation to the Vertex AI Model Registry
Import a custom model evaluation to an existing Vertex AI Model Registry entry.
- Vertex AI
- Python
- Notebook
AutoML training image object detection model for export to edge
Create an image object detection model to export as an Edge model using an AutoML model.
- Vertex AI
- Python
- Notebook
Vertex SDK: Custom training tabular regression model for online prediction with explainabilty using get_metadata
Train and deploy a custom tabular regression model with Vertex AI SDK for online prediction with explanation.
- Vertex AI
- Python
- Notebook
Vertex AI Pipelines: AutoML Tabular pipelines using google-cloud-pipeline-components
Build an AutoML tabular classification workflow on Vertex AI Pipelines.
- Vertex AI
- Python
- Notebook
Vertex AI Pipelines: TPU model train, upload, and deploy using google-cloud-pipeline-components
Learn how to build a Vertex AI Pipelines workflow that trains a custom model using TPUs, uploads the model as a `Model` resource, creates an `Endpoint` resource, and deploys the `Model` resource to the `Endpoint` resource.
- Vertex AI
- Python
- Notebook
Vertex AI migration: AutoML tabular binary classification
Train a tabular binary classification model and do online prediction using an AutoML model.
- Vertex AI
- Python
- Notebook
Vertex AI Model Garden MediaPipe with text classification
Train on-device text classification models in Vertex AI Model Garden
- Vertex AI
- Generative AI on Vertex AI
- Python
- Notebook
Vertex AI Pipelines: Evaluating batch prediction results from AutoML Tabular regression model
Evaluate a Vertex AI AutoML Tabular regression model using model evaluation component.
- Vertex AI
- Python
- Notebook
Vertex AI Model Monitoring for batch prediction in AutoML image models
Use Vertex AI Model Monitoring to monitor AutoML image models.
- Vertex AI
- Python
- Notebook
Vertex AI Model Garden - ZipNeRF (Pytorch) Notebook
Implement a pytorch implementation of Zip-NeRF to render Neural Radiance Fields (NeRFs) more efficiently.
- Vertex AI
- Generative AI on Vertex AI
- Python
- Notebook
Vertex AI Model Garden - LLaMA3 (Deployment)
Demonstrate downloading and deploying prebuilt LLaMA3 models and deploy LLaMA3 with vLLM to improve serving throughput.
- Vertex AI
- Generative AI on Vertex AI
- Python
- Notebook
AutoML training text sentiment analysis model for batch prediction
Create text sentiment analysis models and do batch prediction using a Google Cloud AutoML model.
- Vertex AI
- Python
- Notebook
Vertex AI LLM and streaming prediction
Use Vertex AI LLM to make streaming predictions on large language models
- Vertex AI
- Python
- Notebook
Inventory prediction on ecommerce data using Vertex AI
Build a machine learning model for inventory prediction on an ecommerce dataset
- Vertex AI
- Python
- Notebook
Vertex AI: Track parameters and metrics for custom training jobs
Track metrics and parameters for Vertex AI custom training jobs and perform detailed analysis
- Vertex AI
- Python
- Notebook
Get started with Vertex AI Model Registry
Create and register multiple versions of a model using Vertex AI Model Registry.
- Vertex AI
- Python
- Notebook
Compare pipeline runs with Vertex AI Experiments
Experiment with different Vertex AI pipelines and track the runs to compare different configurations.
- Vertex AI
- Python
- Notebook
Vertex AI Pipelines: AutoML tabular regression pipelines using google-cloud-pipeline-components
Build an AutoML tabular regression workflow on Vertex AI Pipelines.
- Vertex AI
- Python
- Notebook
Forecasting retail demand with Vertex AI and BigQuery ML
Explore demand forecasting using a BigQuery public retail dataset
- Vertex AI
- Python
- Notebook
Vertex AI Model Monitoring for custom tabular models with TensorFlow Serving container
Demonstrate how to use Vertex AI Model Monitoring for custom tabular models and a custom deployment container.
- Vertex AI
- Python
- Notebook
Vertex AI Model Garden - Stable Diffusion XL 1.0 - LoRA serving
Deploy stabilityai/stable-diffusion-xl-base-1.0 with LoRA adapter to Vertex AI endpoint for text-to-image prediction.
- Vertex AI
- Generative AI on Vertex AI
- Python
- Notebook
Getting Started with Claude 3 Models
Stream your Claude responses to reduce the end-user latency perception.
- Vertex AI
- Python
- Notebook
Vertex AI Model Garden - LLaMA2 (PEFT Finetuning)
Download LLaMA2 models, finetune with PEFT, and deploy the finetuned model on Vertex AI.
- Vertex AI
- Generative AI on Vertex AI
- Python
- Notebook
Get started with PyTorch on Ray on Vertex AI
Train and serve a PyTorch image classification model on Vertex AI using Ray on Vertex AI SDK.
- Vertex AI
- Python
- Notebook
Vertex AI Pipelines: AutoML image classification pipelines using google-cloud-pipeline-components
Build an AutoML image classification workflow on Vertex AI Pipelines using google_cloud_pipeline_components
- Vertex AI
- Python
- Notebook
Vertex AI Batch Prediction with Model Monitoring
Learn how to use Model Monitoring with batch prediction requests on a deployed Vertex AI Model resource.
- Vertex AI
- Python
- Notebook
Vertex AI Model Garden - LLaMA2 (Quantization)
Demonstrate downloading prebuilt LLaMA2 models, deploying prequantized LLaMA2 models with vLLM, quantizating LLaMA2 models using either AWQ or GPTQ to reduce the GPU memory requirements and then deploying these models to vLLM as well.
- Vertex AI
- Generative AI on Vertex AI
- Python
- Notebook
Vertex AI Model Garden TFVision With Image Classification
Use this notebook to train and deploy TFVision models in Vertex AI Model Garden.
- Vertex AI
- Generative AI on Vertex AI
- Python
- Notebook
Semantic Search using Embeddings
Learn how to implement a semantic search engine using BERT and TensorFlow.
- Vertex AI
- Python
- Notebook
Vertex AI Migration: AutoML Video Object Tracking
Train an AutoML video object tracking model and do batch prediction with the Vertex AI SDK for Python.
- Vertex AI
- Python
- Notebook
Vertex AI Model Garden - Falcon Instruct (PEFT Finetuning)
Finetune and deploy Falcon Instruct models with performance efficient finetuning libraries (PEFT) in Vertex AI.
- Vertex AI
- Generative AI on Vertex AI
- Python
- Notebook
Vertex AI Model Garden - BioGPT
Demonstrate how to serve BioGPT, a large language model trained on a massive dataset of biomedical text and code.
- Vertex AI
- Generative AI on Vertex AI
- Python
- Notebook
Vertex AI Model Garden - BiomedCLIP
Serve a biomedical vision-language foundation model that is pretrained on PMC-15M
- Vertex AI
- Generative AI on Vertex AI
- Python
- Notebook
Vertex AI Model Garden - Hugging Face Local Inference
Run local inference with various Hugging Face transformer or diffusion models.
- Vertex AI
- Generative AI on Vertex AI
- Python
- Notebook
PyTorch distributed training with Vertex AI Reduction Server
Train a PyTorch ResNet model on the CIFAR-10 dataset using Reduction Server on Vertex AI.
- Vertex AI
- Python
- Notebook
Vertex AI Model Garden: Google Proprietary Model Image Object Detection
Train image object detection model using Vertex AI Model Garden
- Vertex AI
- Generative AI on Vertex AI
- Python
- Notebook
Vertex AI LLM Batch Inference with RLHF-tuned Models
Use this tutorial to perform inference on RLHF-tuned OSS large-language models (LLMs) with Vertex AI.
- Vertex AI
- Python
- Notebook
Vertex AI Model Garden - OpenLLaMA (PEFT)
Demonstrate running local inference, deploying, finetuning, quantizing and evaluating OpenLLaMA
- Vertex AI
- Generative AI on Vertex AI
- Python
- Notebook
Vertex AI Feature Store Based LLM Grounding Tutorial
Learn how to generate embedding vectors from large language models and load them into Vertex AI Feature Store.
- Vertex AI
- Python
- Notebook
Vertex AI - Llama2 fine-tuning with LoRA and serving on TPUv5e
Fine-tune a Llama2 7B model with LoRA using a Vertex AI Custom Training Job with a TPUv5e.
- Vertex AI
- Python
- Notebook
Vertex AI: Track artifacts and metrics across Vertex AI Pipelines runs using Vertex ML Metadata
Track metrics and artifacts across Vertex AI Pipelines runs.
- Vertex AI
- Python
- Notebook
Vertex AI Pipelines: Metrics visualization and run comparison using the KFP SDK
Learn how to build Vertex AI Pipelines that generate model metrics and metrics visualizations, and compare pipeline runs with Kubeflow Pipelines (KFP) SDK.
- Vertex AI
- Python
- Notebook
Get started with Vertex AI Training for LightGBM
Train a LightGBM model using Vertex AI Training
- Vertex AI
- Python
- Notebook
Vertex AI: Vertex AI Migration: AutoML Text Sentiment Analysis
Create an AutoML Text Sentiment Analysis model, with a Vertex AI ncbi disease research dataset, and serve the model for batch prediction.
- Vertex AI
- Python
- Notebook
Challenger vs Blessed methodology for model deployment into production
Use Vertex AI Pipeline to deploy the next version of a model into production using the challenger vs blessed method.
- Vertex AI
- Python
- Notebook
Get started with machine management for Vertex AI Pipelines
Manage machine resources when training as a component in `Vertex AI Pipelines`
- Vertex AI
- Python
- Notebook
Train a multi-class classification model for ads-targeting
Build a machine learning model for ads targeting use case
- Vertex AI
- Python
- Notebook
Online feature serving and fetching of BigQuery data with Vertex AI Feature Store Optimized Serving
Demonstrate how to use Optimized online serving in Vertex AI Feature Store for serving and fetching of feature values from BigQuery.
- Vertex AI
- Python
- Notebook
Vertex AI Hyperparameter Tuning for XGBoost
Learn how to tune XGBoost hyperparameters using Vertex AI Hyperparameter Tuning.
- Vertex AI
- Python
- Notebook
Vertex AI Model Garden: Video Object Tracking with Bytetrack
Deploy a video object tracking model on Vertex AI Endpoint resource
- Vertex AI
- Generative AI on Vertex AI
- Python
- Notebook
Vertex AI Model Garden - Falcon Evaluation
Evaluate a pre-trained or a PEFT-finetuned Falcon Instruct models in Vertex AI
- Vertex AI
- Generative AI on Vertex AI
- Python
- Notebook
Vertex AI Model Garden - JAX DITO
Train and serve a JAX DITO model for open-vocabulary object detection and instance segmentation tasks on Vertex AI.
- Vertex AI
- Generative AI on Vertex AI
- Python
- Notebook
Train a Prophet Model using Vertex AI Tabular Workflows
Forecast inventory needs for each product and store using Prophet model in Vertex AI Tabular Workflows
- Vertex AI
- Python
- Notebook
Vertex AI: Vertex AI Migration: Custom XGBoost model with pre-built training container
Train and deploy a custom tabular classification XGBoost model for batch prediction using the Vertex AI SDK for Python.
- Vertex AI
- Python
- Notebook
Online feature serving and fetching of BigQuery data with Vertex AI Feature Store
Demonstrate how to use Vertex AI Feature Store for online serving and fetching of feature values in BigQuery.
- Vertex AI
- Python
- Notebook
Vertex AI Model Garden - Bart Large CNN
Deploy the pre-trained Bart Large CNN model on Vertex AI for online prediction.
- Vertex AI
- Generative AI on Vertex AI
- Python
- Notebook
Vertex AI SDK: AutoML training video classification model for batch prediction
Create video classification models and do batch prediction using a Vertex AI AutoML model.
- Vertex AI
- Python
- Notebook
Explaining image classification with Vertex Explainable AI
Get explanations for a model's predictions using feature attributions.
- Vertex AI
- Python
- Notebook
Vertex AI Model Garden - Gemma Finetuning
Finetune and deploy Gemma models with Vertex AI Custom Training Job using parameter efficient finetuning methods PEFT (LoRA)
- Vertex AI
- Generative AI on Vertex AI
- Python
- Notebook
Vertex AI Model Garden - OpenCLIP
Finetune openclip and deploy it on vertex ai for online prediction.
- Vertex AI
- Generative AI on Vertex AI
- Python
- Notebook
BQML and AutoML - Experimenting with Vertex AI
Use Vertex AI Pipelines to rapidly prototype a model using both AutoML and BQML, do an evaluation comparison, for a baseline, before progressing to a custom model.
- Vertex AI
- Python
- Notebook
Vertex AI Model Monitoring with Explainable AI Feature Attributions
Learn how to monitor your machine learning models with Vertex AI Model Monitoring
- Vertex AI
- Python
- Notebook
Vertex AI Model Garden - Mixtral-8x7B (PEFT)
Fine tune Mixtral-8x7B with QLoRa data and deploy to a Vertex AI endpoint.
- Vertex AI
- Generative AI on Vertex AI
- Python
- Notebook
Vertex AI Model Garden - Gemma (Deployment)
Deploy Gemma language models on TPU or GPU.
- Vertex AI
- Generative AI on Vertex AI
- Python
- Notebook
AutoML Tabular Workflow pipelines
Train AutoML models using Vertex AI Tabular Workflows with different configurations.
- Vertex AI
- Python
- Notebook
Get started with Google Artifact Registry
Learn how to use Vertex AI with Google Artifact Registry.
- Vertex AI
- Python
- Notebook
Vertex AI Model Garden - StarCoder
Deploy a pre-trained StarCoder model on Vertex AI for online prediction
- Vertex AI
- Generative AI on Vertex AI
- Python
- Notebook
Vertex AI Model Garden - Stable Diffusion Upscaler
Deploy stabilityai/stable-diffusion-x4-upscaler model on Vertex AI for online prediction.
- Vertex AI
- Generative AI on Vertex AI
- Python
- Notebook
Vertex AI SDK: AutoML tabular forecasting model for batch prediction
Create tabular forecasting models and do batch prediction using a Google Cloud AutoML model.
- Vertex AI
- Python
- Notebook
Vertex AI Model Garden - JAX F-VLM
Train and serve a JAX F-VLM model for open-vocabulary object detection and instance segmentation tasks on Vertex AI
- Vertex AI
- Generative AI on Vertex AI
- Python
- Notebook
Vertex AI Model Garden - Llama 3 Finetuning
Finetune and deploy Llama 3 models with Vertex AI using parameter efficient finetuning methods PEFT (LoRA).
- Vertex AI
- Generative AI on Vertex AI
- Python
- Notebook
Training, tuning and deploying a PyTorch text sentiment classification model on Vertex AI
Build and deploy a text sentiment classification model by fine-tuning a pre-trained BERT model using Vertex AI and Pytorch SDK.
- Vertex AI
- Python
- Notebook
Custom training with custom training container and automatic registering of the model
Train a model with a custom container and automatically register the model.
- Vertex AI
- Python
- Notebook
Delete Outdated Experiments in Vertex AI TensorBoard
Delete old Vertex AI TensorBoard Experiments to avoid unnecessary storage costs
- Vertex AI
- Python
- Notebook
Vertex SDK: Custom training tabular regression model for online prediction with explainabilty
Train and deploy a custom tabular regression model for online prediction with explanation using the Vertex AI SDK.
- Vertex AI
- Python
- Notebook
Vertex AI SDK for Python: AutoML Video Classification Example
Create an AutoML Video Classification Model and serve it for batch prediction.
- Vertex AI
- Python
- Notebook
Analysis of pricing optimization on CDM Pricing Data
Analyze pricing optimization on CDM Pricing Data using Vertex AI Workbench managed notebooks.
- Vertex AI
- Python
- Notebook
AutoML training image classification model for batch prediction
Use the Vertex AI SDK to create image classification models and do batch prediction using a Google Cloud AutoML model
- Vertex AI
- Python
- Notebook
Vertex AI Migration : AutoML Text Classification
Create an AutoML Text Classification Model, with a Vertex AI text dataset, and how to serve the model for batch prediction.
- Vertex AI
- Python
- Notebook
Vertex AI Pipelines: Custom training with pre-built Google Cloud Pipeline Components
Use Vertex AI Pipelines with pre-built Google Cloud Pipeline Components to perform custom training.
- Vertex AI
- Python
- Notebook
Vertex AI Model Garden - CLIP
Deploy pre-trained CLIP model on Vertex AI for online prediction.
- Vertex AI
- Generative AI on Vertex AI
- Python
- Notebook
Vertex AI SDK for Python: AutoML training video object tracking model for batch prediction
Train a video object tracking model and do batch prediction using a Google Cloud AutoML model.
- Vertex AI
- Python
- Notebook
Vertex AI Model Garden - NLLB (No Language Left Behind)
Deploy the pre-trained NLLB model on Vertex AI for online prediction
- Vertex AI
- Generative AI on Vertex AI
- Python
- Notebook
Predictive maintenance using Vertex AI
Go through a predictive maintenance usecase on industrial data using machine learning techniques, deploy the machine learning model on Vertex AI, and automate the workflow using the executor feature of Vertex AI Workbench.
- Vertex AI
- Python
- Notebook
Get started with Vertex AI distributed training
Train a TensorFlow model with Vertex AI distributed training.
- Vertex AI
- Python
- Notebook
Vertex AI Model Garden - BLIP VQA
Deploy the pre-trained BLIP VQA model on Vertex AI for online prediction.
- Vertex AI
- Generative AI on Vertex AI
- Python
- Notebook
Vertex AI Model Garden - Falcon Instruct Deployment
Run inferences locally with prebuilt Falcon Instruct models and deploy prebuilt Falcon Instruct models in Vertex AI
- Vertex AI
- Generative AI on Vertex AI
- Python
- Notebook
Vertex AI Model Garden - Image Generation with MediaPipe
Customize a MediaPipe Image Generator to generate images of specific people, objects, and styles
- Vertex AI
- Generative AI on Vertex AI
- Python
- Notebook
Vertex AI Model Garden - ViLT VQA
Deploy pre-trained ViLT VQA model on Vertex AI for online prediction
- Vertex AI
- Generative AI on Vertex AI
- Python
- Notebook
Get started with BigQuery datasets
Get started with BigQuery Datasets for Vertex AI for BigQuery users.
- Vertex AI
- Python
- Notebook
Optimizing multiple objectives with Vertex AI Vizier
Learn how to use Vertex AI Vizier multi-objective optimization.
- Vertex AI
- Python
- Notebook
Vertex AI Model Garden - WizardLM
Demonstrate how to serve WizardLM, a large pretrained language model that is capable of following complicated instructions.
- Vertex AI
- Generative AI on Vertex AI
- Python
- Notebook
Vertex AI Model Monitoring for AutoML tabular models
Use this Vertex AI Model Monitoring tutorial to monitor AutoML tabular models.
- Vertex AI
- Python
- Notebook