मुख्य सामग्री पर जाएँ
Skillpedia
एजेंट5.1k · #15135

omh-model-finetuning

यह क्या करती है

यह पहले देखती है कि बेहतर प्रॉम्प्ट या रिट्रीवल से ही कमी पूरी हो रही है या नहीं, फिर आपके डेटा के अनुरूप ट्रेनिंग तरीका चुनती है। ट्रेन किया गया मॉडल तभी आगे बढ़ता है जब वह होल्डआउट उदाहरणों पर बिना ट्रेन वाले वर्शन से बेहतर हो। यह उन टीमों के लिए है जो अपना मॉडल ट्रेन करने पर विचार कर रही हैं।

कब इस्तेमाल करें

  • ✓जब आप सोच रहे हों कि अपने इस्तेमाल के लिए मॉडल को फ़ाइन-ट्यून करना चाहिए या नहीं।
  • ✓जब आपके पास उदाहरण हों और जानना हो कि कौन सा ट्रेनिंग तरीका ठीक रहेगा।
  • ✓जब आप जाँचना चाहें कि ट्रेन किया गया मॉडल सच में बेस मॉडल से बेहतर है।

Skill का लिंक

https://github.com/rlaope/oh-my-hermes/blob/main/agent-skills/omh-model-finetuning/SKILL.md

इसे कॉपी करके अपने AI (Claude, ChatGPT या Cursor) में पेस्ट करें और निर्देशों का पालन करने को कहें।

कैसे इस्तेमाल करें

सबसे आसान तरीका: मैसेज कॉपी करके अपने AI में पेस्ट करें। वह skill पढ़कर निर्देशों का पालन करेगा।

पेस्ट करने के लिए तैयार मैसेज

इस skill से मेरी मदद करो: https://github.com/rlaope/oh-my-hermes/blob/main/agent-skills/omh-model-finetuning/SKILL.md इस लिंक की SKILL.md फ़ाइल पढ़ो और मेरे काम में उसके निर्देशों का पालन करो।
क्या आप चाहते हैं कि आपका AI ऐसी skills खुद ढूँढे?मुफ़्त Skillpedia MCP इंस्टॉल करें: बस एक लाइन, और हर काम से पहले यह 15,000+ skills में खोजता है।1 मिनट में इंस्टॉल करें →

AI से क्या माँगें: उदाहरण

“हमारे सपोर्ट जवाबों के लिए मॉडल को फ़ाइन-ट्यून करें, या एक बेहतर प्रॉम्प्ट काफ़ी होगा?”

हर हफ़्ते 5 नई skills, 1 मिनट में पढ़ें।

यह कैसे काम करती है

एजेंट होल्डआउट उदाहरण और मौजूदा प्रॉम्प्ट के स्कोर माँगता है, फिर सरल विकल्पों को पहले परखता है। अगर कोई भी विकल्प कमी नहीं पाटता, तो वह बेस मॉडल से तुलना के साथ ट्रेनिंग तरीके की योजना बनाता है।

तकनीकी सामग्री (मूल SKILL.md)

लेखक का मूल टेक्स्ट, अंग्रेज़ी में, सीधे 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_finetune if 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_finetune was 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.md for 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
अक्सर पूछे जाने वाले सवाल

क्या प्रॉम्प्ट काम करे तो भी ट्रेनिंग की सलाह देगी?

नहीं। जब कोई सरल तरीका कमी पाट दे, तो स्किल फ़ाइन-ट्यून न करने का नतीजा देती है।

क्या ट्रेन होने के बाद यह मॉडल सर्व भी करती है?

सर्विंग एक अलग इनफ़ेरेंस सर्विंग स्किल का काम है।

क्या यह मॉडल के ऊपर ऐप बनाती है?

होस्टेड मॉडल पर ऐप फ़ीचर बनाना एक अलग LLM ऐप स्किल का काम है।

जानकारी

लेखक का मूल विवरण

[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

लोकप्रियता

GitHub स्टार
5.1k
रैंकिंग में स्थान
#15135
लाइसेंस
MIT
अपडेट की गई
2/11/2026

क्या यह skill काम की है?

0

लॉग इन करें वोट करने के लिए।

कमेंट

  • …

इस repository की और skills

omh-accessibility-audit

5.1k

यह आपके एजेंट को किसी स्क्रीन या फ़्लो में एक्सेसिबिलिटी की कमियाँ जाँचने में मदद करती है, जैसे कीबोर्ड उपयोग, स्क्रीन रीडर लेबल, कंट्रास्ट और टच टारगेट का आकार।

कोडिंगटेस्टिंग

omh-adversarial-consensus

5.1k

यह आपके एजेंट को किसी तकनीकी प्रस्ताव पर प्रतिबद्ध होने से पहले उस पर कई स्वतंत्र नज़रियों से हमला करवाने देती है, फिर देखती है कि क्या बचता है।

AI और एजेंटएजेंट

omh-agent-debug

5.1k

यह आपके एजेंट को पता लगाने में मदद करती है कि कोई दूसरा AI एजेंट क्यों अटका है, लूप में है या भटक रहा है, और सबसे छोटा सुरक्षित सुधार सुझाती है।

AI और एजेंटएजेंट

omh-agent-instructions

5.1k

यह आपके एजेंट को वह निर्देश फ़ाइल लिखने या अपडेट करने में मदद करती है, जैसे AGENTS.md या CLAUDE.md, जो बताती है कि AI टूल किसी प्रोजेक्ट में कैसे काम करें।

AI और एजेंटप्रॉम्प्ट और LLM

मिलती-जुलती skills