Feature Extraction
Transformers
Safetensors
lemondecider_decision
decision-model
typed-decisions
multimodal
custom_code
Instructions to use inclusionAI/LemonDecider with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use inclusionAI/LemonDecider with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("feature-extraction", model="inclusionAI/LemonDecider", trust_remote_code=True)# pip install -U transformers accelerate # Load model directly from transformers import AutoModel model = AutoModel.from_pretrained("inclusionAI/LemonDecider", trust_remote_code=True, device_map="auto") - Notebooks
- Google Colab
- Kaggle
Update README
Browse files
README.md
CHANGED
|
@@ -10,280 +10,257 @@ tags:
|
|
| 10 |
- merge
|
| 11 |
- qwen3.5
|
| 12 |
---
|
| 13 |
-
|
| 14 |
# LemonDecider 4B
|
| 15 |
|
| 16 |
-
**Model ID:** `lemondecider-4b-
|
| 17 |
**Base model:** `Qwen/Qwen3.5-4B`
|
| 18 |
|
| 19 |
-
|
| 20 |
-
|
| 21 |
-
|
| 22 |
-
|
|
|
|
| 23 |
|
| 24 |
## Model description
|
| 25 |
|
| 26 |
| Property | Value |
|
| 27 |
|---|---|
|
| 28 |
-
| Architecture | Qwen3.5-4B
|
| 29 |
-
|
|
| 30 |
-
|
|
| 31 |
-
|
|
| 32 |
-
|
|
| 33 |
-
|
|
| 34 |
-
|
|
| 35 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 36 |
|
| 37 |
## Training
|
| 38 |
|
| 39 |
-
LemonDecider 4B was fine-tuned (SFT) from
|
| 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 |
-
-
|
| 54 |
-
|
| 55 |
-
-
|
| 56 |
-
-
|
| 57 |
-
|
| 58 |
-
-
|
| 59 |
-
|
| 60 |
-
|
| 61 |
-
|
| 62 |
-
|
| 63 |
-
|
| 64 |
-
-
|
| 65 |
-
-
|
| 66 |
-
-
|
| 67 |
-
|
| 68 |
-
-
|
| 69 |
-
|
| 70 |
-
|
| 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 |
|
| 78 |
|---|---:|---|
|
| 79 |
-
| `model-00001-of-00002.safetensors` | 4,973,336,472 | `
|
| 80 |
-
| `model-00002-of-00002.safetensors` | 4,
|
| 81 |
| `tokenizer.json` | 19,989,492 | `6f32ce20dc35f57a7f9ad1eac03525bd7d30f9df8cea6507e958279cc3657706` |
|
| 82 |
-
| `model.safetensors.index.json` | 68,
|
| 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 |
-
|
| 101 |
-
|
| 102 |
-
|
|
|
|
| 103 |
|
| 104 |
| Headline | Value |
|
| 105 |
|---|---:|
|
| 106 |
-
| **Decision Index (public 0.3)** | **
|
| 107 |
-
| Raw index |
|
| 108 |
-
|
|
|
|
|
| 109 |
|
| 110 |
-
|
| 111 |
-
|
| 112 |
-
|
| 113 |
-
|
| 114 |
|
|
|
|
| 115 |
#### Per-area scores
|
| 116 |
|
| 117 |
-
| Area | Raw | Skill
|
| 118 |
|---|---:|---:|---:|---:|
|
| 119 |
-
| Knowledge & Reasoning | 0.
|
| 120 |
-
| Language Understanding | 0.
|
| 121 |
-
| Retrieval & Classification | 0.
|
| 122 |
-
| Tools & Automation | 0.
|
| 123 |
-
| Arts & Human Taste | 0.
|
| 124 |
|
| 125 |
-
#### Per-benchmark native scores (β
=
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 126 |
|
| 127 |
| # | Benchmark | Metric | Requests | Score | Skill | Cov. |
|
| 128 |
|---:|---|---|---:|---:|---:|---:|
|
| 129 |
-
| 1 | BFCL β
| case exact accuracy | 1,694 | 0.
|
| 130 |
-
| 2 | ToolRet β
| nDCG@10 | 685 | 0.
|
| 131 |
-
| 3 | API-Bank β
| accuracy | 508 | 0.
|
| 132 |
-
| 4 | BANKING77 β
| macro-F1 | 3,080 | 0.
|
| 133 |
-
| 5 | CLINC150+OOS β
| macro-F1 | 5,500 | 0.
|
| 134 |
-
| 6 | RouterBench | selected quality | 10,000 | 0.
|
| 135 |
-
| 9 | Home appliance simulator β
| case exact accuracy | 88 | 0.
|
| 136 |
-
| 10 | SGD/SGD-X | macro-F1 | 2,500 | 0.
|
| 137 |
-
| 11 | ContractNLI β
| macro-F1 | 123 | 0.
|
| 138 |
-
| 12 | ANLI β
| macro-F1 | 3,200 | 0.
|
| 139 |
-
| 20 | BPoMP β
| accuracy | 5,000 | 0.
|
| 140 |
-
| 21 | Humicroedit β
| accuracy | 2,628 | 0.
|
| 141 |
-
| 22 | POP909-CL β
| accuracy | 2,000 | 0.
|
| 142 |
-
| 23 | cfcolor β
| accuracy | 5,000 | 0.
|
| 143 |
-
| 24 | MMLU | accuracy | 14,033 | 0.
|
| 144 |
-
| 25 | GPQA Diamond β
| accuracy | 196 | 0.
|
| 145 |
-
| 26 | ARC-Easy | accuracy | 2,376 | 0.
|
| 146 |
-
| 27 | ARC-Challenge | accuracy | 1,172 | 0.
|
| 147 |
-
| 28 | WinoGrande β
| accuracy | 1,267 | 0.
|
| 148 |
-
| 29 | HellaSwag β
| accuracy | 10,042 | 0.
|
| 149 |
-
| 30 | GSM8K β
| accuracy | 2,638 | 0.
|
| 150 |
-
| 31 | ChessBench β
| accuracy | 5,000 | 0.
|
| 151 |
-
| 32 | MuSR β
| accuracy | 752 | 0.
|
| 152 |
-
| 33 | SATA-Bench β
| case exact accuracy | 1,650 | 0.
|
| 153 |
-
| 34 | SimpleBench | accuracy | 10 | 0.
|
| 154 |
-
| 36 | BRIGHT β
| nDCG@10 | 220 | 0.
|
| 155 |
-
| 37 | Amazon ESCI β
| macro-F1 | 5,000 | 0.
|
| 156 |
-
| 38 | ACOS β
| per-review F1 | 1,565 | 0.
|
| 157 |
-
| 39 | FinEntity β
| macro-F1 | 979 | 0.
|
| 158 |
-
| 40 | iSarcasmEval β
| Sarcasm F1 (track A,
|
| 159 |
-
| 41 | VAST β
| macro-F1 | 3,006 | 0.
|
| 160 |
-
| 42 | NLI4CT β
| macro-F1 | 5,500 | 0.
|
| 161 |
-
| 43 | CRUXEval β
| accuracy | 570 | 0.
|
| 162 |
-
| 44 | CLadder β
| accuracy | 5,000 | 0.
|
| 163 |
-
| 45 | HLE β
| accuracy | 501 | 0.
|
| 164 |
-
| 50 | Habermas Machine β
| accuracy | 1,676 | 0.
|
| 165 |
-
| 56 | PhishNChips β
|
|
| 166 |
-
| 57 | MMLU-Pro β
| accuracy | 12,032 | 0.
|
| 167 |
-
| 58 | BBH fixed-option tasks β
| accuracy | 5,507 | 0.
|
| 168 |
-
| 59 | RAGTruth β
| F1 on hallucinated class | 2,700 | 0.
|
| 169 |
-
| 61 | HoVer β
|
|
| 170 |
-
| 62 | When2Call MCQ β
| accuracy | 3,652 | 0.
|
| 171 |
-
| 64 | New Yorker caption matching β
| accuracy | 528 | 0.
|
| 172 |
-
|
| 173 |
-
|
| 174 |
-
|
| 175 |
-
|
| 176 |
-
|
| 177 |
-
|
| 178 |
-
|
| 179 |
-
|
| 180 |
-
|
| 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 |
-
|
| 225 |
-
|
| 226 |
-
|
| 227 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
| 228 |
|
| 229 |
```python
|
| 230 |
-
import
|
| 231 |
-
|
| 232 |
-
|
| 233 |
-
|
| 234 |
-
|
| 235 |
-
|
| 236 |
-
|
| 237 |
-
|
| 238 |
-
|
| 239 |
-
|
| 240 |
-
|
| 241 |
-
|
| 242 |
-
|
| 243 |
-
|
| 244 |
-
|
| 245 |
-
|
| 246 |
-
|
| 247 |
-
|
| 248 |
-
|
| 249 |
-
|
| 250 |
-
|
| 251 |
-
answers = predict_batch(model, processor, rows)
|
| 252 |
-
print(answers["answers"][0]) # choice, probabilities over the 3 options, confidence
|
| 253 |
```
|
| 254 |
|
| 255 |
-
CLI
|
| 256 |
|
| 257 |
-
|
| 258 |
-
|
| 259 |
-
|
| 260 |
-
|
| 261 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 262 |
|
| 263 |
## Intended use & limitations
|
| 264 |
|
| 265 |
-
-
|
| 266 |
-
|
| 267 |
-
-
|
| 268 |
-
-
|
| 269 |
-
|
| 270 |
-
-
|
| 271 |
-
|
| 272 |
-
-
|
| 273 |
-
|
| 274 |
-
|
|
|
|
| 275 |
|
| 276 |
## License
|
| 277 |
|
| 278 |
-
|
| 279 |
-
|
| 280 |
-
|
| 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 |
-
|
| 289 |
-
|
|
|
|
| 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.
|