Dataset Viewer
Auto-converted to Parquet Duplicate
digits_a
int32
6
9
digits_b
int32
6
9
a
int64
100k
1,000M
b
int64
102k
996M
question
stringlengths
14
20
label
int64
290k
1.86B
9
6
913,847,339
541,001
913847339+541001=
914,388,340
6
7
371,493
9,577,766
371493+9577766=
9,949,259
9
9
534,794,718
941,597,326
534794718+941597326=
1,476,392,044
8
7
73,967,760
7,007,071
73967760+7007071=
80,974,831
7
8
9,467,240
28,693,000
9467240+28693000=
38,160,240
8
7
28,756,361
2,590,996
28756361+2590996=
31,347,357
8
6
81,479,480
839,426
81479480+839426=
82,318,906
7
6
6,203,412
203,560
6203412+203560=
6,406,972
6
8
991,786
54,318,320
991786+54318320=
55,310,106
9
9
701,095,367
208,127,101
701095367+208127101=
909,222,468
8
9
68,273,557
439,513,621
68273557+439513621=
507,787,178
7
8
9,002,896
69,417,296
9002896+69417296=
78,420,192
8
6
18,359,024
944,132
18359024+944132=
19,303,156
6
6
197,802
854,665
197802+854665=
1,052,467
9
6
862,628,805
964,912
862628805+964912=
863,593,717
6
6
741,620
617,553
741620+617553=
1,359,173
8
8
42,737,163
53,648,190
42737163+53648190=
96,385,353
6
8
300,348
86,170,002
300348+86170002=
86,470,350
7
9
5,003,310
962,585,179
5003310+962585179=
967,588,489
7
6
8,515,682
195,646
8515682+195646=
8,711,328
6
8
435,601
78,174,638
435601+78174638=
78,610,239
9
9
217,099,972
423,676,026
217099972+423676026=
640,775,998
8
7
26,751,810
6,582,627
26751810+6582627=
33,334,437
7
8
5,826,088
69,725,416
5826088+69725416=
75,551,504
6
8
725,252
61,660,557
725252+61660557=
62,385,809
8
8
87,262,571
42,495,072
87262571+42495072=
129,757,643
8
7
34,678,442
4,177,459
34678442+4177459=
38,855,901
7
7
1,553,185
5,363,019
1553185+5363019=
6,916,204
9
9
174,179,727
196,448,168
174179727+196448168=
370,627,895
7
6
3,509,038
140,518
3509038+140518=
3,649,556
6
8
833,293
82,558,093
833293+82558093=
83,391,386
9
6
999,650,943
839,543
999650943+839543=
1,000,490,486
8
6
80,033,481
951,054
80033481+951054=
80,984,535
7
9
4,610,478
829,580,033
4610478+829580033=
834,190,511
9
7
722,442,780
5,617,271
722442780+5617271=
728,060,051
9
8
628,984,689
98,616,634
628984689+98616634=
727,601,323
8
9
21,055,915
448,241,149
21055915+448241149=
469,297,064
6
9
610,073
730,366,659
610073+730366659=
730,976,732
8
8
35,552,216
42,619,689
35552216+42619689=
78,171,905
6
6
867,022
384,203
867022+384203=
1,251,225
6
9
839,595
336,717,701
839595+336717701=
337,557,296
8
9
32,881,676
457,057,975
32881676+457057975=
489,939,651
9
7
976,080,016
2,043,416
976080016+2043416=
978,123,432
6
9
921,159
257,151,230
921159+257151230=
258,072,389
7
9
1,758,901
977,376,241
1758901+977376241=
979,135,142
6
8
127,993
26,702,553
127993+26702553=
26,830,546
7
8
3,008,156
62,507,238
3008156+62507238=
65,515,394
6
8
488,119
25,575,449
488119+25575449=
26,063,568
6
7
734,917
1,363,000
734917+1363000=
2,097,917
7
8
4,103,314
26,628,927
4103314+26628927=
30,732,241
9
9
326,104,806
880,776,980
326104806+880776980=
1,206,881,786
6
7
812,347
1,382,228
812347+1382228=
2,194,575
9
7
766,364,150
2,702,891
766364150+2702891=
769,067,041
8
6
19,395,818
331,556
19395818+331556=
19,727,374
6
8
778,350
50,407,795
778350+50407795=
51,186,145
8
9
68,528,143
293,614,873
68528143+293614873=
362,143,016
6
7
628,101
8,837,161
628101+8837161=
9,465,262
6
7
725,459
2,693,177
725459+2693177=
3,418,636
9
6
314,056,651
372,769
314056651+372769=
314,429,420
8
9
73,111,344
711,784,315
73111344+711784315=
784,895,659
7
7
4,412,732
1,973,933
4412732+1973933=
6,386,665
7
7
3,717,138
6,743,051
3717138+6743051=
10,460,189
8
6
25,732,041
725,781
25732041+725781=
26,457,822
9
8
814,688,810
33,463,874
814688810+33463874=
848,152,684
6
6
594,535
814,374
594535+814374=
1,408,909
9
7
711,080,151
9,532,894
711080151+9532894=
720,613,045
8
7
97,098,378
6,992,010
97098378+6992010=
104,090,388
9
6
999,431,834
789,560
999431834+789560=
1,000,221,394
8
6
30,590,713
687,831
30590713+687831=
31,278,544
6
6
580,199
877,597
580199+877597=
1,457,796
6
8
452,234
16,133,279
452234+16133279=
16,585,513
8
6
28,097,597
351,794
28097597+351794=
28,449,391
9
9
478,199,318
755,128,172
478199318+755128172=
1,233,327,490
8
7
58,211,168
3,220,368
58211168+3220368=
61,431,536
8
7
62,078,791
7,952,780
62078791+7952780=
70,031,571
6
8
101,598
89,802,764
101598+89802764=
89,904,362
7
8
6,610,329
31,485,544
6610329+31485544=
38,095,873
7
9
4,742,960
784,402,395
4742960+784402395=
789,145,355
9
8
506,570,268
86,255,992
506570268+86255992=
592,826,260
9
7
133,871,702
7,748,921
133871702+7748921=
141,620,623
9
7
929,128,096
1,784,832
929128096+1784832=
930,912,928
7
7
8,471,769
2,071,834
8471769+2071834=
10,543,603
8
6
31,164,333
568,047
31164333+568047=
31,732,380
9
9
702,803,946
748,515,780
702803946+748515780=
1,451,319,726
6
6
140,800
618,607
140800+618607=
759,407
8
8
51,883,748
72,665,215
51883748+72665215=
124,548,963
6
7
948,346
7,964,850
948346+7964850=
8,913,196
7
8
2,400,344
27,518,332
2400344+27518332=
29,918,676
6
6
521,335
811,474
521335+811474=
1,332,809
9
7
439,492,618
1,056,921
439492618+1056921=
440,549,539
7
8
1,239,768
10,316,426
1239768+10316426=
11,556,194
6
9
299,711
227,672,084
299711+227672084=
227,971,795
7
8
6,073,699
47,578,647
6073699+47578647=
53,652,346
7
7
2,680,753
8,979,335
2680753+8979335=
11,660,088
9
6
773,922,354
185,296
773922354+185296=
774,107,650
6
6
388,058
574,982
388058+574982=
963,040
6
9
368,947
243,259,227
368947+243259227=
243,628,174
8
9
25,449,714
265,828,834
25449714+265828834=
291,278,548
8
6
12,493,004
144,352
12493004+144352=
12,637,356
6
7
315,729
5,356,529
315729+5356529=
5,672,258
End of preview. Expand in Data Studio

pure-arith-lg

Length-generalization companion to cyanfi/pure-arith.

Single-template integer arithmetic for evaluating base language models on add / subtract / multiply / divide across operand digit lengths 6-9.

Schema

Every row in every config has the same fields:

field type example description
digits_a int 8 digit count of the left operand
digits_b int 6 digit count of the right operand
a int 48200017 left operand
b int 123457 right operand
question str "48200017+123457=" prompt string fed to the model
label int 48323474 gold answer

Construction Rules

  • Integer-only.
  • Subtraction is non-negative (a >= b).
  • Division is exact (a == q * b, gold answer is q).
  • Digit lengths: digits_a, digits_b in {6, 7, 8, 9}.
  • Four configs: add, sub, mul, div.
  • One eval-only test split per config.
  • 2,000 rows per config, matching the current row count of cyanfi/pure-arith.

Realized Sizes

config test rows
add 2,000
sub 2,000
mul 2,000
div 2,000
total 8,000

Usage

from datasets import load_dataset

ds = load_dataset("cyanfi/pure-arith-lg", "mul", split="test")
print(ds[0])
Downloads last month
158