必须先有 Google Cloud 项目并完成环境配置,否则 Notebook 无法运行;更多生成式 AI Notebook 在另一个 generative-ai 仓库中,不在此仓库;仓库代码仅供演示,非官方支持产品
vertex-ai-samples
GoogleCloudPlatformApache-2.0活跃维护Google Cloud Vertex AI 的官方示例合集,提供 Notebook、代码和示例应用,演示如何开发、训练和管理机器学习与生成式 AI 工作流。
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 项目并按官方文档配置开发环境:https://cloud.google.com/vertex-ai/docs/start/cloud-environmentREADME 未说明本地硬件要求,示例运行在 Google Cloud Vertex AI、Colab 或 Workbench 等云端环境
Google 官方 Vertex AI 示例仓库,用 Notebook 和代码演示如何在 GCP 上开发和部署机器学习与生成式 AI 工作流
Google Cloud Vertex AI 的官方示例合集,提供 Notebook、代码和示例应用,演示如何开发、训练和管理机器学习与生成式 AI 工作流。
核心能力
- 按服务分类的官方 Notebook,覆盖 AutoML、自定义训练、预测等
- 提供社区贡献的 Model Garden 示例,含 Gemini、Gemma、Llama 3、Claude 3
- 内置 skills 目录,为 AI Agent 提供部署、推理、微调的操作指引
- 支持在 Colab、Colab Enterprise、Vertex AI Workbench 中一键打开运行
- 含 Pipelines、Feature Store、Model Registry、Explainable AI 等工具示例
容易踩的坑
暂无 release 数据(可能没有发版,或尚未同步)。
用户点评
登录用户的真实使用记录,可按版本和硬件筛选还没有人点评。第一个说出真实体验的人最有价值。
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
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