omh-model-finetuning
Qué hace
Primero comprueba si mejores prompts o recuperación de información ya cierran la brecha, y luego elige un método de entrenamiento adecuado a los datos que tienes. Un modelo entrenado solo se promueve si supera a la versión sin ajustar en ejemplos reservados. Está pensado para equipos que consideran entrenar su propio modelo.
Cuándo usarla
- ✓Cuando te preguntas si conviene ajustar un modelo para tu propio caso de uso.
- ✓Cuando tienes ejemplos y quieres saber qué método de entrenamiento encaja.
- ✓Cuando quieres comprobar si un modelo entrenado supera de verdad al modelo base.
Link de la skill
https://github.com/rlaope/oh-my-hermes/blob/main/agent-skills/omh-model-finetuning/SKILL.mdCópialo y pégalo en tu IA (Claude, ChatGPT o Cursor) pidiéndole que siga las instrucciones.
Cómo usar
La forma más fácil: copia el mensaje y pégalo en tu IA. Ella lee la skill y sigue las instrucciones.
Mensaje listo para pegar
Para Claude Code, Codex o Cursor: ejecútalo en la carpeta del proyecto y la skill queda instalada.
Descarga el SKILL.md y ponlo en la carpeta de skills de tu agente.
Ejemplo de qué pedirle a la IA
“¿Deberíamos ajustar un modelo para nuestras respuestas de soporte, o basta con un mejor prompt?”
5 skills nuevas por semana. 1 minuto de lectura.
Cómo funciona
El agente pide ejemplos reservados y las puntuaciones del prompt actual, y prueba primero las opciones más simples. Si ninguna cierra la brecha, planifica un método de entrenamiento con una comparación contra el modelo base.
Contenido técnico (SKILL.md original)
Texto original del autor, en inglés, directo de GitHub.
Model Finetuning
This is an OMH model-finetuning workflow skill, projected for Agent Skills hosts (Claude Code, Codex, Cursor, opencode, OpenClaw, pi).
Why This Exists
model-finetuning exists because producing a model had no owner: inference-serving serves one that exists and llm-app-dev builds on top of one, while an SFT or DPO question had 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.
Do Not Use When
- The ask is onboarding a new model generation into OMH's routing, calibration, or pricing.
- The ask is serving an existing model behind an endpoint or benchmarking that endpoint; use
omh-inference-serving. - The ask is building an application on top of a hosted model -- RAG, structured output, prompt versions; use
omh-llm-app-dev. - The ask is learning from an OMH run, a missed route, or a skill improvement candidate.
Examples
Good example:
- Prompt: should we fine-tune a model for our support replies or is a better prompt enough
- Expected behavior: Ask for the held-out examples and the current prompt's score, try few-shot and retrieval against them, and return
do_not_finetuneif one closes the gap; otherwise pick SFT from the reply demonstrations and gate promotion on beating the untuned baseline. - Why: Most prompt-shaped gaps close without training, and training first hides that the cheaper fix was enough.
Bad example:
- Prompt: the fine-tuned checkpoint got 0.82 on our eval, ship it
- Expected behavior: Refuse to promote on a standalone score: run the same held-out eval on the untuned baseline and compare before promotion.
- Why: A score with no baseline cannot show the training helped at all.
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.
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
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.
Required inputs:
- 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, ra
Preguntas frecuentes
¿Recomendará entrenar si un prompt funciona?
No. La skill devuelve un resultado de no ajustar cuando un método más simple cierra la brecha.
¿Sirve el modelo una vez entrenado?
El servicio lo cubre una skill aparte de servicio de inferencia.
¿Construye una app sobre un modelo?
Construir funciones de app sobre un modelo alojado lo cubre una skill aparte de apps con LLM.
Detalles
Descripción original del autor
[omh] Fine-tuning a model on your own data -- SFT, DPO, RLVR or a LoRA adapter: decide first whether prompting or retrieval already closes the gap, choose the method from the data you have, and promote a checkpoint only when it beats the untuned baseline on a held-out eval. Use when the user says: 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.
repo: rlaope/oh-my-hermes
Popularidad
- Estrellas en GitHub
- 5,1 mil
- Posición en el ranking
- #15135
- Licencia
- MIT
- Actualizada
- 2/11/2026
Comentarios
- …
Más skills de este repositorio
omh-accessibility-audit
5,1 milAyuda a tu agente a revisar una pantalla o flujo en busca de brechas de accesibilidad: teclado, lectores de pantalla, contraste y tamaño de los objetivos táctiles.
omh-adversarial-consensus
5,1 milAyuda a tu agente a atacar una propuesta técnica desde varios ángulos independientes antes de comprometerte con ella, y luego resume lo que sobrevive.
omh-agent-debug
5,1 milAyuda a tu agente a averiguar por qué otro agente de IA está atascado, en bucle o desviado, y sugiere la forma más pequeña y segura de recuperarlo.
omh-agent-instructions
5,1 milAyuda a tu agente a escribir o actualizar el archivo de instrucciones, como AGENTS.md o CLAUDE.md, que indica a las herramientas de IA cómo trabajar en un proyecto.
Skills parecidas
add-model-provider
394 milPermite que tu agente conecte un nuevo proveedor de modelos de IA a OpenClaw con comandos de configuración seguros, mantenga las claves API fuera del texto plano y haga una prueba en vivo.
acp-router
394 milAyuda a tu agente a enviar una tarea a un asistente de programación como Claude Code o Cursor a través de OpenClaw, para que el trabajo se ejecute en esa herramienta.
browser-automation
394 milEnseña a tu agente a controlar páginas web paso a paso, incluidos los inicios de sesión, las pestañas y la recuperación cuando una página deja de responder.