帮助你在 Azure AI Foundry 上完成模型微调、部署与评估全流程
复制安装指令,让 AI 自动完成配置 · 推荐新手
请帮我安装 askskill 上的 "finetuning" 技能: 1. 下载 https://raw.githubusercontent.com/microsoft/GitHub-Copilot-for-Azure/main/plugin/skills/microsoft-foundry/finetuning/SKILL.md 2. 保存为 ~/.claude/skills/finetuning/SKILL.md 3. 装好后重载技能,告诉我可以用了
我想在 Azure AI Foundry 里做监督微调,请帮我把一批客服问答整理成可用于 SFT 的训练数据格式,并检查字段完整性、样本质量、长度分布和潜在脏数据,最后给出上传建议。
一份适合 SFT 的数据格式说明、清洗建议、质量检查结果与上传准备清单。
请指导我在 Azure AI Foundry 中使用偏好数据发起 DPO 微调任务,包括数据集要求、训练参数建议、作业提交流程、常见报错排查,以及训练完成后的模型部署步骤。
一套 DPO 微调实施方案,包含参数建议、提交步骤、问题排查和部署说明。
我已经完成微调,请帮我设计评估方案,对比基座模型与微调模型的表现,并说明如何校准 grader、选择评估指标、解读结果,以及是否适合上线。
一份模型评估与 grader 校准方案,包含指标、对比方法、结果解读和上线建议。
Fine-tune models using SFT (supervised), DPO (preference), or RFT (reinforcement with graders). Covers dataset prep, training, deployment, and evaluation.
Use this sub-skill when the user asks about:
Do NOT use for: General model deployment without fine-tuning (use deploy-model), agent creation (use agents), prompt optimization without training (use prompt-optimizer).
| Stage | Guide |
|---|---|
| Quick start | workflows/quickstart.md |
| Full pipeline | workflows/full-pipeline.md |
| Create data | workflows/dataset-creation.md |
| Iterate | workflows/iterative-training.md |
| Diagnose | workflows/diagnose-poor-results.md |
| Topic | File |
|---|---|
| SFT vs DPO vs RFT | references/training-types.md |
| Hyperparameters | references/hyperparameters.md |
| Data formats | references/dataset-formats.md |
| Grader design (RFT) | references/grader-design.md |
| Reward hacking | references/reward-hacking.md |
| Agentic RFT (tools) | references/agentic-rft.md |
| Deployment | references/deployment.md |
| Training curves | references/training-curves.md |
| Evaluation | references/evaluation.md |
| Vision fine-tuning | references/vision-fine-tuning.md |
| Large file uploads | references/large-file-uploads.md |
| Platform gotchas | references/platform-gotchas.md |
| Script | Purpose |
|---|---|
scripts/submit_training.py | Submit SFT/DPO/RFT jobs |
scripts/monitor_training.py | Poll job until completion |
scripts/calibrate_grader.py | Find optimal RFT pass_threshold |
scripts/check_training.py | Analyze curves, list checkpoints |
scripts/deploy_model.py | Deploy via ARM REST API |
scripts/evaluate_model.py | LLM judge evaluation |
scripts/convert_dataset.py | Convert between SFT/DPO/RFT formats |
scripts/generate_distillation_data.py | Generate synthetic training data |
scripts/score_dataset.py | Quality scoring on training data |
scripts/cleanup.py | Delete old files and deployments |
scripts/validate/ | Data validators (SFT, DPO, RFT) + stats |
scripts/validate/validate_sft.py| Task | Command |
|---|---|
| Validate SFT data | python scripts/validate/validate_sft.py data.jsonl |
| Submit SFT job | python scripts/submit_training.py --model gpt-4.1-mini --training-file train.jsonl --validation-file val.jsonl --type sft |
| Monitor job | python scripts/monitor_training.py --job-id ftjob-xxx |
| Analyze curves | python scripts/check_training.py --job-id ftjob-xxx |
…
帮助开发者为 Web 应用接入 Azure Application Insights 并配置遥测采集。
调用 Azure AI 完成搜索、语音转写、文本转语音与 OCR 识别
分析并精简 Markdown 内容,降低 token 消耗并提升 AI 处理效率。
用于迭代检查并修复技能 frontmatter 合规性、分数与 token 问题。
帮助你编写、审查并规范符合 agentskills.io 规范的技能文档
帮助你编写、校验并运行基于 eval.yaml 的智能体评测套件
帮助你端到端部署、评估、微调并持续优化 Microsoft Foundry 智能体与模型。
帮助用户按意图在 Azure OpenAI 中部署模型并查询区域容量与可用性。
引导你逐步自定义 Azure OpenAI 模型部署参数与高级选项。
智能选择 Azure OpenAI 最佳可用区域并快速完成部署
帮助开发者探索 AI 模型、MCP 服务与智能代理实验集成流程
帮助你跨区域与项目查询 Azure OpenAI 容量配额并推荐最佳部署位置