Model Finetuning
Required: the task the model fails at, and the held-out examples that show the failure, what prompting, few-shot examples, or retrieval were already tried, and what they scored, the data available: demonstrations, ranked or paired preferences, or answers a program can check, the base model, its license, and the compute or provider the operator will train on, observed eval scores for the untuned baseline and every candidate checkpoint. Output: finetune_decision/v1, training_method_choice/v1, training_data_plan/v1, baseline_comparison/v1, checkpoint_promotion_gate/v1.
Why This Exists
model-finetuning exists because producing a model had no owner: omh-model-optimization onboards a model into OMH, omh-inference-serving serves one that exists, and omh-llm-app-dev builds on top of one, while an SFT or DPO question reached omh-workflow-learning with no baseline comparison and no way to answer that training is not needed.
First Steps
- Ask what the untuned model and the best prompt score on the held-out examples before discussing any method.
- Ask what shape the data has -- demonstrations, preference pairs, or answers a program can check.
Contract: references/full-contract.md (examples, sibling boundaries, full artifact details).
Workflow Lane
- Current lane: Research and company ops - research, signals, ops, and briefings.
- If intent belongs to another lane, hand back to
omh-routingor name the adjacent workflow. - Shared product, routing, compatibility, and evidence rules:
skill_view(name='omh-routing', file_path='references/skill-common-rail.md').
When to Use
Use when someone wants to fine-tune a model on their own data, or is deciding whether to: supervised fine-tuning (SFT), preference tuning (DPO), reinforcement learning from verifiable rewards (RLVR), or a LoRA adapter. The output is a decision on whether to train at all, the method chosen from the data available, a training data plan with a held-out split, a comparison against the untuned baseline, and a checkpoint promotion gate; OMH trains nothing and runs no eval.
Strong routing signals: model-finetuning, model finetuning, model fine-tuning, fine-tune a model, fine-tune the model, fine tune a model, fine tune the model, fine-tune, fine tune, fine-tuning, fine tuning, fine-tuned model, fine-tuned checkpoint, finetune, finetuning, sft, supervised fine-tuning, dpo, direct preference optimization, rlvr, verifiable rewards, lora, qlora, lora adapter, preference data, untuned baseline, held-out eval
Catalog Metadata
Category: planning
Phase: model-finetuning
Hermes role: planner
Quality tier: baseline-comparison-gated
Reasoning demand: standard
Quality bar:
- Measure the untuned model and the cheaper fixes on the held-out eval before proposing any training.
- Load
references/finetuning-method.mdfor the decision ladder, the method table, the data checklist, and the promotion procedure instead of recalling them. - Choose the method from the data that exists, not from the method that is fashionable.
- Compare every candidate against the untuned baseline on the same eval, never against its own previous run alone.
- Keep prepared, trained, evaluated, and promoted as separate states for every checkpoint.
Handoff policy:
Keep the fine-tune decision, the method choice, the data plan, the baseline comparison, and the promotion gate in Hermes. Losses, eval scores, and comparisons are recorded only from executor, operator, or wrapper observed output; OMH never launches a training run, calls a model, or runs an eval.
Safety rules:
- Decide whether to fine-tune before any training step;
do_not_finetuneis a complete answer when prompting or retrieval closes the measured gap. - Never promote a checkpoint on a standalone score; promotion needs the same held-out eval observed on the untuned baseline and on the candidate.
- Draw the held-out split before training and keep it out of the training data; an eval the model trained on proves nothing.
- Do not train on data whose license or consent does not permit it.
- OMH trains nothing, calls no model, and runs no eval; every loss, score, and comparison comes from observed output or is marked unverified.
Completion Checklist
- The fine-tune decision is stated, and
do_not_finetunewas considered first. - The method is chosen from the data's shape and its failure mode is named.
- The held-out split was drawn before training and checked for overlap.
- Promotion cites the same eval observed on the untuned baseline and the candidate.
- OMH ran nothing, and every score cites observed output or is marked unverified.
Recovery Notes
- If no held-out eval exists, building one is the first step; say so before any training plan.
- If the candidate does not beat the baseline, keep the baseline serving and report the gap rather than retraining blindly.
Runtime Evidence
Preferred harness for this skill: research.
omh runtime record --skill model-finetuning --harness research --status started
Record observed delegation results; otherwise return not_available or not_observed.
Prepared OMH routing is not execution, review, CI, merge-readiness, or merge evidence.
- Treat wrapper memory/context summaries as advisory local context, not proof of opaque Hermes memory reads or changes.
Preserve workflow intent and stop conditions; verify before claiming completion.
Reply in the user's own words and the host's own voice: its SOUL.md persona owns reply language, tone, speech level, and sentence endings, progress updates included (where it sets no language, use the one the user wrote in), and OMH shapes structure and content only. When the requested output is delivered, put any open points inside the result and end with no question or offer; only when the person asked to choose or decide and that choice is still theirs, end with one specific question about it, not a list, a generic offer, or a footer; the shared rail's Reply Language And Host Voice and Turn Ending sections hold the full rule.
Use Hermes-native subagent/delegation features when available: native subagents -> Hermes delegation when available, otherwise sequential lanes.
Shared product, compatibility, topology, memory, harness, and execution rules: skill_view(name='omh-routing', file_path='references/skill-common-rail.md'). Load it when applicable; otherwise name an unavailable capability.