Instructions to use yuanphd/jevmark with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- PEFT
How to use yuanphd/jevmark with PEFT:
Task type is invalid.
- Notebooks
- Google Colab
- Kaggle
model card: CAPS-Brier name, paired gpt-4.1-mini interval, dataset and paper links
Browse files
README.md
CHANGED
|
@@ -21,7 +21,9 @@ tags:
|
|
| 21 |
|
| 22 |
jevmark is a small decision model that never generates text: a text state and a set of typed questions go in, and one forward pass returns a full probability distribution per question. The answer options are part of each request (a yes or no question, one of the options given, or a level on a scale defined in the request), so the model reads them instead of memorising a fixed label set, and the distribution is read from the letter logits at each question's answer slot. It is an independent re-implementation of the concept behind TypeSafe AI's Jev, built as LoRA adapters on Qwen3 base models to measure accuracy, calibration and when Reinforcement Learning for Calibrated Decisions (RLCD) helps.
|
| 23 |
|
| 24 |
-
|
|
|
|
|
|
|
| 25 |
|
| 26 |
## The adapters
|
| 27 |
|
|
@@ -29,7 +31,7 @@ Code, data builders, every report and the metrics files behind every number: htt
|
|
| 29 |
|---|---|---|
|
| 30 |
| `sft_06b` | Qwen3-0.6B-Base | The general decision model: LoRA SFT on CLINC150 and SST-5 questions. |
|
| 31 |
| `sft_17b` | Qwen3-1.7B-Base | The same general decision model at the larger size. |
|
| 32 |
-
| `rlcd_banking77_06b` | Qwen3-0.6B-Base | `sft_06b` adapted to Banking77 from a deployment log: 5000 logged interactions where only the correctness of the model's own chosen answer was revealed, no labels, trained with a pathwise Brier loss (
|
| 33 |
|
| 34 |
Provenance: each source run is a directory of the GitHub repository with its config and metrics, at the commit that trained it.
|
| 35 |
|
|
@@ -122,7 +124,7 @@ On the full Banking77 test split (3080 records), against the sft_06b adapter it
|
|
| 122 |
| **rlcd_banking77_06b** | **.929 [.920, .938]** | **.026** | **.111** | **.274** |
|
| 123 |
| SFT on gold labels (needs a label per interaction) | .947 [.938, .955] | .030 | .082 | .212 |
|
| 124 |
|
| 125 |
-
The cost on the original domain (`runs/v3_06b_direct_brier_n5000_s0/metrics.json:splits.<split>.overall`): test_indomain .929 (sft_06b .956) and test_unseen_intents .917 (sft_06b .892), both at ECE no higher than sft_06b's. On the 500-record subset where gpt-4.1-mini scores .918, this adapter scores .934 (`runs/
|
| 126 |
|
| 127 |
## Training data
|
| 128 |
|
|
@@ -141,5 +143,5 @@ AG News, emotion and Yelp reviews were used for evaluation only. Option descript
|
|
| 141 |
- Overconfident on schemas it was not trained on: ECE .113 to .218 on AG News, emotion and Yelp, and one temperature fitted in-domain removes only part of it (RESULTS_v1 section 5, RESULTS_v2 section 1).
|
| 142 |
- Answers depend on question order: a question that depends on another should come after it, and reordering cost about 6 points of yes or no accuracy in-domain (API_SPEC section 4).
|
| 143 |
- Banking77's labels are noisy: two language-model judges found a label problem in 12 to 14 percent of a uniform test sample, so its accuracy ceiling is near .96 (RESULTS_v3 section 9).
|
| 144 |
-
- The
|
| 145 |
- English only: every training and test text is English.
|
|
|
|
| 21 |
|
| 22 |
jevmark is a small decision model that never generates text: a text state and a set of typed questions go in, and one forward pass returns a full probability distribution per question. The answer options are part of each request (a yes or no question, one of the options given, or a level on a scale defined in the request), so the model reads them instead of memorising a fixed label set, and the distribution is read from the letter logits at each question's answer slot. It is an independent re-implementation of the concept behind TypeSafe AI's Jev, built as LoRA adapters on Qwen3 base models to measure accuracy, calibration and when Reinforcement Learning for Calibrated Decisions (RLCD) helps.
|
| 23 |
|
| 24 |
+
jevmark is not affiliated with or endorsed by TypeSafe AI. Their Jev model is the inspiration; the code, the data pipeline and the adapters were built and trained independently on open-source Qwen3 base models.
|
| 25 |
+
|
| 26 |
+
Code, data builders, every report and the metrics files behind every number: https://github.com/yuan-phd/jevmark. The deployment logs and every run's per-record results: https://huggingface.co/datasets/yuanphd/jevmark-runs. Paper: "Learning a calibrated decision head from logged bandit feedback", arXiv, link to follow.
|
| 27 |
|
| 28 |
## The adapters
|
| 29 |
|
|
|
|
| 31 |
|---|---|---|
|
| 32 |
| `sft_06b` | Qwen3-0.6B-Base | The general decision model: LoRA SFT on CLINC150 and SST-5 questions. |
|
| 33 |
| `sft_17b` | Qwen3-1.7B-Base | The same general decision model at the larger size. |
|
| 34 |
+
| `rlcd_banking77_06b` | Qwen3-0.6B-Base | `sft_06b` adapted to Banking77 from a deployment log: 5000 logged interactions where only the correctness of the model's own chosen answer was revealed, no labels, trained with a pathwise Brier loss on the chosen action's probability. The paper calls this learner CAPS-Brier (Chosen-Action Proper Scoring); the folder keeps its original name. |
|
| 35 |
|
| 36 |
Provenance: each source run is a directory of the GitHub repository with its config and metrics, at the commit that trained it.
|
| 37 |
|
|
|
|
| 124 |
| **rlcd_banking77_06b** | **.929 [.920, .938]** | **.026** | **.111** | **.274** |
|
| 125 |
| SFT on gold labels (needs a label per interaction) | .947 [.938, .955] | .030 | .082 | .212 |
|
| 126 |
|
| 127 |
+
The cost on the original domain (`runs/v3_06b_direct_brier_n5000_s0/metrics.json:splits.<split>.overall`): test_indomain .929 (sft_06b .956) and test_unseen_intents .917 (sft_06b .892), both at ECE no higher than sft_06b's. On the 500-record subset where gpt-4.1-mini scores .918, this adapter scores .934, +.016 [-.008, +.040] paired over the same records, within noise; over three training seeds the mean is +.014 [-.010, +.037] (`runs/b2_paired_v3/metrics.json:domains.banking77.{learners.caps_brier_n5000_s0,seed_means.caps_brier_n5000}`).
|
| 128 |
|
| 129 |
## Training data
|
| 130 |
|
|
|
|
| 143 |
- Overconfident on schemas it was not trained on: ECE .113 to .218 on AG News, emotion and Yelp, and one temperature fitted in-domain removes only part of it (RESULTS_v1 section 5, RESULTS_v2 section 1).
|
| 144 |
- Answers depend on question order: a question that depends on another should come after it, and reordering cost about 6 points of yes or no accuracy in-domain (API_SPEC section 4).
|
| 145 |
- Banking77's labels are noisy: two language-model judges found a label problem in 12 to 14 percent of a uniform test sample, so its accuracy ceiling is near .96 (RESULTS_v3 section 9).
|
| 146 |
+
- The released Banking77 adapter is 0.6B only (the 1.7B runs of the paper are not released) and was trained from simulated feedback, revealed from gold labels; real deployment feedback is delayed, biased and of unknown noise rate.
|
| 147 |
- English only: every training and test text is English.
|