跳到正文
Skillpedia
机器学习22k · #10211

agent-platform-tuning

它能做什么

这项技能引导 AI 智能体使用 Google Cloud 的微调服务来微调 AI 模型。适合希望让模型用自己的示例进一步训练的人。

适用场景

  • ✓当你想在 Google Cloud 上微调开源模型或 Gemini 模型时。
  • ✓当你需要为 Agent Platform 上的模型微调任务准备训练数据时。
  • ✓当你想从设置到完成模型全程监控微调任务时。

技能链接

https://github.com/google/skills/blob/main/skills/cloud/agent-platform-tuning/SKILL.md

复制后粘贴给你的 AI(Claude、ChatGPT 或 Cursor),让它按照说明操作。

使用方法

最简单的方法:复制下面的消息,粘贴给你的 AI。它会读取这个技能并按说明操作。

可直接粘贴的消息

请用这个技能帮我:https://github.com/google/skills/blob/main/skills/cloud/agent-platform-tuning/SKILL.md 阅读该链接中的 SKILL.md 文件,并在我的任务中按照它的说明来做。
想让你的 AI 自己找到这样的技能吗?安装免费的 Skillpedia MCP:只需一行,每次任务前它都会在 15,000+ 个技能中搜索。1 分钟完成安装 →

可以这样问 AI

“请帮我用我自己的示例,在 Google Cloud 上微调一个开源模型。”

每周 5 个新技能,1 分钟读完。

工作原理

它会先询问你的 Google Cloud 项目和区域,然后逐步指导你完成数据准备、任务设置和监控。

技术内容(原始 SKILL.md)

作者在 GitHub 上的英文原文。

Agent Platform Model Tuning

Overview

This skill provides procedural knowledge for fine-tuning Large Language Models (both Open Models and Gemini Models) using Agent Platform's tuning service. It covers the entire lifecycle from environment setup and data preparation to job configuration, monitoring, and deployment.

Workflow Decision Tree

  1. Project & Region Verification Check: Has the user provided the Google Cloud project and region?

    • No → STOP tool execution immediately. Do NOT run verification commands (gcloud services list, gcloud projects get-iam-policy), do NOT create resources, and do NOT begin dataset preparation. Prompt the user to specify or confirm the project and region (e.g. "Could you please specify which Google Cloud project and region you would like to use?").
      • If the user's inquiry is solely to check or verify environment readiness (APIs, IAM, service agents), ask ONLY for the project and region. Do NOT ask for the model category.
      • If the user is requesting a tuning workflow and also omitted whether they want to tune an Open Model or a Gemini Model, you may ask both questions together.
    • Yes → Proceed.
  2. Model Category Identification: Has the user explicitly stated whether they want to tune an Open Model or a Gemini Model?

    • No →
      • EXCEPTION for Environment Verification Inquiries: If the user is only asking to check or verify that the environment, APIs, IAM permissions, or service agents are ready for tuning, do NOT ask for the model category. Verify the environment once the project and region are known and confirm readiness.
      • Otherwise, STOP tool execution. Ask the user if they want to tune an Open Model or a Gemini Model. General Setup and Prerequisite Inquiries (e.g., "What environment setup is needed?"): If the user asks what environment setup, prerequisites, APIs, or permissions are needed to start fine-tuning, and has not yet chosen a model category:
      • Describe the setup requirements (APIs, IAM permissions/service agents, and Python SDKs).
      • Regarding Cloud Storage: state that an existing Cloud Storage bucket is needed for datasets and artifacts (e.g., gs://<existing-bucket>). CRITICAL: Do NOT instruct the user to create a bucket, do NOT output a gcloud storage buckets create command in setup instructions, and do NOT assume a non-existent bucket exists (users may not have bucket creation permissions and will provide their own existing bucket).
      • You MUST explicitly conclude your response by asking whether they want to tune an Open Model or a Gemini Model. Never provide setup instructions without asking for the model category choice. (Note: if they ask to actively check or verify a project whose ID or region is missing, ask for the project and region first without running tool calls).
    • If the user provides a specific tuning purpose, you should recommend three models: one Open Model, one Gemini Model, and a third generally recommended choice. Briefly list the pros and cons of each (e.g., Gemini models might be more expensive, etc.). CRITICAL: You must read references/models.md during this step and only recommend models explicitly listed in that catalog. Never recommend uncataloged or unsupported models like google/gemma-2-9b-it, gemma-2, or Mistral — only recommend supported models such as Gemma 3 (google/gemma3@gemma-3-12b-it), Qwen 3 (qwen/qwen3@qwen3-8b), or Llama 3.1 (meta/llama3_1@llama-3.1-8b). For Gemini models, ONLY recommend gemini-2.5-flash (recommended for general/coding/chat) or gemini-2.5-pro. Never recommend gemini-1.5-flash-002, gemini-1.5-pro-002, or gemini-1.5-flash, which are deprecated and unsupported by the tuning service. If the user names a model that is not in the catalog, follow the fallback rule in that catalog. Do not proceed with model configuration until the category is confirmed.
    • Yes → Procee
常见问题

使用它需要 Google Cloud 项目吗?

需要。在运行任何命令之前,本技能会先询问你的项目和区域。

它能微调开源模型和 Gemini 模型吗?

可以。两者都支持,它会询问你想微调哪一种。

它会替我部署微调后的模型吗?

不会。部署和端点设置由单独的技能负责。

详情

作者的原始描述

Agent Platform Model Tuning. Use when you need to fine-tune open models or Gemini models using Agent Platform infrastructure. Don't use for model training outside Agent Platform, model deployment to endpoints (use `agent-platform-deploy`), or managing serving endpoints (use `agent-platform-endpoint-management`).

repo: google/skills

热度

GitHub 星标
22k
排名
#10211
许可证
Apache-2.0
更新时间
2026/11/2

这个技能有用吗?

0

登录 后即可投票。

评论

  • …

同一仓库的更多技能

相似技能