niqun123123 commited on
Commit
9d60026
Β·
verified Β·
1 Parent(s): 9a2f41d

Update README

Browse files
Files changed (1) hide show
  1. README.md +196 -219
README.md CHANGED
@@ -10,280 +10,257 @@ tags:
10
  - merge
11
  - qwen3.5
12
  ---
13
-
14
  # LemonDecider 4B
15
 
16
- **Model ID:** `lemondecider-4b-20261015-v2`
17
  **Base model:** `Qwen/Qwen3.5-4B`
18
 
19
- LemonDecider 4B is a typed decision engine: it reads a state and a question with a
20
- list of options, runs **one forward pass**, and returns a probability distribution
21
- over the options (choice / noul questions) or an ordered rating (score questions).
22
- No text is generated and no input is ever truncated.
 
23
 
24
  ## Model description
25
 
26
  | Property | Value |
27
  |---|---|
28
- | Architecture | Qwen3.5-4B-class hybrid backbone (linear-attention + periodic full-attention) + a bias-free **255-way readout** (`LemonDeciderReadout`, FP32 precision island), loaded through `modeling_lemondecider.LemonDeciderForDecisionClassification` (`trust_remote_code`) |
29
- | `model_type` / protocol | `lemondecider_decision` / `lemondecider-v1` |
30
- | Attention | `noncausal_full_attention` β€” all-attend prompt for the periodic full-attention layers, causal recurrence for the Gated DeltaNet layers, SDPA only |
31
- | Pooling / temperature | last-token pooling, temperature 1.0 (uncalibrated) |
32
- | Max input length | **262,144 tokens (256K context)** β€” the backbone's full position window; requests over the limit are rejected, never cut |
33
- | Precision | backbone BF16, readout FP32 (readout GEMM executed in FP32 under autocast) |
34
- | Serialized tensors | 724 (all vision tensors included; vision stem executed as a matrix-product patch projection) |
35
- | Runtime | in-package Python runtime (`modeling_lemondecider.py`, `configuration_lemondecider.py`, `contract.py`, `decision_utils.py`, `model.py`), validated with transformers 5.17, flash-linear-attention 0.5.2, PyTorch SDPA |
 
 
 
 
36
 
37
  ## Training
38
 
39
- LemonDecider 4B was fine-tuned (SFT) from the common Qwen3.5-4B initialization on
40
- **more than 700,000 public decision/QA rows** collected by the project (about 805k
41
- train rows from ~818k collected rows incl. dev/test splits). Every source is
42
- public and permissive; no benchmark or evaluation data was used for training. The
43
- released weights combine two independent SFT runs over this corpus (weight-level
44
- combination, no training after that).
45
 
46
- **Question formats:** choice (up to 255 options), noul (no/yes) and score (ordinal
47
- ratings); some multimodal rows are image questions over locally registered
48
- project-generated charts, and roughly 600k train rows carry teacher-style soft
49
- label distributions.
50
 
51
  **Data categories:**
52
 
53
- - service decision arcs β€” user-intent routing and case triage (refund, logistics,
54
- account actions), policy and adequacy judgment;
55
- - language judgment β€” sentiment, sarcasm, NLI/factuality and paraphrase-style checks;
56
- - knowledge and reasoning QA β€” multiple-choice knowledge, multi-hop reasoning,
57
- arithmetic and math word problems;
58
- - retrieval and selection β€” document and tabular retrieval, product/route selection;
59
- - multimodal reading β€” chart/graph and small-graphic question answering;
60
- - calibration-style rows β€” probability and ordinal confidence judgments.
61
-
62
- **Training parameters** (from the training receipts):
63
-
64
- - distributed FSDP on 64 GPUs (4 nodes x 16 GPUs);
65
- - effective batch 256 rows per step, learning rate 2e-06;
66
- - two independent runs: 2,446 steps (sequence cap 8,192) and 700 steps (sequence
67
- cap 2,048);
68
- - objective `valid_option_soft_cross_entropy` over valid options only
69
- (`noul_tie_policy = true_on_equal_probability`, `choice_permutation =
70
- global-reference`, vision tower trainable);
71
- - precision policy fp32-master-bf16; export dtype BF16, readout FP32, temperature 1.0.
72
 
73
  ## Package artifacts
74
 
75
  ### Weight files
76
 
77
- | File | Size | SHA-256 |
78
  |---|---:|---|
79
- | `model-00001-of-00002.safetensors` | 4,973,336,472 | `27b985a94ccf63aace88b2ff67c1ea0871ce745a49b22b9cda43ea4d32297d8a` |
80
- | `model-00002-of-00002.safetensors` | 4,107,897,400 | `81f61ce9daead4be7e3d950cf027f63f16f757a176407f020406190dc2068bc0` |
81
  | `tokenizer.json` | 19,989,492 | `6f32ce20dc35f57a7f9ad1eac03525bd7d30f9df8cea6507e958279cc3657706` |
82
- | `model.safetensors.index.json` | 68,426 | `bda09c55c0152d7a6fb2db6898aea70e728dc528df6f9c026cefb0bd5d1d673b` |
83
 
 
 
 
 
84
 
85
  ## Evaluation results
86
 
87
- Both evaluations ran on 2026-10-15 on self-hosted compute (64 GPUs) through the
88
- model's own HTTP `/v1/systemone` wire contract. **No result here
89
- is an official leaderboard or board submission**; the harnesses enforce no-truncation,
90
- no option filtering, one fixed rendering, and coverage-adjusted scoring. Latency is
91
- per-request server wall time on internal accelerators and is not the sub-1-second
92
- latency-admission measurement of any external board.
93
-
94
- Evidence directories keep the run names under which they were created during the v1
95
- execution (`lemondeeder-eval-20261015/`); no shipped artifact in the model packages
96
- carries that legacy spelling.
97
-
98
  ### 1) Decision Index, edition 0.3 β€” FULL public suite (complete run)
99
 
100
- βš™οΈ 140,620 requests issued across 64 shards (frozen suite-0.3 staging, official
101
- scorer, coverage-adjusted, chance-corrected) β†’ **140,178 scored requests,
102
- `complete: true`**.
 
103
 
104
  | Headline | Value |
105
  |---|---:|
106
- | **Decision Index (public 0.3)** | **50.31** |
107
- | Raw index | 62.47 |
108
- | Median / mean / p95 request latency | 50.4 ms / 205.6 ms / 756.2 ms |
 
109
 
110
- The public index averages the native, chance-corrected, coverage-adjusted score of
111
- 37 benchmarks in five areas with fixed weights (knowledge 25.8%, language 25.8%,
112
- retrieval 20.0%, tools 18.3%, arts 10%); inside an area, β˜… gold benchmarks weigh
113
- 1.2 and the rest 1.0. Unanswered counts as wrong.
114
 
 
115
  #### Per-area scores
116
 
117
- | Area | Raw | Skill (chance-corrected) | Coverage | Benchmarks |
118
  |---|---:|---:|---:|---:|
119
- | Knowledge & Reasoning | 0.4895 | 0.3395 | 0.9998 | 11 |
120
- | Language Understanding | 0.6962 | 0.5751 | 1.0000 | 9 |
121
- | Retrieval & Classification | 0.6661 | 0.5494 | 1.0000 | 6 |
122
- | Tools & Automation | 0.7108 | 0.6741 | 0.9986 | 5 |
123
- | Arts & Human Taste | 0.5487 | 0.3340 | 0.9978 | 6 |
124
 
125
- #### Per-benchmark native scores (β˜… = counted in the public index)
 
 
 
 
 
 
126
 
127
  | # | Benchmark | Metric | Requests | Score | Skill | Cov. |
128
  |---:|---|---|---:|---:|---:|---:|
129
- | 1 | BFCL β˜… | case exact accuracy | 1,694 | 0.9416 | 0.9211 | 1.000 |
130
- | 2 | ToolRet β˜… | nDCG@10 | 685 | 0.6540 | 0.5982 | 0.997 |
131
- | 3 | API-Bank β˜… | accuracy | 508 | 0.8320 | 0.8254 | 0.996 |
132
- | 4 | BANKING77 β˜… | macro-F1 | 3,080 | 0.7418 | 0.7385 | 1.000 |
133
- | 5 | CLINC150+OOS β˜… | macro-F1 | 5,500 | 0.8634 | 0.8626 | 1.000 |
134
- | 6 | RouterBench | selected quality | 10,000 | 0.7746 | 0.4715 | 1.000 |
135
- | 9 | Home appliance simulator β˜… | case exact accuracy | 88 | 0.4091 | 0.4091 | 1.000 |
136
- | 10 | SGD/SGD-X | macro-F1 | 2,500 | 0.4360 | 0.0616 | 1.000 |
137
- | 11 | ContractNLI β˜… | macro-F1 | 123 | 0.7389 | 0.6224 | 1.000 |
138
- | 12 | ANLI β˜… | macro-F1 | 3,200 | 0.6729 | 0.5100 | 1.000 |
139
- | 20 | BPoMP β˜… | accuracy | 5,000 | 0.8718 | 0.7525 | 1.000 |
140
- | 21 | Humicroedit β˜… | accuracy | 2,628 | 0.6111 | 0.2222 | 1.000 |
141
- | 22 | POP909-CL β˜… | accuracy | 2,000 | 0.1890 | 0.1701 | 0.987 |
142
- | 23 | cfcolor β˜… | accuracy | 5,000 | 0.6088 | 0.1827 | 1.000 |
143
- | 24 | MMLU | accuracy | 14,033 | 0.7914 | 0.7219 | 1.000 |
144
- | 25 | GPQA Diamond β˜… | accuracy | 196 | 0.4286 | 0.2381 | 1.000 |
145
- | 26 | ARC-Easy | accuracy | 2,376 | 0.9836 | 0.9781 | 1.000 |
146
- | 27 | ARC-Challenge | accuracy | 1,172 | 0.9548 | 0.9397 | 1.000 |
147
- | 28 | WinoGrande β˜… | accuracy | 1,267 | 0.8019 | 0.6038 | 1.000 |
148
- | 29 | HellaSwag β˜… | accuracy | 10,042 | 0.8520 | 0.8027 | 1.000 |
149
- | 30 | GSM8K β˜… | accuracy | 2,638 | 0.5716 | 0.4866 | 1.000 |
150
- | 31 | ChessBench β˜… | accuracy | 5,000 | 0.1384 | 0.0616 | 1.000 |
151
- | 32 | MuSR β˜… | accuracy | 752 | 0.5731 | 0.3213 | 1.000 |
152
- | 33 | SATA-Bench β˜… | case exact accuracy | 1,650 | 0.1539 | 0.1427 | 1.000 |
153
- | 34 | SimpleBench | accuracy | 10 | 0.1000 | 0.0000 | 1.000 |
154
- | 36 | BRIGHT β˜… | nDCG@10 | 220 | 0.4444 | 0.3714 | 1.000 |
155
- | 37 | Amazon ESCI β˜… | macro-F1 | 5,000 | 0.4827 | 0.3511 | 1.000 |
156
- | 38 | ACOS β˜… | per-review F1 | 1,565 | 0.1970 | 0.1713 | 1.000 |
157
- | 39 | FinEntity β˜… | macro-F1 | 979 | 0.9381 | 0.9090 | 1.000 |
158
- | 40 | iSarcasmEval β˜… | Sarcasm F1 (track A, EN) | 4,600 | 0.5552 | 0.4278 | 1.000 |
159
- | 41 | VAST β˜… | macro-F1 | 3,006 | 0.7251 | 0.5876 | 1.000 |
160
- | 42 | NLI4CT β˜… | macro-F1 | 5,500 | 0.7997 | 0.6103 | 1.000 |
161
- | 43 | CRUXEval β˜… | accuracy | 570 | 0.6035 | 0.3709 | 1.000 |
162
- | 44 | CLadder β˜… | accuracy | 5,000 | 0.6846 | 0.3692 | 1.000 |
163
- | 45 | HLE β˜… | accuracy | 501 | 0.1140 | 0.0000 | 0.998 |
164
- | 50 | Habermas Machine β˜… | accuracy | 1,676 | 0.4063 | 0.1384 | 1.000 |
165
- | 56 | PhishNChips β˜… | phishing-decision accuracy | 2,000 | 0.7315 | 0.4630 | 1.000 |
166
- | 57 | MMLU-Pro β˜… | accuracy | 12,032 | 0.5780 | 0.5254 | 1.000 |
167
- | 58 | BBH fixed-option tasks β˜… | accuracy | 5,507 | 0.7018 | 0.5678 | 1.000 |
168
- | 59 | RAGTruth β˜… | F1 on hallucinated class | 2,700 | 0.7601 | 0.5026 | 1.000 |
169
- | 61 | HoVer β˜… | claim-verification accuracy | 4,000 | 0.7225 | 0.4450 | 1.000 |
170
- | 62 | When2Call MCQ β˜… | accuracy | 3,652 | 0.6528 | 0.5371 | 1.000 |
171
- | 64 | New Yorker caption matching β˜… | accuracy | 528 | 0.6307 | 0.5384 | 1.000 |
172
-
173
- Evidence: `lemondeeder-eval-20261015/di/runs/20261015-lemondecider-4b-di-full-0.3/`
174
- (64 shard dirs + `merged/results.jsonl` + official `scores.json`, `index.json`,
175
- `benchmark-summary.json`).
176
-
177
- ### 2) JevBench public-231 (typed-decision public sanity suite)
178
-
179
- 231/231 items attempted and scorable, **complete**, native probability output,
180
- dataset hash-pinned (`dc3995d8…de51`, jevbench-v1 harness, typesafe adapter).
181
-
182
- | Metric | Value |
183
- |---|---:|
184
- | **Accuracy** | **83.12%** (192/231) |
185
- | Macro accuracy | 84.55% |
186
- | Brier (mean) | 0.2392 |
187
- | Ordinal MAE (score items) | 0.1207 |
188
- | Paraphrase consistency | 36/36 pairs agree (100%) |
189
- | Coverage / operational success / schema validity | 1.0 / 1.0 / 1.0 (strict 1.0) |
190
- | Latency p50 / p95 | 47.1 ms / 340.3 ms |
191
-
192
- #### Per-family results
193
-
194
- | Family | n | Accuracy | Brier |
195
- |---|---:|---:|---:|
196
- | adequacy | 12 | 1.000 | 0.051 |
197
- | adversarial | 6 | 1.000 | 0.002 |
198
- | ambiguous | 7 | 0.571 | 0.661 |
199
- | extraction | 24 | 1.000 | 0.000 |
200
- | fact | 12 | 1.000 | 0.000 |
201
- | intent | 24 | 1.000 | 0.001 |
202
- | judge_hard | 17 | 0.647 | 0.499 |
203
- | long_policy | 19 | 0.579 | 0.585 |
204
- | multi_hop | 18 | 0.722 | 0.481 |
205
- | ordinal | 12 | 1.000 | 0.000 |
206
- | policy | 12 | 1.000 | 0.007 |
207
- | probability | 10 | 0.800 | 0.338 |
208
- | routing | 12 | 1.000 | 0.013 |
209
- | routing_hard | 5 | 1.000 | 0.000 |
210
- | temporal_numeric | 15 | 0.067 | 1.006 |
211
- | tool_selection | 12 | 1.000 | 0.000 |
212
- | tradeoff | 6 | 0.833 | 0.450 |
213
- | trap | 8 | 1.000 | 0.038 |
214
-
215
- Known weak spots on this suite: long-policy judgement, ambiguous states, hard-judge
216
- calls, and especially **temporal/numeric reasoning (6.7%)**, which the model inherits
217
- from its parents' training data.
218
-
219
- Evidence: `lemondeeder-eval-20261015/jevbench/20261015-lemondecider-4b-jevbench-public231/`
220
- (`results.jsonl`, `ledger.jsonl`, `public-summary.json`, 5-item smoke gate passed).
221
 
222
  ## Usage
223
 
224
- Dependencies: `transformers==5.17.0` (needs the Qwen3.5 hybrid classes),
225
- `flash-linear-attention==0.5.2`, `pillow`, `torch` with SDPA.
226
- This package honours a single runtime env var: `LEMONDECIDER_CUDNN_SDPA=1`
227
- (keep the cuDNN SDPA backend on CUDA; defaults are kept on CPU/ROCm).
 
 
 
 
228
 
229
  ```python
230
- import sys, torch
231
- from transformers import AutoModel
232
-
233
- ckpt = "lemondecider-4b-20261015-v2" # local package directory
234
- sys.path.insert(0, ckpt) # make the in-package runtime importable
235
- from decision_utils import load_processor, predict_batch
236
-
237
- model = AutoModel.from_pretrained(
238
- ckpt, trust_remote_code=True, local_files_only=True,
239
- dtype=torch.bfloat16, device_map="cuda:0", attn_implementation="sdpa",
240
- ).eval()
241
- processor = load_processor(ckpt)
242
-
243
- rows = [{
244
- "state": "The user asks how to return a damaged order placed last week.",
245
- "question": {"type": "choice",
246
- "instructions": "Pick the best next action",
247
- "criteria": {"refund": "Process a refund",
248
- "replace": "Send a replacement",
249
- "escalate": "Escalate to a human"}},
250
- }]
251
- answers = predict_batch(model, processor, rows)
252
- print(answers["answers"][0]) # choice, probabilities over the 3 options, confidence
253
  ```
254
 
255
- CLI from inside the package: `python3 model.py --checkpoint . --device cuda:0 --input rows.json`.
256
 
257
- Batching: each `predict_batch` call runs ONE forward pass over all the rows you pass
258
- (inputs are left-padded to the longest prompt); the HTTP serving bridge chunks its
259
- requests at 8 questions per forward pass. Requests over the 262,144-token
260
- `max_input_length` limit are rejected with the limit named (HTTP 422 in server
261
- wrappers) β€” nothing is truncated.
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
262
 
263
  ## Intended use & limitations
264
 
265
- - Intended: typed decision endpoints β€” routing, intent classification, policy/
266
- adequacy checks, structured QA over explicit option lists, pipeline control.
267
- - The model emits **option probabilities only**; it is not a generative assistant.
268
- - Ratings (`score` items) are supported through the same readout; they inherit the
269
- parents' weak arithmetic/timing behavior (see the temporal_numeric row above).
270
- - Trained on public data sources assembled by the project; no evaluation rows were
271
- used for training (corpus admission contracts enforced this).
272
- - Uncalibrated: temperature 1.0, no post-hoc calibration fitted. The 6 low-confidence
273
- bins in the JevBench calibration table show mild over-confidence in the 0.6–0.8
274
- confidence range.
 
275
 
276
  ## License
277
 
278
- - `LICENSE` β€” Apache-2.0 text as preserved from the parent checkpoint lineage
279
- (base: Qwen/Qwen3.5-4B, inherit the base model's terms).
280
- - `LICENSE.code` β€” MIT for runtime/server code components adapted from upstream.
281
- - No benchmark score is claimed by this package beyond the reproducible evidence
282
- files listed above; the Decision Index owner reserves 80% of its Full score for
283
- private tests, so the 50.31 public index is not a board submission.
284
-
285
 
286
  ## Acknowledgements
287
 
288
- Built by the Lemon project. Runtime and server components build on Apache-2.0
289
- and MIT upstream code (see LICENSE files). Base backbone by the Qwen team.
 
10
  - merge
11
  - qwen3.5
12
  ---
 
13
  # LemonDecider 4B
14
 
15
+ **Model ID:** `lemondecider-4b-20261023-v3`
16
  **Base model:** `Qwen/Qwen3.5-4B`
17
 
18
+ This v3 release makes typed decisions from a shared text state and named questions.
19
+ It returns choice probabilities, yes/no probabilities (`noul`), or ordinal scores
20
+ without generating an answer token stream. Requests that fit use one joint forward;
21
+ overlength question lists are recursively bisected, preserving the complete state
22
+ and every option in each chunk. Inputs are never truncated.
23
 
24
  ## Model description
25
 
26
  | Property | Value |
27
  |---|---|
28
+ | Architecture | Qwen3.5-4B hybrid backbone with a 255-option decision readout |
29
+ | Loader | `modeling_lemondecider.LemonDeciderForDecisionClassification`, `trust_remote_code=True` |
30
+ | Model type / protocol | `lemondecider_decision` / `lemondecider-v1` |
31
+ | Attention | Noncausal periodic full-attention layers; hybrid recurrent layers; SDPA |
32
+ | Readout | Native inline joint-question readout (`joint_readout.predict_joint`) |
33
+ | Temperature | 1.0026751894886363, scalar calibrated |
34
+ | Capacity | 8192 tokens per chunk including template; at most 255 options per question |
35
+ | Serving strategy | `recursive-question-bisection-v1`; short requests are not split |
36
+ | Precision | BF16 loading; model-specific readout precision preserved by packaged implementation |
37
+ | Serialized tensors | 724 |
38
+ | Modalities | Published HTTP service is text-only |
39
+ | Runtime | Python 3.12; evaluated runtime recorded Torch 2.9.0, Transformers 5.17.0; run notes specify FLA 0.5.2 |
40
 
41
  ## Training
42
 
43
+ LemonDecider 4B v3 was fine-tuned (SFT) from a common Qwen3.5-4B initialization on **1,199,692 decision/QA rows** (about 1.20M training rows, with separate development, calibration and test splits). The released weights are a uniform FP32 average of **four checkpoints from the same SFT run**, followed by scalar temperature calibrationβ€”not a combination of two independent training runs.
 
 
 
 
 
44
 
45
+ **Question formats:** `choice` (up to 255 options; **84.4%**), `noul` (no/yes; **15.2%**) and `score` (ordinal ratings; **0.4%**). This training run is **text-only**, with the vision tower frozen. The original training corpus retains joint-question grouping where applicable; the single-record export preserves the question-level content but removes grouping metadata and is not an exact reproduction of the original joint-training layout.
 
 
 
46
 
47
  **Data categories:**
48
 
49
+ - **Service and action decisions** β€” user-intent routing, case classification, agent-action safety and policy judgments;
50
+ - **Language judgment** β€” sentiment, sarcasm, natural language inference, factuality and paraphrase-style checks;
51
+ - **Knowledge and reasoning QA** β€” multiple-choice knowledge, commonsense and logical reasoning, arithmetic and math word problems;
52
+ - **Retrieval and selection** β€” relevance judgments, information retrieval and product selection;
53
+ - **Preference and quality judgments** β€” helpfulness, correctness, safety and response-quality comparisons;
54
+ - **Probability and ordinal judgments** β€” yes/no probabilities and ordered ratings.
55
+
56
+ **Training parameters (from the recorded configuration and training log):**
57
+
58
+ - Distributed FSDP with full sharding on **16 accelerators**;
59
+ - **One epoch, 4,690 optimization steps**, effective batch size **256**, learning rate **2e-6**;
60
+ - Maximum sequence length and token budget **8,192**; native joint-question inline readout;
61
+ - Objective recorded as `option_cross_entropy`; choice permutation `global-reference`; text-only inputs and frozen vision tower;
62
+ - Warmup ratio **0.15**, weight decay **0.01**, gradient clipping **1.0**, gradient checkpointing enabled;
63
+ - Precision policy `fp32-master-bf16`, BF16 serving load, SDPA with noncausal full attention;
64
+ - Four-checkpoint weight averaging; final temperature **1.0026751894886363**, fitted on **1,448 held-out calibration rows**.
65
+
66
+ The corpus manifest records fingerprint-based filtering against protected JevBench and Decision Index evaluation inputs, while some source collections include benchmark training splits. This is not a blanket guarantee of zero overlap, nor a claim that every upstream source has permissive redistribution terms; source-specific terms still require review.
 
67
 
68
  ## Package artifacts
69
 
70
  ### Weight files
71
 
72
+ | File | Bytes | SHA-256 |
73
  |---|---:|---|
74
+ | `model-00001-of-00002.safetensors` | 4,973,336,472 | `35c24b89f66f61dafba87f1249d98c9f038e2e4a3680dd93edc53a7689a8d783` |
75
+ | `model-00002-of-00002.safetensors` | 4,106,591,800 | `f7bef3b498174e1f5b13e357056b0ed25b3842466e91206a3157e151bcbc6139` |
76
  | `tokenizer.json` | 19,989,492 | `6f32ce20dc35f57a7f9ad1eac03525bd7d30f9df8cea6507e958279cc3657706` |
77
+ | `model.safetensors.index.json` | 68,427 | `cdc57ae81f5d72a44461bdbb9949139319294b25ce35734646fb0c7b074f52f8` |
78
 
79
+ The repository keeps the model/processor/tokenizer filenames used by the HF
80
+ layout. v3 additionally requires `joint_readout.py`; `code/` provides the serving
81
+ entry points, and `requirements.txt` describes installation dependencies.
82
+ Original copyright and license notices are retained.
83
 
84
  ## Evaluation results
85
 
 
 
 
 
 
 
 
 
 
 
 
86
  ### 1) Decision Index, edition 0.3 β€” FULL public suite (complete run)
87
 
88
+ On **2026-10-25**, the chunked service performed a fresh full evaluation over
89
+ **140,178 scoreable requests** using four independent PPU-ZW810E workers. The 442
90
+ officially excluded requests were filtered before inference. The official scorer
91
+ reported `complete: true`, with **140,148 ok** and **30 unsupported**.
92
 
93
  | Headline | Value |
94
  |---|---:|
95
+ | **Decision Index (public 0.3)** | **60.03** |
96
+ | Raw index | 69.34 |
97
+ | Breadth skill | 58.63 |
98
+ | Median / mean / p95 request latency | 53.3 ms / 104.9 ms / 286.1 ms |
99
 
100
+ This is a self-evaluated public-suite result, not an official private Full score or
101
+ leaderboard acceptance. Latency is HTTP request wall time from a four-worker PPU
102
+ run, not official single-GPU latency admission. Kit commit:
103
+ `25c6ec7b6b5f44a216c63c3a700de3a9c6d6699d`.
104
 
105
+ $0
106
  #### Per-area scores
107
 
108
+ | Area | Raw | Skill | Coverage | Benchmarks |
109
  |---|---:|---:|---:|---:|
110
+ | Knowledge & Reasoning | 0.5307 | 0.4044 | 0.9998 | 11 |
111
+ | Language Understanding | 0.7714 | 0.6795 | 1.0000 | 9 |
112
+ | Retrieval & Classification | 0.7635 | 0.6827 | 1.0000 | 6 |
113
+ | Tools & Automation | 0.7710 | 0.7431 | 0.9986 | 5 |
114
+ | Arts & Human Taste | 0.6299 | 0.4756 | 0.9979 | 6 |
115
 
116
+ #### Per-benchmark native scores (β˜… = included in the public index)
117
+
118
+ The Score column uses each benchmark's native summary metric on supported cases;
119
+ Skill and Coverage come from the official index report. Track aggregation and
120
+ coverage adjustment can therefore make Score differ from the index's raw value.
121
+ iSarcasmEval uses its English track-A headline rather than a nonexistent combined
122
+ summary score. All values below are generated from this v3 run, not the v2 card.
123
 
124
  | # | Benchmark | Metric | Requests | Score | Skill | Cov. |
125
  |---:|---|---|---:|---:|---:|---:|
126
+ | 1 | BFCL β˜… | case exact accuracy | 1,694 | 0.9534 | 0.9370 | 1.0000 |
127
+ | 2 | ToolRet β˜… | nDCG@10 | 685 | 0.6082 | 0.5455 | 0.9971 |
128
+ | 3 | API-Bank β˜… | accuracy | 508 | 0.8458 | 0.8394 | 0.9961 |
129
+ | 4 | BANKING77 β˜… | macro-F1 | 3,080 | 0.9343 | 0.9335 | 1.0000 |
130
+ | 5 | CLINC150+OOS β˜… | macro-F1 | 5,500 | 0.9296 | 0.9292 | 1.0000 |
131
+ | 6 | RouterBench | selected quality (quality objective) | 10,000 | 0.7992 | 0.5292 | 1.0000 |
132
+ | 9 | Home appliance simulator β˜… | case exact accuracy | 88 | 0.6023 | 0.6023 | 1.0000 |
133
+ | 10 | SGD/SGD-X | macro-F1 | 2,500 | 0.4213 | 0.0371 | 1.0000 |
134
+ | 11 | ContractNLI β˜… | macro-F1 | 123 | 0.8665 | 0.8070 | 1.0000 |
135
+ | 12 | ANLI β˜… | macro-F1 | 3,200 | 0.7184 | 0.5782 | 1.0000 |
136
+ | 20 | BPoMP β˜… | accuracy | 5,000 | 0.9856 | 0.9705 | 1.0000 |
137
+ | 21 | Humicroedit β˜… | accuracy | 2,628 | 0.6355 | 0.2709 | 1.0000 |
138
+ | 22 | POP909-CL β˜… | accuracy | 2,000 | 0.1792 | 0.1687 | 0.9875 |
139
+ | 23 | cfcolor β˜… | accuracy | 5,000 | 0.7450 | 0.4409 | 1.0000 |
140
+ | 24 | MMLU | accuracy | 14,033 | 0.7959 | 0.7279 | 1.0000 |
141
+ | 25 | GPQA Diamond β˜… | accuracy | 196 | 0.4490 | 0.2653 | 1.0000 |
142
+ | 26 | ARC-Easy | accuracy | 2,376 | 0.9882 | 0.9843 | 1.0000 |
143
+ | 27 | ARC-Challenge | accuracy | 1,172 | 0.9565 | 0.9420 | 1.0000 |
144
+ | 28 | WinoGrande β˜… | accuracy | 1,267 | 0.8974 | 0.7948 | 1.0000 |
145
+ | 29 | HellaSwag β˜… | accuracy | 10,042 | 0.9552 | 0.9403 | 1.0000 |
146
+ | 30 | GSM8K β˜… | accuracy | 2,638 | 0.6274 | 0.5540 | 1.0000 |
147
+ | 31 | ChessBench β˜… | accuracy | 5,000 | 0.1304 | 0.0529 | 1.0000 |
148
+ | 32 | MuSR β˜… | accuracy | 752 | 0.5984 | 0.3615 | 1.0000 |
149
+ | 33 | SATA-Bench β˜… | case exact accuracy | 1,650 | 0.2921 | 0.2827 | 1.0000 |
150
+ | 34 | SimpleBench | accuracy | 10 | 0.0000 | 0.0000 | 1.0000 |
151
+ | 36 | BRIGHT β˜… | nDCG@10 | 220 | 0.4594 | 0.3884 | 1.0000 |
152
+ | 37 | Amazon ESCI β˜… | macro-F1 | 5,000 | 0.5954 | 0.4925 | 1.0000 |
153
+ | 38 | ACOS β˜… | per-review F1 | 1,565 | 0.3822 | 0.3624 | 1.0000 |
154
+ | 39 | FinEntity β˜… | macro-F1 | 979 | 0.9345 | 0.9037 | 1.0000 |
155
+ | 40 | iSarcasmEval β˜… | Sarcasm F1 (track A, English) | 4,600 | 0.6318 | 0.5263 | 1.0000 |
156
+ | 41 | VAST β˜… | macro-F1 | 3,006 | 0.7751 | 0.6627 | 1.0000 |
157
+ | 42 | NLI4CT β˜… | macro-F1 | 5,500 | 0.8090 | 0.6284 | 1.0000 |
158
+ | 43 | CRUXEval β˜… | accuracy | 570 | 0.6263 | 0.4071 | 1.0000 |
159
+ | 44 | CLadder β˜… | accuracy | 5,000 | 0.7908 | 0.5816 | 1.0000 |
160
+ | 45 | HLE β˜… | accuracy | 501 | 0.1080 | 0.0000 | 0.9980 |
161
+ | 50 | Habermas Machine β˜… | accuracy | 1,676 | 0.6193 | 0.4475 | 1.0000 |
162
+ | 56 | PhishNChips phishing decisions β˜… | accuracy | 2,000 | 0.7675 | 0.5350 | 1.0000 |
163
+ | 57 | MMLU-Pro β˜… | accuracy | 12,032 | 0.5865 | 0.5349 | 1.0000 |
164
+ | 58 | BBH fixed-option tasks β˜… | accuracy | 5,507 | 0.7118 | 0.5823 | 1.0000 |
165
+ | 59 | RAGTruth response-level hallucination β˜… | F1 on hallucinated class | 2,700 | 0.8433 | 0.6751 | 1.0000 |
166
+ | 61 | HoVer claim verification β˜… | accuracy | 4,000 | 0.8885 | 0.7770 | 1.0000 |
167
+ | 62 | When2Call MCQ β˜… | accuracy | 3,652 | 0.7998 | 0.7331 | 1.0000 |
168
+ | 64 | New Yorker caption matching β˜… | accuracy | 528 | 0.6439 | 0.5549 | 1.0000 |
169
+
170
+ The model repository does not include prediction/result files. These belong in a
171
+ separate results Dataset under `runs/lemondecider-v3-chunked-public03/`; attach its
172
+ published link and immutable model revision when submitting. No Dataset URL is
173
+ invented here. Publication code has naming-only differences from the historical
174
+ service; its planning/prediction implementations are unchanged (release notes).
175
+ The current Dataset publication copy normalized response-model labels; preserve
176
+ original untouched predictions for review or obtain reviewer acceptance of that
177
+ transformation. A naming-cleanup rescore is not a new inference evaluation.
178
+
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
179
 
180
  ## Usage
181
 
182
+ Install a hardware-compatible Torch 2.9.0 build in a separate Python 3.12
183
+ environment, then `python -m pip install -r requirements.txt`.
184
+ The requirements file is a candidate recipe, not a validated NVIDIA lockfile.
185
+ Clean NVIDIA compatibility has not been verified by this packaging operation.
186
+ Download the whole repository at an immutable published v3 revision; custom code
187
+ executes during loading, so inspect it first.
188
+
189
+ ### Python: native joint decisions with capacity-aware chunking
190
 
191
  ```python
192
+ import json
193
+ import sys
194
+ from pathlib import Path
195
+
196
+ checkpoint = Path("./LemonDecider").resolve()
197
+ sys.path.insert(0, str(checkpoint / "code"))
198
+ from serve_312k import LemonDeciderHFService
199
+
200
+ service = LemonDeciderHFService(checkpoint, "cuda:0", None)
201
+ request = {
202
+ "state": "The customer wants to return a damaged package.",
203
+ "questions": {
204
+ "action": {
205
+ "type": "choice",
206
+ "instructions": "Choose the next action.",
207
+ "criteria": {"refund": "Offer a refund", "tracking": "Check tracking"}
208
+ },
209
+ "damaged": {"type": "noul", "instructions": "Is the package damaged?"}
210
+ }
211
+ }
212
+ print(json.dumps(service.predict(request), indent=2))
 
 
213
  ```
214
 
215
+ ### CLI and HTTP
216
 
217
+ From this repository root:
218
+
219
+ ```bash
220
+ python code/verify_files.py
221
+ python tests/test_chunking.py
222
+ CUDA_VISIBLE_DEVICES=0 python code/infer.py --input examples/request.json
223
+ # Alternatively, start the local HTTP service:
224
+ CUDA_VISIBLE_DEVICES=0 bash code/serve.sh
225
+ # In another terminal:
226
+ python code/smoke_test.py
227
+ ```
228
+
229
+ HTTP endpoints: `GET /health`, `GET /v1/models`, `POST /v1/systemone`.
230
+ The service binds to localhost by default. Use `LEMONDECIDER_API_KEY` for optional
231
+ bearer authentication; the provided local smoke client assumes it is unset.
232
+ `code/serve.sh` accepts `PORT`, `DEVICE`, `CHECKPOINT`, `PYTHON` and
233
+ `AIS_SERVER_CPU_THREADS`. Never expose an unauthenticated service publicly.
234
+
235
+ A long question list is recursively bisected in its original order. Every chunk
236
+ retains the complete state and options. Planning finishes before any forward;
237
+ if even one singleton cannot fit, the whole request returns HTTP 422. Returned
238
+ answers keep their original IDs, and input usage sums all chunks including
239
+ repeated state. No reread, option pruning or benchmark-specific rendering is used.
240
+ The root `model.py` is retained for file-layout compatibility but uses the legacy
241
+ independent-question path; it is NOT the reproducing CLI for this joint v3 run.
242
 
243
  ## Intended use & limitations
244
 
245
+ - Designed for option-based routing, classification, structured choices and typed
246
+ decision endpoints, not open-ended text generation.
247
+ - No correctness or calibration guarantee follows from a probability output.
248
+ - Capacity is 8192 tokens per chunk, NOT the backbone's 262144-position setting.
249
+ - A long shared state cannot be shortened to make a question fit.
250
+ - Text-only service; vision tensors in the checkpoint do not imply a supported
251
+ image API or a reported vision benchmark result.
252
+ - Native chunking is part of this release's inference contract, not a benchmark
253
+ optimization that can be silently omitted.
254
+ - Unsupported requests remain in scoring coverage. Public scores do not establish
255
+ performance on private tests or real-world deployment traffic.
256
 
257
  ## License
258
 
259
+ `LICENSE` and `LICENSE.code` are preserved from the v3 export (Apache-2.0 and MIT
260
+ texts respectively). Retain all applicable upstream and author notices; this
261
+ packaging does not expand rights over training or evaluation data.
 
 
 
 
262
 
263
  ## Acknowledgements
264
 
265
+ The Lemon project builds on the Qwen backbone and upstream typed-decision runtime
266
+ work. Attribution and notices remain in the original source and license files.