eshbartur

Licence: the weights and the code in this repository are released under Apache-2.0.

eshbartur is a 4.21B-parameter text-only decision model fine-tuned from Qwen/Qwen3.5-4B (revision 851bf6e806efd8d0a36b00ddf55e13ccb7b8cd0a, Apache-2.0; vision encoder and MTP head omitted, retaining the pure-text Qwen3_5ForCausalLM backbone). It natively scores all three Decision Index question types (choice, noul, score) with up to 255 options per question in a single forward pass with no token decoding.

This repository holds the merged bf16 weights (model-*.safetensors, 8.41 GB across 2 shards, Qwen3_5ForCausalLM layout with pure-text config.json and Qwen3.5-4B's unchanged tokenizer and chat-template files), a calibrated 255-way fp32 linear readout (readout.safetensors: weight [255, 2560] and bias [255] with held-out calibration temperature T = 1.40 folded directly into weight and bias), and a standalone Decision Index engine (eshbartur.py).

Architecture & Inference

  • Non-causal full attention: the 8 full-attention layers attend bidirectionally over each prompt via transformers' native AttentionMaskInterface (4D right-padded boolean key mask for multi-question batches, is_causal=False); the 24 Gated DeltaNet recurrent layers remain causal.
  • Zero-duplication prompt layout + RE2 (Read-Twice): system prompt followed by a concise user turn (Question: + optional Context: + Options: for single-question requests; Questions to consider: + optional Context: + Selected Question: + Options: for multi-question requests), ending at Answer: (. Prompts with <= 2,048 tokens are presented twice separated by a short re-read bridge (Read the same input again before answering:) so the causal Gated DeltaNet layers attend over the full context and all options on the second pass.
  • Batched multi-question scoring: multi-question requests are sorted by length and scored in right-padded batches (<= 8 questions and <= 12,288 padded tokens per batch) with zero padding leakage.
  • Calibrated 255-way readout: the last prompt token's final hidden state passes through a learned 255-way fp32 linear readout over 255 boundary-stable single-token answer codes (initialized from the base model's lm_head rows), with scalar calibration temperature T = 1.40 (fit on held-out dev data) folded directly into readout.safetensors (weight / 1.40, bias / 1.40). Softmax over the question's k options yields choice probabilities, noul calibrated true probability, or score expected value and level probabilities.
  • Capacity limits: max_len = 65,536 tokens, up to 255 options per question; no truncation and no option filtering.

Usage

Requires Linux x86_64 and uv. The repository is ~8.4 GB and requires no external OCR or auxiliary models.

uvx --from huggingface_hub hf download plantwaterer/eshbartur --local-dir eshbartur
cd eshbartur
bash install.sh
uv run --frozen python -m decision_index run --engine eshbartur:Engine --compact --out runs/eshbartur

Run from the repository directory so Python finds eshbartur.py. bash install.sh runs uv sync --frozen (Python 3.12, PyTorch 2.14.1 CUDA 13.0, transformers==5.23.0, flash-linear-attention==0.5.2, decision-index @ 9eb2dbe2) and verifies the GPU environment via selfcheck.py.

In Python (uv run --frozen python):

from eshbartur import Engine

engine = Engine()  # loads weights & calibrated 255-way readout on cuda:0
response, _ = engine(
    {"document": "The quarterly filing confirmed revenue rose 14% year over year."},
    {"sentiment": {"type": "choice", "instructions": "Classify the financial tone.",
                   "criteria": {"pos": "Positive", "neg": "Negative", "neu": "Neutral"}}},
)
print(response["answers"]["sentiment"])

Requirements:

  • GPU: fits comfortably on a 16 GB+ GPU (bf16 weights 8.41 GB; peak VRAM measured at 12,725 MiB (13.3 GB) on RTX PRO 6000 and 14,957 MiB (15.7 GB) on H200 during the 1,000-row public latency benchmark). Tested end-to-end from an empty uv cache on NVIDIA RTX PRO 6000 Blackwell and NVIDIA H200.

Training

Fine-tuned from Qwen/Qwen3.5-4B (851bf6e806efd8d0a36b00ddf55e13ccb7b8cd0a) as pure-text Qwen3_5ForCausalLM with rank-32 (alpha=64) LoRA on all 248 linear matrices and a learned 255-way fp32 linear readout:

  • Training set: 445,594 decision questions under 334 source labels (322 distinct sources; 12 are counted a second time for questions taken from multi-question requests) (436,899 choice, 8,438 native noul, 257 native score, including 27,122 multi-question rows from 13,561 multi-question requests).
  • Teacher and loss: weighted KL divergence (soft-label cross-entropy; 1.0 teacher weight, 0.0 gold weight, 0.0 label smoothing) to output probabilities from MachinePulseAI/karpo-decision-31B (PR #391, revision d69cdd57eab23271cbe65236ca8a00d80d7bb8c7), run in machinepulse-ai/karpo-decision (a6fa38bf4e8de9dbdb9491fb461b9b320a2e2118, view joint, T=1) on 15-16 November 2026 UTC (340,926 kept rows on 15 November; 104,668 on 16 November). No karpo-decision-31B weights were used to initialize, merge into, or ship with this model.
  • Teacher licence history: revision d69cdd57 was downloaded on 15 November under the MachinePulse Community License (effective 12 November 2026), whose Section 8(f) states: "A model trained only on outputs generated by the Software or a Derivative Work, and which does not incorporate any of their model weights, is not a Derivative Work." On 16 November 2026 (06b966b9e154 / b8e6fd7463ce), MachinePulse relicensed those same weight files (13/13 identical safetensors shards) under Apache-2.0, prior to the 16 November teacher runs and to model training.
  • Training runs and selection: run 3 of 3; run 1 (causal, r=64, lr=2e-4), run 2 (causal, r=16, lr=4e-5), and run 3 (bidirectional attention on the eight full-attention layers, RE2 read-twice, r=32, lr=4e-5) scored 56.93, 60.32, and 64.39 on a 4,400-row public screen while improving on both internal sets. The final checkpoint was selected among five checkpoint/averaging variants using both internal sets and the 4,400-row screen.
  • Schedule: 1 epoch (3,516 optimizer steps, effective batch 128, cosine LR 4e-5 LoRA / 2e-4 readout, weight decay 0.02, uniform random option permutation per step).
  • Calibration: scalar temperature T = 1.40 was fit on half of an internal 7,551-decision dev set and checked on the other half (ECE 0.0576 -> 0.0178, -69%; NLL 0.7141 -> 0.6908) and on a 10,899-question internal eval sample (ECE 0.0579 -> 0.0161, -72%; NLL 0.6436 -> 0.6143), then folded into readout.safetensors with zero runtime overhead and no change to choice argmax.
  • Export: the 248 LoRA adapters were merged into the text backbone in fp32 with a single bf16 rounding, vision tower and MTP head removed. Independent bit-exact verification confirmed all 427 loaded tensors and both fp32 readout tensors (weight, bias) are bit-identical (0 differing tensors, 0 leaks), and live engine parity against the unexported checkpoint matched 1,635 / 1,635 (100.0%) choices with max |dp| = 1.8e-7.

Evaluation

Decision Index 0.4.1 board status: submitted in PR #496 (opened 2026-11-20); pending private board evaluation as of the 2026-11-21 snapshot (board).

Decision Index Text 0.3, public suite: all 140,620 requests (140,178 scored, 37 benchmarks across 5 areas). Executed directly through this repository's standalone files, bash install.sh (uv sync --frozen), and eshbartur:Engine (no engine options, kit commit 9eb2dbe2a358004c8782c66e40a83ac07b953fec) sharded 8-way across 8 x NVIDIA H200 GPUs and scored with decision_index score --edition 0.3. Complete run files are in plantwaterer/eshbartur-decision-index.

Metric Score Notes
Decision Index 0.3 (balanced skill) 63.23 140,178 / 140,178 scored (complete: true)
Balanced raw 72.56 140,620 run, 0 errors, 0 unsupported
Breadth skill 61.99 100% coverage across all 5 areas
Area Benchmarks Coverage Skill (%) Raw (%)
Knowledge 11 100% 44.76 56.72
Language 9 100% 66.94 76.86
Retrieval 6 100% 69.12 76.80
Tools 5 100% 82.76 84.46
Arts 6 100% 53.86 72.19

Internal development sets (non-public):

  • 10,899-question sample across 31 internal eval sets (ESCI test queries removed): 73.38 micro accuracy, 69.68 mean over 43 source groups (ECE = 0.0161). Includes 300 public Decision Index HLE items; several sets share source datasets with training on separate splits.
  • 7,551-decision dev set across 44 source families: 70.49 micro accuracy, 75.48 mean over families; ECE = 0.0178 on the half not used to fit T. At least 21 of the 44 families (23 counting two near-matches by name) also appear in training on separate rows.
  • Both sets were used to fit T and (with the 4,400-row public screen) to pick the final checkpoint among five variants. Neither predicted private new-domain rankings in our checks, and teacher overlap with these sets is unknown.

Latency (1 x NVIDIA RTX PRO 6000 Blackwell 96 GB, sequential, 1,000-row public board sample): measured one request at a time via decision_index run --engine eshbartur:Engine --compact starting from empty kernel caches, excluding 8.6 s model load and kernel warm-up:

Median Mean p80 p95 p99 Max > 1,000 ms Peak VRAM
37.6 ms 229.5 ms 92.4 ms 360.8 ms 5,184.7 ms 20,235.6 ms 32 / 1,000 12,725 MiB

Cross-GPU parity (RTX PRO 6000 vs H200 scored run on the 1,000-row sample, 2,421 questions): 2,325 / 2,327 (99.91%) identical choices (med |dp| = 0.0007). On 1 x NVIDIA H200 (same 1,000-row sample): median 73.6 ms, mean 195.6 ms, p80 96.1 ms, p95 290.8 ms, peak VRAM 14,957 MiB. Across the full 140,620-row run (8 shards on 8 x NVIDIA H200): median 41.1 ms, mean 136.2 ms, p80 95.4 ms, p95 245.6 ms.

Data Filtering & Attribution

No test split of any benchmark in Decision Index 0.3 was used in training. One source, CLINC150, was built from its train and validation splits (2,492 of its 14,088 questions are validation-split records; the Decision Index scores CLINC150 on its test splits). Excluded prior to training: sources with restrictive or contested licences (HellaSwag, cfcolor), synthetic chess traces, and two question families whose answer keys the teacher agreed with only about half the time (LOOMD-phish_v5, 4,259 questions, and train_hover, 702 questions; together the list droplist_roundH). Other HoVer-derived questions remain in the training data. Training questions derive from train splits of public NLP, reasoning, math, retrieval, and tool-use datasets (including Amazon ESCI, WinoGrande, CLINC150, GSM8K, AQuA-RAT, DeepMind Mathematics, MedQA, MedMCQA, PubMedQA, SuperGPQA, BANKING77, MultiRC, ContractNLI, RAGTruth, VAST, ACOS, When2Call, HoVer, Toucan-1.5M (also recast as questions in the format of BFCL and ToolRet; no BFCL or ToolRet item is used), EX-FEVER, WANDS, and synthetic decision items) paired with soft teacher distributions; some constituent NLP datasets carry non-commercial, research-only, or unstated licences. None of the third-party training data is redistributed here.

Released datasets and reproducible recipes:

Downloads last month
75
Safetensors
Model size
4B params
Tensor type
BF16
·
Inference Providers NEW
This model isn't deployed by any Inference Provider. 🙋 Ask for provider support

Model tree for plantwaterer/eshbartur

Finetuned
Qwen/Qwen3.5-4B
Finetuned
(1,673)
this model