Datasets:
digits_a int64 1 5 | digits_b int64 1 5 | a int64 1 99.7k | b int64 1 100k | question stringlengths 4 12 | label int64 2 183k |
|---|---|---|---|---|---|
3 | 3 | 876 | 530 | 876+530= | 1,406 |
1 | 2 | 5 | 75 | 5+75= | 80 |
4 | 1 | 7,634 | 5 | 7634+5= | 7,639 |
4 | 1 | 6,866 | 4 | 6866+4= | 6,870 |
4 | 2 | 3,281 | 46 | 3281+46= | 3,327 |
1 | 5 | 2 | 91,050 | 2+91050= | 91,052 |
2 | 4 | 78 | 3,407 | 78+3407= | 3,485 |
2 | 5 | 22 | 19,665 | 22+19665= | 19,687 |
5 | 2 | 53,279 | 70 | 53279+70= | 53,349 |
4 | 3 | 2,649 | 462 | 2649+462= | 3,111 |
3 | 4 | 423 | 4,350 | 423+4350= | 4,773 |
4 | 3 | 8,815 | 553 | 8815+553= | 9,368 |
4 | 2 | 5,267 | 17 | 5267+17= | 5,284 |
4 | 3 | 1,230 | 195 | 1230+195= | 1,425 |
5 | 4 | 62,274 | 1,018 | 62274+1018= | 63,292 |
4 | 5 | 9,086 | 53,664 | 9086+53664= | 62,750 |
2 | 3 | 51 | 820 | 51+820= | 871 |
1 | 3 | 4 | 681 | 4+681= | 685 |
2 | 3 | 40 | 922 | 40+922= | 962 |
1 | 5 | 9 | 68,716 | 9+68716= | 68,725 |
1 | 3 | 2 | 427 | 2+427= | 429 |
4 | 2 | 9,016 | 23 | 9016+23= | 9,039 |
2 | 5 | 80 | 48,153 | 80+48153= | 48,233 |
5 | 3 | 26,359 | 660 | 26359+660= | 27,019 |
3 | 1 | 934 | 9 | 934+9= | 943 |
2 | 2 | 87 | 80 | 87+80= | 167 |
4 | 4 | 5,712 | 8,290 | 5712+8290= | 14,002 |
1 | 3 | 7 | 424 | 7+424= | 431 |
4 | 4 | 4,966 | 5,756 | 4966+5756= | 10,722 |
2 | 1 | 34 | 3 | 34+3= | 37 |
1 | 2 | 5 | 70 | 5+70= | 75 |
1 | 3 | 2 | 795 | 2+795= | 797 |
5 | 5 | 27,068 | 29,601 | 27068+29601= | 56,669 |
1 | 2 | 2 | 99 | 2+99= | 101 |
4 | 3 | 7,410 | 957 | 7410+957= | 8,367 |
5 | 3 | 78,756 | 382 | 78756+382= | 79,138 |
4 | 2 | 4,858 | 37 | 4858+37= | 4,895 |
5 | 2 | 87,306 | 63 | 87306+63= | 87,369 |
4 | 4 | 5,509 | 8,382 | 5509+8382= | 13,891 |
4 | 1 | 6,855 | 2 | 6855+2= | 6,857 |
3 | 1 | 727 | 2 | 727+2= | 729 |
4 | 1 | 6,493 | 4 | 6493+4= | 6,497 |
2 | 3 | 12 | 849 | 12+849= | 861 |
2 | 4 | 24 | 4,612 | 24+4612= | 4,636 |
3 | 2 | 913 | 31 | 913+31= | 944 |
3 | 1 | 536 | 1 | 536+1= | 537 |
1 | 4 | 3 | 4,584 | 3+4584= | 4,587 |
1 | 2 | 9 | 87 | 9+87= | 96 |
5 | 2 | 19,698 | 13 | 19698+13= | 19,711 |
1 | 4 | 4 | 2,961 | 4+2961= | 2,965 |
3 | 3 | 193 | 479 | 193+479= | 672 |
1 | 4 | 1 | 1,354 | 1+1354= | 1,355 |
2 | 2 | 33 | 25 | 33+25= | 58 |
4 | 1 | 4,450 | 1 | 4450+1= | 4,451 |
5 | 2 | 12,986 | 79 | 12986+79= | 13,065 |
3 | 4 | 735 | 2,662 | 735+2662= | 3,397 |
2 | 4 | 18 | 4,618 | 18+4618= | 4,636 |
1 | 3 | 5 | 458 | 5+458= | 463 |
3 | 4 | 284 | 2,000 | 284+2000= | 2,284 |
4 | 2 | 8,653 | 15 | 8653+15= | 8,668 |
4 | 5 | 2,653 | 61,285 | 2653+61285= | 63,938 |
2 | 2 | 43 | 55 | 43+55= | 98 |
5 | 4 | 71,632 | 3,775 | 71632+3775= | 75,407 |
5 | 3 | 98,164 | 308 | 98164+308= | 98,472 |
5 | 5 | 17,608 | 98,631 | 17608+98631= | 116,239 |
2 | 1 | 30 | 6 | 30+6= | 36 |
4 | 2 | 5,107 | 25 | 5107+25= | 5,132 |
4 | 5 | 8,246 | 97,242 | 8246+97242= | 105,488 |
2 | 1 | 11 | 8 | 11+8= | 19 |
5 | 2 | 63,727 | 82 | 63727+82= | 63,809 |
4 | 2 | 6,102 | 93 | 6102+93= | 6,195 |
3 | 2 | 497 | 94 | 497+94= | 591 |
2 | 4 | 29 | 1,203 | 29+1203= | 1,232 |
3 | 5 | 859 | 20,364 | 859+20364= | 21,223 |
3 | 1 | 856 | 1 | 856+1= | 857 |
4 | 3 | 5,601 | 238 | 5601+238= | 5,839 |
2 | 3 | 71 | 460 | 71+460= | 531 |
4 | 5 | 5,716 | 98,264 | 5716+98264= | 103,980 |
3 | 2 | 704 | 91 | 704+91= | 795 |
4 | 5 | 3,168 | 50,671 | 3168+50671= | 53,839 |
3 | 3 | 866 | 524 | 866+524= | 1,390 |
5 | 1 | 20,580 | 1 | 20580+1= | 20,581 |
4 | 5 | 4,150 | 53,830 | 4150+53830= | 57,980 |
2 | 1 | 40 | 4 | 40+4= | 44 |
5 | 1 | 68,737 | 7 | 68737+7= | 68,744 |
5 | 3 | 98,313 | 681 | 98313+681= | 98,994 |
3 | 4 | 132 | 7,590 | 132+7590= | 7,722 |
5 | 3 | 84,379 | 528 | 84379+528= | 84,907 |
5 | 5 | 96,795 | 16,131 | 96795+16131= | 112,926 |
2 | 1 | 67 | 2 | 67+2= | 69 |
2 | 4 | 99 | 3,583 | 99+3583= | 3,682 |
3 | 5 | 640 | 73,866 | 640+73866= | 74,506 |
4 | 3 | 1,001 | 139 | 1001+139= | 1,140 |
4 | 1 | 6,340 | 5 | 6340+5= | 6,345 |
3 | 5 | 151 | 64,412 | 151+64412= | 64,563 |
2 | 2 | 80 | 91 | 80+91= | 171 |
1 | 3 | 3 | 115 | 3+115= | 118 |
3 | 3 | 794 | 527 | 794+527= | 1,321 |
3 | 1 | 103 | 4 | 103+4= | 107 |
1 | 1 | 1 | 9 | 1+9= | 10 |
End of preview. Expand in Data Studio
pure-arith
Single-template integer arithmetic for evaluating base language models on add / subtract / multiply / divide across operand digit-lengths 1–5.
Built as tier 1 of the eval design described in byte_v2/design/eval/design_v2.md (internal).
Schema
Every row in every config has the same fields:
| field | type | example | description |
|---|---|---|---|
digits_a |
int | 3 |
digit count of the left operand |
digits_b |
int | 2 |
digit count of the right operand |
a |
int | 482 |
left operand |
b |
int | 17 |
right operand |
question |
str | "482+17=" |
prompt string fed to the model |
label |
int | 499 |
gold answer (integer) |
Construction rules
- Integer-only. Subtraction is non-negative (
a >= b). Division is exact (a == q * b, gold answer isq). - Digit lengths.
digits_a, digits_b ∈ {1, 2, 3, 4, 5}. - Combinations. Target 200 samples per
(op, digits_a, digits_b)tuple (100 tuples = 20,000 nominal samples), deduplicated by(a, b). Where the constraint set is too small (e.g.sub1×1,div1×1,div2×2) the realized count is lower. Tuples impossible by construction (db > dafor sub,db > dafor div) are omitted.
Realized sizes
| config | test rows |
|---|---|
add |
5,000 |
sub |
2,845 |
mul |
5,000 |
div |
2,819 |
| total | 15,664 |
Usage
from datasets import load_dataset
ds = load_dataset("cyanfi/pure-arith", "mul", split="test")
print(ds[0])
# {'digits_a': 1, 'digits_b': 1, 'a': 7, 'b': 7, 'question': '7*7=', 'label': 49}
Intended use
Probe base-model competence on plain integer arithmetic across digit
counts, scored by exact-match on output (not log-likelihood). Pair with
Onlydrinkwater/int_* (larger random integers) for breadth, gsm8k for
freeform NL arithmetic, and MMLU/CUTE/ARC-Challenge/BoolQ for pure NL.
- Downloads last month
- -