Notebooks, code samples, sample apps, and other resources that demonstrate how to use, develop and manage machine learning and generative AI workflows using Google Cloud Vertex AI.
Google Cloud Vertex AI Samples
This repository contains notebooks, code samples, sample apps, skills, and other resources that demonstrate how to use, develop and manage machine learning and generative AI workflows using Google Cloud Vertex AI.
Overview
Vertex AI is a fully-managed, unified AI development platform for building and using generative AI. This repository is designed to help you get started with Vertex AI. Whether you're new to Vertex AI or an experienced ML practitioner, you'll find valuable resources here.
โ ๏ธ For more Vertex AI Generative AI notebook samples, please visit the Vertex AI Generative AI GitHub repository.
Explore, learn and contribute
You can explore, learn, and contribute to this repository to unleash the full potential of machine learning on Vertex AI!
Explore and learn
Explore this repository, follow the links in the header section of each of the notebooks to -
- Open and run the notebook in Colab
- Open and run the notebook in Colab Enterprise
- Open and run the notebook in Vertex AI Workbench
- View the notebook on Github
Contribute
See the Contributing Guide.
Get started
To get started using Vertex AI, you must have a Google Cloud project.
- If you don't have a Google Cloud project, you can learn and build on GCP for free using Free Trail.
- Once you have a Google Cloud project, you can learn more about setting up a project and a development environment.
Repository structure
โโโ notebooks
โ โโโ official - Notebooks demonstrating use of each Vertex AI service
โ โ โโโ automl
โ โ โโโ custom
โ โ โโโ ...
โ โโโ community - Notebooks contributed by the community
โ โ โโโ model_garden
โ โ โโโ ...
โโโ community-content - Sample code and tutorials contributed by the community
โโโ docs - Deep-dive documentation and advanced setup guides
โโโ skills - Suite of AI Agent "Skills" for Vertex AI
โโโ README.md # Developer guide for Vertex AI skills
โโโ vertex-ai/ # Primary router for Vertex AI tasks
โ โโโ SKILL.md # Entry point that routes across capabilities
โโโ genai-sdk/ # Gemini API usage with Gen AI SDK
โ โโโ SKILL.md # Guides for Python, JS/TS, Go, Java, C#
โโโ vertex-deploy/ # Deploying models to Endpoints
โ โโโ SKILL.md # Commands for open models & custom weights
โโโ vertex-inference/ # Inferencing with GenAI models
โ โโโ SKILL.md # Code samples for Gemini and OpenMaaS
โโโ vertex-tuning/ # Secondary router for model fine-tuning
โโโ SKILL.md # Router for tuning tasks
โโโ gemini/ # Fine-tuning first-party Gemini models
โ โโโ SKILL.md
โโโ open-model/ # Fine-tuning third-party open models
โโโ SKILL.md
Examples
| Category | Product | Description |
|---|---|---|
| Model |
Model Garden/
|
Curated collection of first-party, open-source, and third-party models available on Vertex AI including Gemini, Gemma, Llama 3, Claude 3 and many more. |
| Data |
Feature Store/
|
Set up and manage online serving using Vertex AI Feature Store. |
datasets/
|
Use BigQuery and Data Labeling service with Vertex AI. | |
| Model development |
automl/
|
Train and make predictions on AutoML models |
custom/
|
Create, deploy and serve custom models on Vertex AI | |
rayonvertexai/
|
Use Colab Enterprise and Vertex AI SDK for Python to connect to the Ray Cluster. | |
| Deploy and use |
prediction/
|
Build, train and deploy models using prebuilt containers for custom training and prediction. |
modelregistry/
|
Use Model Registry to create and register a model. | |
Explainable AI/
|
Use Vertex Explainable AI's feature-based and example-based explanations to explain how or why a model produced a specific prediction. | |
mlmetadata/
|
Record the metadata and artifacts and query that metadata to help analyze, debug, and audit the performance of your ML system. | |
| Tools |
Pipelines/
|
Use Vertex AI Pipelines and Google Cloud Pipeline Components to build, tune, or deploy a custom model.
|
Get help
Please use the Issues page to provide feedback or submit a bug report.
Disclaimer
This is not an officially supported Google product. The code in this repository is for demonstrative purposes only.
References
- Vertex AI Jupyter Notebook tutorials
- Vertex AI Generative AI GitHub repository
- Vertex AI documentaton