You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
* Add monitor + calibrate scripts, fix 4 bugs from code review
New scripts:
- monitor_training.py: Poll a running job until completion, stream events
in real time with status icons for reward steps, errors, and milestones
- calibrate_grader.py: Run base model on training data, score with your
Python grader, output pass rates at every threshold, recommend optimal
pass_threshold. Automates the most critical pre-RFT step.
Bug fixes (from code review, missed in PR #29 squash):
- submit_training.py, deploy_model.py: Add missing 'requests' to PEP 723 deps
- submit_training.py: Fix file handle leak on grader file read
- evaluate_model.py: Fix StopIteration crash on malformed test data
- validate/validate_rft.py: Fix broken newline escape detection logic
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
* Add quickstart guide: 5-step path to first fine-tuned model
New workflow: quickstart.md — goes from zero to a deployed fine-tuned
model in 5 steps (credentials, data prep, submit, monitor, deploy+test).
Targets novice users who just want to get started without reading the
full pipeline guide.
SKILL.md updated to list quickstart as the first workflow option.
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
* Revise quickstart: synthetic data from prompt, baseline step, comparison
- Step 2: Generate training data from a prompt (no pre-existing data needed)
- Step 3: Baseline the base model before training (see what you're improving)
- Step 6: Side-by-side comparison of base vs fine-tuned on same questions
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
* Add cleanup.py: list and delete old files, deployments, pending jobs
Helps users avoid quota exhaustion (max 100 files per resource). Supports:
- --list (all/jobs/deployments/files) for resource inventory
- --delete-files with optional --older-than N days filter
- --cancel-pending to cancel queued jobs
- --dry-run to preview before executing
Includes quota warning when approaching 80/100 file limit.
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
* Fix: JSON parsing for LLM output, align failure rate docs to 25-50%
1. quickstart.md: Use regex to extract JSON from code fences — the
simple strip() approach fails when LLM adds preamble text before
the JSON block
2. grader-design.md: Change prose from '30-50%' to '25-50%' to match
the table and calibrate_grader.py code
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
* Update README, CHANGELOG, and GETTING_STARTED for agent skills
README.md:
- Add quickstart + agent-assisted paths to Quick Start section
- Update AI Agent Skills counts (12 scripts, 14 references, 6 workflows)
CHANGELOG.md:
- Add entries for PRs #24, #26, #28, #29, #30
- Restructure into versioned releases (1.0.0, 1.1.0, 2.0.0, Unreleased)
GETTING_STARTED.md:
- Add Option A (AI-Assisted) path before the manual demo path
- Fix repo URL (Azure/fine-tuning -> microsoft-foundry/fine-tuning)
- Renumber steps to accommodate new section
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
* Update Skills/README.md: auto-discovery, new scripts, uv support, grader guidance
- Quick Start: add auto-discovery path (symlinks), uv as recommended install
- What This Skill Covers: add grader calibration, monitoring, cleanup, token cost
- Directory Structure: add monitor_training, calibrate_grader, cleanup, quickstart,
grader-design; update descriptions for accuracy
- Guidance Highlights: add grader calibration, Python grader default, token cost
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
* CHANGELOG: set Unreleased to v2.1.0 (2026-04-21)
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
* Fix: SKILL.md missing DPO in submit description, remove unused requests dep from cleanup.py
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
---------
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
|**Iterative experimentation**| Plan successive runs based on results |
20
22
|**Model deployment**| Deploy fine-tuned models with the correct format and SKU |
21
-
|**Model evaluation**| Score outputs with custom LLM judges |
23
+
|**Model evaluation**| Score outputs with custom LLM judges, compare accuracy and token cost |
24
+
|**Resource cleanup**| Delete old files and deployments to reclaim quota |
22
25
23
26
## Quick Start
24
27
25
-
### 1. Install the skill
28
+
### 1. Set up the skill
26
29
27
-
**GitHub Copilot (VS Code / CLI):**
28
-
Copy the `Skills/` directory into your project and reference `SKILL.md` in your Copilot instructions, or use it as a [Copilot custom instructions](https://docs.github.com/en/copilot/customizing-copilot/adding-repository-custom-instructions).
30
+
**Auto-discovery (recommended):**
31
+
If you cloned the [microsoft-foundry/fine-tuning](https://github.com/microsoft-foundry/fine-tuning) repo, coding agents auto-discover the skill via symlinks:
- Claude Code → `.claude/skills/azure-ai-fine-tuning`
34
+
- Codex / other agents → `.agents/skills/azure-ai-fine-tuning`
29
35
30
-
**Claude Code:**
31
-
Add the skill directory to your project and reference `SKILL.md` in your `CLAUDE.md` or system prompt.
36
+
Just open the repo and start asking questions — no manual setup needed.
32
37
33
-
**Any agent:**
34
-
Point your agent at `SKILL.md`as a context file. It will discover the workflows, references, and scripts from there.
38
+
**Manual setup:**
39
+
Copy the `Skills/` directory into your project and reference `SKILL.md`in your agent's instructions file (`copilot-instructions.md`, `CLAUDE.md`, etc.).
35
40
36
41
### 2. Set up your environment
37
42
43
+
**Option A: `uv` (zero-setup, recommended):**
44
+
All scripts have [PEP 723](https://peps.python.org/pep-0723/) inline dependency declarations. Just run them with `uv`:
38
45
```bash
39
-
cp Skills/.env.template Skills/.env
40
-
# Edit .env with your Azure OpenAI endpoint, API key, and resource coordinates
0 commit comments