Jeeves क्या है?
Jeeves 9B Jev-compatible decision model, जो चुनने से पहले सोचता है — open weights, training code और data के साथ. यह App Orchestration टूल्स की Structured Output श्रेणी में आता है; ओपन सोर्स है, Python में लिखा गया है और MIT लाइसेंस के तहत है। शुरू करने के लिए: इंस्टॉल करें और weights डाउनलोड करें.
सारांश
Jeeves एक decision classifier है, जो Jev के request format में सवालों का जवाब देता है — yes/no (`noul`), multiple choice (`choice`) और rating (`score`) — और हर विकल्प के लिए एक calibrated probability लौटाता है। जहाँ ज़्यादातर Jev-जैसे models सीधे prompt से जवाब देते हैं, वहीं Jeeves पहले एक reasoning chain लिखता है और उसके बाद फ़ैसला करता है। लेखकों ने इसे इसलिए बनाया क्योंकि Jev-जैसे models calibrated probabilities तो देते हैं, पर उनकी accuracy कम होती है; इसलिए कई pipelines में एक पूरा reasoning model fallback के रूप में रखा जाता है।
इसके अंदर Qwen3.5-9B है, जिसमें एक LoRA adapter और एक pointer head जुड़ा है। Reasoning chain के बाद सवाल को दोबारा रखा जाता है, और pointer head हर विकल्प को `<decide>` token पर hidden state और हर विकल्प के अंत के hidden state की तुलना करके स्कोर करता है; dev set पर फ़िट किया गया temperature वाला softmax इन स्कोर को probabilities में बदलता है। Training में 12 public datasets के 19,126 सवालों पर supervised fine-tuning चला, साथ में synthetic policy data; फिर CISPO reinforcement learning और फिर calibration हुई। एक diffusion drafter, जिसे Orthrus से Qwen3.5 की Gated DeltaNet layers के साथ काम करने के लिए अनुकूलित किया गया है, block size 4 पर reasoning chain को लगभग 1.6× तेज़ कर देता है।
PostHog 9B weights को Hugging Face पर publish करता है, और पूरा training code तथा train/dev/test data MIT license के तहत देता है। README के अनुसार उसके out-of-domain test split पर स्कोर 0.889 है, जबकि Jev का 0.857 और Kev-9B का 0.822 है; JevBench के 231 public items पर स्कोर 0.935 है, जबकि Jev का 0.866। Knowledge questions में यह Jev से पीछे है (MMLU 0.793 बनाम 0.900), और full thinking लंबे latency tail पर धीमी पड़ती है — एक H100 पर 3.3 s median और 17.1 s p90 — इसलिए server हर request के लिए thinking को cap या skip करने देता है। Structured output के भीतर यह Jeff, Laya और SemIf के साथ खड़ा है, जो बिना reasoning step के उसी तरह के सवालों का जवाब देते हैं।
यह क्या करता है
- एक ही request में `noul`, `choice` और `score` सवालों के जवाब, Jev-compatible `/v1/systemone` endpoint के ज़रिए
- फ़ैसले से पहले सोचता है, `think`, `max_think` और `nothink_threshold` विकल्पों के साथ, ताकि accuracy और latency के बीच संतुलन चुना जा सके
- एक H100 पर thinking के बिना लगभग 0.3 s प्रति request, और thinking के साथ 3.3 s median
- तेज़ reasoning chains के लिए block-4 diffusion drafter, आठ batched सवालों पर लगभग 960 chain tokens प्रति सेकंड
- `jeeves_sdk`, Jev के `typesafe-sdk` Python client का drop-in replacement, जो हर सवाल का reasoning text भी लौटा सकता है
- पूरी reproduction pipeline: डेटासेट तैयार करना, SFT, CISPO, calibration, LoRA fusing और drafter training
शुरू करें
Jeeves को Python 3.12 और CUDA GPU चाहिए (FP8 kernel के लिए Hopper)। जारी किए गए weights Hugging Face से मिलते हैं।
इंस्टॉल करें और weights डाउनलोड करें
pip install -r requirements.txt
hf download PostHog/jeeves --local-dir jeeves-weightsdrafter के साथ server शुरू करें
python -m inference.serve --model jeeves-weights --drafter jeeves-weights/drafter_k4.safetensors --port 8009Jev के format में सवाल पूछें
हर जवाब के साथ हर विकल्प की probability वापस आती है; `max_think` बताता है कि हर reasoning chain कितनी देर तक चल सकती है।
curl -s localhost:8009/v1/systemone -H 'content-type: application/json' -d '{
"state": "I was charged twice. Please help.",
"questions": {
"billing": {"type": "noul", "instructions": "Is this about billing?"}
},
"options": {"max_think": 512}}'या Python SDK इस्तेमाल करें
SDK डिफ़ॉल्ट रूप से http://127.0.0.1:8009 से जुड़ता है (या `JEEVES_BASE_URL` से), और इसे API key की ज़रूरत नहीं होती।
pip install ./sdkकमांड और कोड प्रोजेक्ट के अपने दस्तावेज़ों से लिए गए हैं — हमेशा जांचें आधिकारिक repo ताज़ा जानकारी के लिए।
कब इस्तेमाल करें
- एक classification pipeline में reasoning-model fallback की जगह एक self-hosted decision model लगाना
- Support messages को route और triage करना, जहाँ हर team या label के लिए calibrated probability चाहिए
- Policy और rule checks, जहाँ model को हाँ या ना कहने से पहले कई शर्तें तौलनी पड़ती हैं
- Reasoning decision models को ट्रेन करने के लिए research base, जिसकी पूरी recipe और data publish किया गया है
How Jeeves compares
Jeeves alongside other open-source structured output tools AI/TLDR tracks, ranked by GitHub stars.
| टूल | स्टार | यह क्या करता है |
|---|---|---|
| Laya | ★ 36.1k | टेक्स्ट के बारे में टाइप किए गए सवाल पूछें और कैलिब्रेटेड संभावनाएँ पाएँ, जनरेट किया हुआ JSON नहीं |
| Guidance | ★ 21.8k | Constrained, structured generation के साथ LLM को नियंत्रित करने वाला एक programming model |
| Outlines | ★ 16k | किसी भी LLM को हमेशा valid structured output देने के लिए बाध्य करें |
| Instructor | ★ 14.2k | किसी भी LLM से भरोसेमंद structured आउटपुट, Pydantic से validated |
| BAML | ★ 9.6k | एक prompting language जो LLM prompts को typed functions में बदलती है और भरोसेमंद structured output देती है |
| Marvin | ★ 6.2k | LLM calls को typed Python functions और agentic workflows में बदलें |
| SemIf | ★ 5k | किसी ओपन मॉडल से JSON जनरेट कराने के बजाय, टाइप किए गए विकल्पों की संभावनाएँ सीधे पढ़ें |
| Jeeves | ★ 475 | 9B Jev-compatible decision model, जो चुनने से पहले सोचता है — open weights, training code और data के साथ |
