oss-jev-qwen05-decision-10k
Honest card for
gyanbhambhani/oss-jev-qwen05-decision-10k
(2026-10-16). Sibling size sweeps:
…-decision-1k,
…-decision-3k.
Older overwrite tip
…-decision
may be noul-fix (worse) — prefer the sized siblings for Choice.
Fine-tuned Qwen2.5-0.5B-Instruct (~494M) to mimic TypeSafe Jev
structured judgments (Choice / Score / Noul) via one constrained
next-token over answer codes. Teacher: jev-1.13.0 silver labels on
oss-jev-distill.
Not a drop-in for live Jev. Choice transfers well; Noul is collapsed to all-Y on the frozen eval. Read Limitations.
Project write-ups (store): docs/oss-jev-paper-frame.md,
docs/oss-jev-scaling-curve.md.
Intended use
- Research / local prototyping of schema-locked decisions without calling the proprietary API at inference.
- Serving that softmaxes only over codes (
A… /0–9/Y|N) with train-alignedcodes+code_to_key(see Gotchas).
Not intended for: production Noul gates, safety-critical yes/no, or claiming parity with Jev calibration / long context / ≤255 options.
Eval protocol
| Split | Frozen 98-row prior distill eval (same as all baselines) |
| Hub rev (eval pack) | a088111937a3 era (892/98/74); scale train used full Hub train |
| Metric | Argmax agree vs teacher hard labels; Noul @ P(Y)≥0.5 |
| Prompt | train_aligned_codes |
| N | 28 Choice / 43 Noul / 27 Score |
Treat ±~10pp overall as noise (bootstrap on N=98; see
oss-jev-eval-bootstrap.md).
Results (frozen 98)
This checkpoint (~10k / 7909 train rows)
| Metric | Value |
|---|---|
| Overall | 45.9% (45/98) |
| Choice | 82.1% (23/28) |
| Noul | 16.3% (7/43) — 43/43 predicted Y |
| Score level | 55.6% (15/27) |
| Score Pearson r | 0.804 |
Train: ~14000 steps (~3.5 epochs), train_loss≈0.451, eval_loss≈0.587.
Job 6ad1c0755ccb47ba0f7af10a · flavor a10g-small · ~68 min.
Size sweep (same recipe v0.1.1, same frozen eval)
| Condition | Train n | Overall | Choice | Noul | Score lvl | Score r |
|---|---|---|---|---|---|---|
| ZS Qwen2.5-0.5B | 0 | 21.4% | 32.1% | 16.3% (all-Y) | 18.5% | 0.211 |
| ZS Qwen2.5-1.5B | 0 | 42.9% | 60.7% | 41.9% | 25.9% | 0.430 |
| Constant-N (Noul only) | — | — | — | 83.7% | — | — |
| Fix v0.1.1 | 892 | 38.8% | 60.7% | 16.3% (all-Y) | 51.9% | 0.427 |
| Noul-fix v0.1.2 | 892 | 31.6% | 42.9% | 16.3% (all-Y) | 44.4% | 0.447 |
| FT scale 1k | 1000 | 40.8% | 57.1% | 16.3% (all-Y) | 63.0% | 0.716 |
| FT scale 3k | 3000 | 44.9% | 78.6% | 16.3% (all-Y) | 55.6% | 0.735 |
| FT scale ~10k (this) | 7909 | 45.9% | 82.1% | 16.3% (all-Y) | 55.6% | 0.804 |
Takeaways
- Choice scales and beats ZS-1.5B from 3k upward.
- Overall edges ZS-1.5B at 3k/10k; gains decelerate 3k→10k (+1pp).
- Noul never leaves the all-Y floor under this recipe — constant-N and ZS-1.5B remain stronger on Noul.
- Noul-fix v0.1.2 failed (worse overall/Choice; still all-Y). Do not prefer that tip over sized siblings for Choice workloads.
Calibration (fix weights only — not this 10k tip)
On fix rev 2667b909…, Platt/temp fit on 74-row calib:
| Eval Noul | Brier | KL | argmax |
|---|---|---|---|
| raw | 1.058 | 1.593 | 16.3% |
| fitted (T=12.5, bias_n=0.5) | 0.264 | 0.342 | 83.7% (= constant-N) |
Soft metrics improve; fitted Noul argmax is still prior-matching. Re-fit on this 10k checkpoint before shipping calibrated Noul.
Local latency (CPU harness, this ckpt, n=98)
| Load | ~14 s |
| p50 / mean / p95 | ~215 / 428 / 1890 ms per question |
Live Jev tiny smokes were ~90–140 ms (network + API). Labeling ~10k rows cost ~$0.05 at Jev input rates.
How to use
Use the Project infer adapter (oss_jev_infer) or equivalent:
- Build the prompt with codes / code_to_key, not raw
criteria.keys()order. - Forward once; take logits at the answer position.
- Softmax only over the allowed code token ids.
- Map code → Choice key / Score level / Noul Y|N.
# Pseudocode — see artifacts/oss-jev/infer for the real adapter
codes, keys = resolve_codes_and_keys(question) # prefer codes + code_to_key
logits = model(...).logits[0, -1, code_token_ids]
probs = softmax(logits)
pred = codes[probs.argmax()]
Optional Noul serving prior / temperature: load decision_head.json /
calib sidecar if present. Default scale Jobs used noul_logit_bias_n=0.
Gotchas
Codes-alignment
Hub distill criteria key order ≠ codes / code_to_key on most
rows. Naive criteria.keys() letter assignment historically dropped
Choice agree ~43% → ~18%. Always lockstep with train
(train_aligned_codes).
Noul collapse
Every FT size in this recipe predicts Y on 43/43 eval Noul rows (gold is 7 Y / 36 N). Base model Y-prior + saturated logits; more of the same labels did not fix it. Heavy N-oversample + hard CE (v0.1.2) made collapse worse. Prefer constant-N or call live Jev for Noul until a new lever lands.
Eval size
N=98 → wide CIs. Do not overclaim small pp gaps.
Training details
| Base | Qwen/Qwen2.5-0.5B-Instruct |
| Recipe | v0.1.1: soft_ce + constrained_codes + balance_noul |
| Train-src | gyanbhambhani/oss-jev-train-src v0.1.3 (max_train_rows) |
| Dataset | gyanbhambhani/oss-jev-distill (7909 train rows used) |
| Hardware | HF Jobs a10g-small, bf16 |
| Hyperparams | lr 2e-5, batch 2, ~14000 steps, ~3.5 epochs |
Not used for this repo: noul-fix v0.1.2 (noul_n_frac=0.8, hard CE,
loss weights, bias 2.5).
Limitations
- Synthetic / suite-generated state; OOD to real product traffic unknown.
- Choice capped at alphabet codes (≤26); Jev allows far more options.
- Score level accuracy plateaued (~56%); Pearson improved more.
- Calibration sidecar not validated on this tip.
- Teacher is proprietary; redistribution of labels follows dataset card.
- Apache-2.0 on weights; base Qwen license also applies.
Citation / links
@misc{oss-jev-qwen05-decision-10k,
title={OSS Jev one-token decision model (0.5B, ~10k distill)},
author={Bhambhani, Gyan},
year={2026},
howpublished={Hugging Face},
url={https://huggingface.co/gyanbhambhani/oss-jev-qwen05-decision-10k}
}
- Dataset: https://huggingface.co/datasets/gyanbhambhani/oss-jev-distill
- Train entry: https://huggingface.co/datasets/gyanbhambhani/oss-jev-train-src
- Scale Job: https://huggingface.co/jobs/gyanbhambhani/6ad1c0755ccb47ba0f7af10a
- Siblings: 1k · 3k