Dataset Viewer
Auto-converted to Parquet Duplicate
input_tokens
int64
32
512
fields
int64
1
3
k
int64
8
8
n_texts
int64
8
8
broadcast_wall_median
float64
0.68
0.9
broadcast_wall_all
listlengths
3
3
broadcast_prefill_tokens
int64
1.28k
5.81k
ratio_wall_broadcast_vs_joint
float64
0.4
1.74
ratio_wall_broadcast_vs_perfield
float64
0.51
7.42
run_mode
stringclasses
1 value
model
stringclasses
1 value
model_revision
stringclasses
1 value
perfield_wall_median
float64
0.09
1.47
perfield_wall_all
listlengths
3
3
perfield_prefill_tokens
int64
1.31k
15.4k
perfield_generated_tokens
int64
0
0
joint_wall_median
float64
0.4
1.85
joint_wall_all
listlengths
3
3
joint_prefill_tokens
int64
1.58k
6.06k
joint_generated_tokens
int64
56
190
ratio_wall
float64
0.21
0.83
ratio_prefill
float64
0.83
2.55
measured_at
float64
1.79B
1.79B
note
stringclasses
1 value
32
1
8
8
0.6975
[ 0.6975, 0.6954, 0.7341 ]
1,275
1.7436
7.4177
hf-cuda-greedy,bfloat16,attn=eager,B.batch=16,A.batch=8,torch=2.5.1+cu124,transformers=4.57.6,xgrammar=0.2.7
Qwen/Qwen3-4B-Instruct-2507
cdbee75f17c01a7cc42f958dc650907174af0554
0.094
[ 0.4642, 0.094, 0.0929 ]
1,312
0
0.4
[ 0.4685, 0.4, 0.3968 ]
1,576
56
0.2351
0.8325
1,789,639,430.828699
COST ONLY -- accuracy is meaningless here
32
2
8
8
0.6867
[ 0.6867, 0.6797, 0.7018 ]
1,745
0.9183
3.9011
hf-cuda-greedy,bfloat16,attn=eager,B.batch=16,A.batch=8,torch=2.5.1+cu124,transformers=4.57.6,xgrammar=0.2.7
Qwen/Qwen3-4B-Instruct-2507
cdbee75f17c01a7cc42f958dc650907174af0554
0.176
[ 0.176, 0.1759, 0.1761 ]
2,624
0
0.7478
[ 0.7478, 0.7744, 0.7386 ]
1,976
107
0.2354
1.3279
1,789,639,435.707598
COST ONLY -- accuracy is meaningless here
32
3
8
8
0.7119
[ 0.7128, 0.7119, 0.6991 ]
1,969
0.5669
2.6802
hf-cuda-greedy,bfloat16,attn=eager,B.batch=16,A.batch=8,torch=2.5.1+cu124,transformers=4.57.6,xgrammar=0.2.7
Qwen/Qwen3-4B-Instruct-2507
cdbee75f17c01a7cc42f958dc650907174af0554
0.2656
[ 0.2644, 0.2658, 0.2656 ]
3,912
0
1.2557
[ 1.2908, 1.2557, 1.2553 ]
2,208
187
0.2115
1.7717
1,789,639,442.452231
COST ONLY -- accuracy is meaningless here
128
1
8
8
0.7211
[ 0.6885, 0.7433, 0.7211 ]
2,048
1.5346
4.8511
hf-cuda-greedy,bfloat16,attn=eager,B.batch=16,A.batch=8,torch=2.5.1+cu124,transformers=4.57.6,xgrammar=0.2.7
Qwen/Qwen3-4B-Instruct-2507
cdbee75f17c01a7cc42f958dc650907174af0554
0.1486
[ 0.1488, 0.1486, 0.1486 ]
2,088
0
0.4699
[ 0.4699, 0.4711, 0.4698 ]
2,352
56
0.3163
0.8878
1,789,639,446.476802
COST ONLY -- accuracy is meaningless here
128
2
8
8
0.684
[ 0.6919, 0.6809, 0.684 ]
2,518
0.8335
2.1438
hf-cuda-greedy,bfloat16,attn=eager,B.batch=16,A.batch=8,torch=2.5.1+cu124,transformers=4.57.6,xgrammar=0.2.7
Qwen/Qwen3-4B-Instruct-2507
cdbee75f17c01a7cc42f958dc650907174af0554
0.3191
[ 0.3183, 0.3191, 0.3193 ]
4,176
0
0.8206
[ 0.8206, 0.8235, 0.8181 ]
2,752
106
0.3888
1.5174
1,789,639,451.960776
COST ONLY -- accuracy is meaningless here
128
3
8
8
0.7084
[ 0.7077, 0.709, 0.7084 ]
2,742
0.4825
1.5222
hf-cuda-greedy,bfloat16,attn=eager,B.batch=16,A.batch=8,torch=2.5.1+cu124,transformers=4.57.6,xgrammar=0.2.7
Qwen/Qwen3-4B-Instruct-2507
cdbee75f17c01a7cc42f958dc650907174af0554
0.4654
[ 0.465, 0.4654, 0.4665 ]
6,232
0
1.4683
[ 1.4683, 1.471, 1.4582 ]
2,984
190
0.3169
2.0885
1,789,639,459.889061
COST ONLY -- accuracy is meaningless here
512
1
8
8
0.7338
[ 0.7357, 0.7338, 0.7334 ]
5,120
0.9198
1.5311
hf-cuda-greedy,bfloat16,attn=eager,B.batch=16,A.batch=8,torch=2.5.1+cu124,transformers=4.57.6,xgrammar=0.2.7
Qwen/Qwen3-4B-Instruct-2507
cdbee75f17c01a7cc42f958dc650907174af0554
0.4793
[ 0.4793, 0.4799, 0.4792 ]
5,160
0
0.7978
[ 0.7961, 0.7978, 0.8019 ]
5,424
56
0.6008
0.9513
1,789,639,466.023204
COST ONLY -- accuracy is meaningless here
512
2
8
8
0.9036
[ 0.9373, 0.9036, 0.7917 ]
5,590
0.7587
0.9149
hf-cuda-greedy,bfloat16,attn=eager,B.batch=16,A.batch=8,torch=2.5.1+cu124,transformers=4.57.6,xgrammar=0.2.7
Qwen/Qwen3-4B-Instruct-2507
cdbee75f17c01a7cc42f958dc650907174af0554
0.9876
[ 0.9873, 0.9876, 0.9893 ]
10,320
0
1.191
[ 1.1914, 1.191, 1.1752 ]
5,824
106
0.8293
1.772
1,789,639,475.185215
COST ONLY -- accuracy is meaningless here
512
3
8
8
0.747
[ 0.7635, 0.7464, 0.747 ]
5,814
0.4041
0.5076
hf-cuda-greedy,bfloat16,attn=eager,B.batch=16,A.batch=8,torch=2.5.1+cu124,transformers=4.57.6,xgrammar=0.2.7
Qwen/Qwen3-4B-Instruct-2507
cdbee75f17c01a7cc42f958dc650907174af0554
1.4717
[ 1.4715, 1.4734, 1.4717 ]
15,448
0
1.8485
[ 1.8077, 1.9387, 1.8485 ]
6,056
190
0.7961
2.5509
1,789,639,487.462972
COST ONLY -- accuracy is meaningless here

mini-Jev run records: 27 900 schema-driven decisions with full candidate logits

Every record is one decision a frozen Qwen/Qwen3-4B-Instruct-2507 made about one field of a JSON schema that arrived with the request. The field was turned into a lettered multiple-choice question (A = pay_bill, B = bill_balance, …), the model ran one forward pass, and the answer was read from its next-token logits over the option letters. No token was generated.

The records keep what such a run usually throws away: the candidate logits in fp32, the normalized scores, the gap between the two best options, how much of the whole next-token distribution sat on the option letters, the gold position, and the hashes of the prompt and of the schema.

Code, figures and the write-up that produced this: https://github.com/r-ms/mini-jev

What you can do with it without a GPU

  • Calibration. p_cand against pred_pos == gold_pos: reliability diagrams, ECE, per-k and per-candidate_mass strata. The scores here are deliberately not calibrated and are never called probabilities of being right; measuring how far off they are is an open question.
  • Abstention rules. gap is the logit distance between the two best letters. Pick a threshold, see what accuracy and coverage you get, compare with the out-of-scope split.
  • Position effects. read_letters_rotated_options is the same questions with the options cyclically shifted; gold_pos and pred_pos let you measure any position prior directly.
  • Reproduce our numbers. The report in the repository is recomputed from exactly these files.

Configs

config rows what it is
read_letters 13 500 the main grid: 450 CLINC150 texts × 3 field conditions × k ∈ {2, 4, 8, 15, 16}, distractors drawn within the domain (the hard case)
read_letters_shared_prefix 13 500 the same grid with the text prefilled once and its KV cache broadcast to the questions
read_letters_rotated_options 600 option order cyclically shifted, 50 texts, k ∈ {4, 8}
read_letters_out_of_scope 100 50 out-of-scope + 50 in-scope texts, k = 4 plus a "none of the above" option
free_text_control 200 the same prompts answered by unconstrained generation (≤ 8 tokens), to check that the model writes the letter we read
cost_by_length 9 + 3 wall time and prefill tokens for three ways of answering, at 32 / 128 / 512 (split b2) and 2048 (split b3) input tokens

Fields of a decision record

field meaning
key, text_id, condition, field, k, k_eff, policy identity of the question; condition encodes the grid cell, policy how distractors were drawn
options, gold, gold_pos the option strings in the order shown, the correct one, its position (0-based)
pred, pred_pos, tie the answer read from the logits and whether the top two tied
cand_logits_bare, cand_logits_space fp32 logits of the k letters, without and with a leading space, recomputed from the last hidden state
p_cand, p_merged softmax over the candidate letters; p_merged merges the two tokenizations
gap logit distance between the best and the second best letter — the confidence signal
candidate_mass, logZ share of the model's whole next-token distribution that sits on the k letters, and the log partition function
argmax_class, argmax_id, argmax_token what the unconstrained argmax over the whole vocabulary was: bare_candidate means the model was going to answer with an option letter anyway
pred_pos_native_bf16, native_matches_fp32 the same decision taken from the model's own bf16 head, and whether it agrees with the fp32 recompute
prompt_tokens, pad_tokens, forward_passes, batch_id, batch_size, batch_wall_sec, elapsed_sec cost and batching of that record
prompt_sha, prompt_template_sha, schema_sha, seed, run_mode, model, model_revision, code_rev provenance: every join in the study is made on prompt_sha, and a run refuses to resume if run_mode changed
prefix_tokens_shared, suffix_tokens, text_prefill_tokens_total only in read_letters_shared_prefix: how the request split into the shared prefix and the per-question tail
shift only in read_letters_rotated_options: the cyclic shift applied to the option order

free_text_control records instead carry the generated raw_response, generated_tokens and finish_reason; cost_by_length records carry wall times and prefill tokens for the per-field, shared-prefix and joint-JSON ways at one input length and field count.

Headline numbers from these files

the unconstrained argmax is an option letter 13 600 / 13 600 questions
candidate mass on the k letters min 0.99999624, median 1.00000000
fp32 ties 0
reading vs grammar-constrained JSON, intent field Δ −0.22 pp, 95 % CI [−1.44, +1.04], 6750 paired observations on 450 texts
the unconstrained model writes the letter we read 199 / 200 prompt-identical controls
"none of the above" on out-of-scope texts 41 / 50 reading, 47 / 50 generating
shared prefix vs plain reading same accuracy (0.8484 vs 0.8483), 59 / 13 500 answers flip, all near ties

Quick start

from datasets import load_dataset

d = load_dataset("Mikhail/mini-jev-runs", "read_letters", split="train")
r = d[0]
print(r["options"], r["p_cand"], r["gap"], r["pred"], r["gold"])

# accuracy and a simple abstention rule
import statistics
acc = sum(x["pred"] == x["gold"] for x in d) / len(d)
kept = [x for x in d if x["gap"] > 5]
print(acc, len(kept) / len(d), sum(x["pred"] == x["gold"] for x in kept) / len(kept))

Provenance and limits

Model Qwen/Qwen3-4B-Instruct-2507 (revision cdbee75f), bf16, greedy, eager attention, transformers 4.57.6, xgrammar 0.2.7, one RTX 4090. Texts are CLINC150 (plus / test, pinned revision), 3 texts per intent for all 150 intents plus 50 out-of-scope texts; the sample manifest with its hashes is in data/clinc_sample_manifest.json.

One model, one English dataset of short utterances, one prompt form. The normalized scores rank the options and come with a confidence gap; they are not calibrated probabilities. Generation arms of the same study are not included here.

License: MIT for these records. CLINC150 is © its authors under CC BY 3.0.

Downloads last month
-