checkpoint-promotion
Fungsinya
Alat ini memeriksa apakah model AI yang sudah dilatih siap untuk dirilis ke publik. Alat ini menguji model di berbagai bidang untuk memastikan kemampuan umumnya tidak menurun dan model tidak sekadar menghafal data uji.
Kapan dipakai
- βSetelah melatih model AI baru.
- βSaat memutuskan apakah model AI yang sudah dilatih layak untuk dirilis.
- βSaat model yang sudah dirilis perlu diperiksa ulang dengan data baru.
Link skill
https://github.com/wshobson/agents/blob/main/plugins/llm-finetuning/skills/checkpoint-promotion/SKILL.mdSalin lalu tempelkan ke AI Anda (Claude, ChatGPT, atau Cursor) dan minta AI mengikuti instruksinya.
Cara pakai
Cara paling mudah: salin pesan ini dan tempelkan ke AI Anda. AI akan membaca skill dan mengikuti instruksinya.
Pesan siap tempel
Untuk Claude Code, Codex, atau Cursor: jalankan di folder proyek, lalu skill langsung terpasang.
Unduh SKILL.md lalu taruh di folder skill agen Anda.
Contoh permintaan ke AI
βPeriksa apakah model yang sudah dilatih ini siap untuk dipromosikan.β
5 skill baru setiap minggu. 1 menit baca.
Cara kerjanya
Model melewati empat pemeriksaan: kualitas data latih, performa pada tugas umum dibandingkan model dasar, perbandingan langsung dengan model dasar pada tugas tertentu, dan uji skala kecil di tahap akhir. Jika gagal di salah satu tahap, model ditolak.
Konten teknis (SKILL.md asli)
Teks asli dari pembuat, dalam bahasa Inggris, langsung dari GitHub.
Checkpoint Promotion
The Phase 5 gate for the whole
plugin: a checkpoint that trains
cleanly and beats its task metric
still doesn't ship without
clearing all four stages below.
eval-harness-first built the
suite re-run here β this skill is
where that suite's baseline
decides something.
Input: a trained checkpoint,
eval/baseline-<model>.json from
eval-harness-first, and the
frozen eval/drift-suite.yaml.
Output format:
promotion-report.md β the
four-stage evidence plus a
terminal PROMOTE or REJECT
verdict that /finetune Phase 5
and /promote-checkpoint consume
directly.
The Four-Stage Gate
Each stage gates the next β a failure at stage 2 means stage 3 doesn't run. Stages 2 and 3 share one expensive inference pass, so running them concurrently and applying gate order at verdict time is licensed on a deterministic arena (nothing saved by serializing); a judge-based arena should still wait for stage 2 first β that's where the real savings are.
- Data-quality gate. Before
any eval touches the
checkpoint: dedup the training
set, check for eval-goldens
leakage (the exact failure
trace-to-training-data's Hygiene section exists to prevent), and scan for label noise. A checkpoint trained on leaked goldens invalidates every later stage. - Held-out + frozen
capability-drift suite.
Re-run
eval-harness-first'seval/drift-suite.yamlβ MMLU/GSM8K/IFEval plus 200β500 domain-adjacent items β against the checkpoint and diff againstbaseline-<model>.jsonper benchmark against the Drift Budget table below. - Paired arena vs. base.
Position-randomized judge,
checkpoint vs. base model, same
prompts β or the deterministic
paired-comparison variant in
references/gate-templates.mdwhen every grader in the harness is deterministic (no LLM-judge; position randomization N/A there). A holdout win that loses the live arena does not ship β stage-2 numbers and stage-3 judgments must agree; a win on frozen goldens and a loss in paired comparison is a real signal, not a discrepancy to explain away. - Canary. 5β10% stratified rollout with auto-rollback for any checkpoint reaching production traffic. Local-only users stop at stage 3 β skipping stage 4 for a local deployment is the correct stopping point, not a shortcut.
Drift Budget
| Drift (pts) | Verdict |
|---|---|
| β€1 | Noise β proceed |
| 2β5 | Rerun with seed variation before deciding |
| >5 | HARD FAIL β no exception for task gains |
The >5pt row governs regardless of the others: a checkpoint that gained 8 points on the target task and lost 6 points of general capability still fails here β task improvement never buys back a drift-budget breach.
Item count derives from the
budget, not convenience: the
strict n for a half-width under
half the 5pt hard-fail threshold
is ~1,300 at typical accuracy
(pβ0.7); n=200 is a pragmatic
floor (Β±6pt half-width at that
same p, n=50 Β±13pt) β report the
half-width with every verdict,
and treat a margin smaller than
it as REJECT (uncertain), not
PASS/HARD FAIL. Full math and a
5-run cautionary example:
references/gate-templates.md.
RERUN is not a verdict. A
2β5pt drift only ever produces a
PROMOTE or REJECT after the
seed-variation rerun completes β
PROMOTE requires landing back
at β€1pt (noise); any rerun still
1pt β 2β5pt band or >5pt breach alike β resolves stage 2 to a hard
REJECT. No report may reach the Verdict section with stage 2 still showingRERUN.
Catastrophic Forgetting
Unmanaged LoRA fine-tuning loses real general capability, and stage 2 is what catches it:
- ~43% knowledge loss unmanaged β no replay, no regularization.
- ~10% with basic management β some replay or a conservative LR.
- ~3% with replay + EWC β the disciplined case.
- 10β30% general-data replay mix is the standard mitigation β blend general- domain data into training rather than target-task data alone.
If a checkpoint hits the >5pt
hard fail in stage 2, work this
escalation ladder in order β the
one canonical order this skill
and references/gate-templates.md
both point to:
- Adjust the replay-mix fraction β swap rows, don't add them (adding confounds fraction with total optimizer steps). Dose is not monotonic at small-run scale (<~100 steps) β re-check drift after any swap.
β¦
Pertanyaan umum
Apa itu 'drift'?
Ini terjadi ketika model AI yang dilatih untuk tugas tertentu justru menjadi lebih buruk pada tugas umum lain yang sebelumnya bisa ia kerjakan.
Apa itu 'leakage'?
Ini terjadi ketika data yang dipakai untuk menguji model ternyata ikut masuk ke data latih, sehingga hasil uji bisa tampak lebih bagus dari yang sebenarnya.
Apa yang terjadi jika model gagal dalam pengujian?
Model akan ditolak dan mungkin perlu disesuaikan atau dilatih ulang, mengikuti rekomendasi dari alat ini.
Detail
Deskripsi asli dari pembuat
Gate fine-tuned checkpoints with drift budgets, paired comparison, and forgetting checks before promotion. Use after a training run produces a checkpoint, when deciding whether a tuned model ships, or when a promoted model needs re-gating against updated goldens.
repo: wshobson/agents
Popularitas
- Bintang GitHub
- 41k
- Peringkat
- #6728
- Lisensi
- MIT
- Diperbarui
- 15/10/2026
Komentar
- β¦
Skill lain dari repositori ini
screen-reader-testing
41kMeminta agent Anda menguji website menggunakan screen reader untuk memastikan website dapat diakses.
wcag-audit-patterns
41kMembantu agent Anda mengaudit aksesibilitas website dan memperbaiki masalah sesuai panduan WCAG.
multi-reviewer-patterns
41kMemungkinkan agent Anda mengoordinasikan code review paralel, menghapus temuan ganda, dan menggabungkan laporan.
parallel-debugging
41kMemungkinkan agent Anda men-debug masalah rumit dengan investigasi paralel dan analisis akar masalah.
Skill serupa
add-model-provider
394kMemungkinkan agent Anda menghubungkan penyedia model AI baru ke OpenClaw dengan perintah pengaturan yang aman, menjaga kunci API tetap di luar teks biasa, dan menjalankan uji langsung.
acp-router
394kMembantu agent Anda mengirim tugas ke asisten pemrograman seperti Claude Code atau Cursor lewat OpenClaw, sehingga pekerjaan dijalankan di alat tersebut.
browser-automation
394kMengajari agent Anda mengendalikan halaman web langkah demi langkah, termasuk login, tab, dan pemulihan saat halaman berhenti merespons.