kev-finetune
यह क्या करती है
यह स्किल Kev निर्णय मॉडल को आपके अपने उदाहरणों पर प्रशिक्षित करती है, ताकि उसके जवाब आपके सवालों से मेल खाएँ, फिर उसे डिप्लॉय और नापती है। यह उन टीमों के लिए है जो अपने डेटा के हिसाब से ट्यून किया गया निर्णय मॉडल चाहती हैं।
कब इस्तेमाल करें
- ✓जब आपके पास उन निर्णयों के लेबल वाले उदाहरण हों जिन्हें आप स्वचालित करना चाहते हैं।
- ✓जब कोई मौजूदा होस्ट किया मॉडल आपके डेटा पर ठीक न बैठे।
- ✓जब आपको नापी हुई तुलना चाहिए जो दिखाए कि ट्यूनिंग सच में मदद करती है या नहीं।
Skill का लिंक
https://github.com/jaredpalmer/kev/blob/main/skills/kev-finetune/SKILL.mdइसे कॉपी करके अपने AI (Claude, ChatGPT या Cursor) में पेस्ट करें और निर्देशों का पालन करने को कहें।
कैसे इस्तेमाल करें
सबसे आसान तरीका: मैसेज कॉपी करके अपने AI में पेस्ट करें। वह skill पढ़कर निर्देशों का पालन करेगा।
पेस्ट करने के लिए तैयार मैसेज
Claude Code, Codex या Cursor के लिए: प्रोजेक्ट फ़ोल्डर में चलाएँ और skill इंस्टॉल हो जाएगी।
SKILL.md डाउनलोड करें और अपने एजेंट के skills फ़ोल्डर में रखें।
AI से क्या माँगें: उदाहरण
“मेरे पास पिछले सपोर्ट टिकट के फ़ोल्डर हैं जिन पर परिणाम का लेबल है। उन पर Kev को फ़ाइन-ट्यून कीजिए और बताइए कि क्या वह डिफ़ॉल्ट से बेहतर है।”
हर हफ़्ते 5 नई skills, 1 मिनट में पढ़ें।
यह कैसे काम करती है
स्किल आपके मौजूदा सवाल या लेबल वाला डेटा ढूँढती है और उसे प्रशिक्षण रिकॉर्ड में बदलती है, वैकल्पिक रूप से और उदाहरण भी बनाते हुए। यह Modal पर प्रशिक्षित और कैलिब्रेट करती है, परिणाम को जारी मॉडल से तुलना में आँकती है, एंडपॉइंट डिप्लॉय करती है, फिर सफ़ाई करती है।
तकनीकी सामग्री (मूल SKILL.md)
लेखक का मूल टेक्स्ट, अंग्रेज़ी में, सीधे GitHub से।
Fine-tune Kev on the user's workload
Jev (TypeSafe's System One model) answers typed questions about a text without generating tokens, but it is a fixed hosted model: on the user's data it is out of distribution and its probabilities cannot be recalibrated. Kev is the open reconstruction; because it can be trained, you can fine-tune it on a few hundred to a few thousand labelled examples of the user's exact questions and fit its temperature on a held-out slice, so the probabilities it serves are calibrated for their data. This skill takes a user from "I have this decision to automate" to a deployed, measured endpoint, then cleans up. Nothing needs a local GPU or a clone of the Kev repo.
Scripts (scripts/) are short, standard-library Python plus one Modal app. If the user's case does not fit them,
read the script and change it; they are meant to be edited, not worked around.
| Script | Purpose |
|---|---|
extract_workload.py |
scan a codebase for Jev / TypeSafe / System One calls and labelled data; draft workload.json |
convert_data.py |
CSV / JSONL of existing labelled examples -> Kev records (column mapping) |
generate_data.py |
workload spec -> balanced labelled records via any OpenAI-compatible model; --dry-run prints the prompt |
plan_size.py |
how many records make the fine-tune vs baseline comparison statistically meaningful |
split_data.py |
validate records, split by state into train / calibration / development |
kev_modal.py |
Modal: validate, train, evaluate, compare, pull, publish, teardown, and the Serve endpoint |
Run modal as uvx modal ... if it is not installed. Commands below run from the skill directory.
Phase 0: interview
Do not generate anything before you can answer these. Ask what you cannot infer; keep it to one round if possible.
- The decision. What is being decided, about what input, and what happens with the answer (route, escalate, score, block)? One sentence each. If they mention automating a share of the volume, note the error rate they can tolerate: that becomes the coverage-at-error target.
- Where it lives today. Run
python3 scripts/extract_workload.py <their repo> --out workload.json. It lists files that call Jev / TypeSafe //v1/systemone(Python SDKNoul/Choice/Score, AI SDKexperimental_evaluate, raw request bodies), extracts question literals with_sourcefile:line, and lists CSV/JSON/JSONL files that look labelled. Read the sources it points at and fix every_todo. If there is no such code, write the questions with the user in the System One shape (assets/workload.example.json, rules inreferences/data-format.md). - Labelled data they already have. Tickets with their routing, logs with outcomes, a spreadsheet of judgments.
Even 50 real rows matter: they become the development set or the style reference for generation. If yes, plan to
use
convert_data.py. - Data source for the rest. Offer, in this order: (a) convert existing labels; (b) an LLM writes records from the
spec (
generate_data.py; ask which endpoint and key they want to use: OpenAI, Vercel AI Gateway, Ollama, or any OpenAI-compatible URL); (c) you write records yourself from the--dry-runprompt in batches of 20 (fine for the first 100, slow beyond). - Base size. Recommend
jaredpalmer/kev-4b(~12 min and ~$1 per run for 400 records, ~15 min for 1000).kev-0.8bfor fast loops,kev-9bfor the final model. Same recipe on all three; a run transfers unchanged. - Deployment and money. Modal account ready (
modal setup)? Budget: eachtrainprints a cost bound before it starts. Where will the model be called from (so you can wire the endpoint in at the end)? Should the checkpoint stay on the Modal volume (default), be pulled locally, or be published to a private Hub repo?
Record the answers in workload.json (domain, state, state_example if inputs are objects, questions,
guidance with the labelling rules, variety). The questions must be the exact instructions and option names
production will send: the fine-tune binds those strings.
Phase 1: data
python3 scripts/plan_size.py workload.json --baseline-acc 0.75 --min-gain 0.05 # how many records
python3 scripts/convert_data.py workload.json their.csv --state body --label team=dept --out data/x.real.jsonl # if they have labels
export KEV_GEN_API_KEY=... # or OPENAI_API_KEY / A
अक्सर पूछे जाने वाले सवाल
मुझे कितने उदाहरण चाहिए?
स्किल कुछ सौ से कुछ हज़ार लेबल वाले उदाहरण बताती है, और निष्पक्ष तुलना के लिए ज़रूरी आकार भी निकाल सकती है।
क्या मुझे GPU या Kev का कोड चाहिए?
नहीं। प्रशिक्षण Modal पर चलता है, और आपको स्थानीय GPU या रिपॉज़िटरी की कॉपी नहीं चाहिए।
क्या यह संभावनाओं को और सटीक बनाती है?
यह एक होल्ड-आउट सेट पर temperature फ़िट करती है, इसलिए संभावनाएँ आपके डेटा के लिए कैलिब्रेटेड होती हैं।
जानकारी
लेखक का मूल विवरण
Fine-tune a Kev decision model (open Jev-style System One model) on a user's own workload and serve it with calibrated probabilities. Interviews the user, finds existing Jev/TypeSafe questions or labelled data in their codebase, generates enough synthetic training data to measure a gain, trains and calibrates on Modal, scores against the released checkpoint, deploys a TypeSafe-compatible endpoint, and tears everything down. Use when someone wants noul/choice/score questions answered on their own domain (routing, triage, moderation, classification, scoring), wants calibrated confidence for auto
repo: jaredpalmer/kev
लोकप्रियता
- GitHub स्टार
- 9.8k
- रैंकिंग में स्थान
- #12212
- लाइसेंस
- Apache-2.0
- अपडेट की गई
- 2/11/2026
कमेंट
- …
इस repository की और skills
unslop
9.8kकिसी भी टेक्स्ट से AI जैसे पैटर्न हटाती है, जैसे घिसे-पिटे वाक्यांश, ज़रूरत से ज़्यादा डैश और धुंधले दावे। अर्थ वही रखते हुए टेक्स्ट को सादे ढंग से दोबारा लिखती है।
kev-deploy
9.8kआपके एजेंट को खुले Kev निर्णय मॉडल को Modal पर अपने API एंडपॉइंट के रूप में होस्ट करने में मदद करती है। आकार चुनना, कुंजी जोड़ना और उसे बंद करना शामिल है।
मिलती-जुलती skills
add-model-provider
394kयह आपके एजेंट को सुरक्षित कमांड से OpenClaw में नया AI मॉडल प्रोवाइडर जोड़ने, API कीज़ को सादे टेक्स्ट से बचाने और लाइव टेस्ट चलाने देती है।
acp-router
394kयह आपके एजेंट को OpenClaw के ज़रिए Claude Code या Cursor जैसे कोडिंग असिस्टेंट को काम भेजने देती है, ताकि काम उसी टूल में चले।
browser-automation
394kयह आपके एजेंट को लॉगिन, टैब और अटकी वेब पेज से उबरने समेत, वेबसाइट पर चरण-दर-चरण काम करना सिखाती है।