agent-platform-tuning
Skill này làm gì
Skill này hướng dẫn AI agent tinh chỉnh mô hình bằng dịch vụ tinh chỉnh của Google Cloud. Skill dành cho những người muốn một mô hình được huấn luyện thêm trên các ví dụ của chính họ.
Khi nào nên dùng
- ✓Khi bạn muốn tinh chỉnh một mô hình mở hoặc mô hình Gemini trên Google Cloud.
- ✓Khi bạn cần giúp chuẩn bị dữ liệu huấn luyện cho một job tinh chỉnh trên Agent Platform.
- ✓Khi bạn muốn theo dõi một job tinh chỉnh từ lúc thiết lập đến khi có mô hình hoàn chỉnh.
Liên kết skill
https://github.com/google/skills/blob/main/skills/cloud/agent-platform-tuning/SKILL.mdSao chép rồi dán vào AI của bạn (Claude, ChatGPT hoặc Cursor) và nhờ nó làm theo hướng dẫn.
Cách dùng
Cách dễ nhất: sao chép tin nhắn và dán vào AI của bạn. AI sẽ đọc skill và làm theo hướng dẫn.
Tin nhắn có sẵn để dán
Dành cho Claude Code, Codex hoặc Cursor: chạy lệnh trong thư mục dự án của bạn và skill sẽ được cài đặt.
Tải tệp SKILL.md về và thả vào thư mục skill của agent.
Ví dụ cách nhờ AI
“Giúp tôi tinh chỉnh một mô hình mở trên Google Cloud bằng các ví dụ của riêng tôi.”
5 skill mới mỗi tuần. Đọc chỉ 1 phút.
Cách hoạt động
Skill hỏi trước về dự án và khu vực Google Cloud của bạn, rồi hướng dẫn từng bước chuẩn bị dữ liệu, thiết lập job và theo dõi.
Nội dung kỹ thuật (SKILL.md gốc)
Lấy nguyên văn từ GitHub, do tác giả viết bằng tiếng Anh.
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
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.
- No → STOP tool execution immediately. Do NOT run verification
commands (
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 agcloud storage buckets createcommand 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.mdduring this step and only recommend models explicitly listed in that catalog. Never recommend uncataloged or unsupported models likegoogle/gemma-2-9b-it,gemma-2, orMistral— 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 recommendgemini-2.5-flash(recommended for general/coding/chat) orgemini-2.5-pro. Never recommendgemini-1.5-flash-002,gemini-1.5-pro-002, orgemini-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
- No →
Câu hỏi thường gặp
Tôi có cần dự án Google Cloud để dùng không?
Có. Skill yêu cầu dự án và khu vực của bạn trước khi chạy bất kỳ lệnh nào.
Skill có tinh chỉnh được cả mô hình mở và mô hình Gemini không?
Có. Skill bao gồm cả hai và sẽ hỏi bạn muốn tinh chỉnh loại nào.
Skill có triển khai mô hình đã tinh chỉnh cho tôi không?
Không. Việc triển khai và thiết lập endpoint do các skill riêng xử lý.
Chi tiết
Mô tả gốc của tác giả
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
Độ phổ biến
- Sao GitHub
- 22k
- Vị trí xếp hạng
- #10211
- Giấy phép
- Apache-2.0
- Cập nhật
- 2/11/2026
Bình luận
- …
Thêm skill từ kho mã này
finding-google-skills
22kGiúp agent của bạn tìm hướng dẫn Google phù hợp cho việc thiết lập, như hosting, cơ sở dữ liệu, lưu trữ, đăng nhập hoặc phục vụ mô hình AI.
gcloud
22kGiúp agent của bạn viết và kiểm tra các lệnh gcloud của Google Cloud, tra cứu cú pháp chính xác trước khi chạy bất cứ thứ gì để không đoán các flag.
google-cloud-recipe-auth
22kHướng dẫn agent của bạn qua quản lý danh tính và quyền truy cập của Google Cloud, gồm cách con người và dịch vụ đăng nhập và những quyền họ nhận được.
google-cloud-recipe-onboarding
22kHướng dẫn một lập trình viên mới qua các bước đầu tiên trên Google Cloud, gồm chọn dự án, liên kết thanh toán và triển khai tài nguyên đầu tiên.
Skill tương tự
pytorch-patterns
280kGiúp agent của bạn dùng PyTorch cho các mô hình học máy. Áp dụng thực hành tốt nhất để huấn luyện mô hình hiệu quả và đảm bảo kết quả có thể lặp lại.
evm-token-decimals
280kGiúp agent tránh lỗi về số thập phân khi làm việc với các mạng blockchain khác nhau. Đảm bảo giá trị token chính xác trong giao dịch và phép tính.
ito-inference
280kGiúp agent kiểm tra xem các mô hình AI đã sẵn sàng để dùng chưa. Kết nối yêu cầu tài nguyên tính toán với dịch vụ mô hình đã sẵn sàng.