Datasets:
layer int64 | type string | text string | expression string | answer int64 | choices string | llm_enhanced int64 | id string | timestamp string | python_steps string | adversarial float64 |
|---|---|---|---|---|---|---|---|---|---|---|
2 | multiplication | 9*8=72 | 9 * 8 | 72 | [27, 62, 74, 72] | 0 | L2_869681 | 2026-06-30T07:15:50.817798 | null | null |
2 | multiplication | 1*5=5 | 1 * 5 | 5 | [12, 7, 5, 6] | 0 | L2_963805 | 2026-06-30T07:17:19.762904 | null | null |
1 | skip_5 | Skip by 5: 0, 5, 10, 15, 20, 25, 30, 35 | 35 | 35 | null | 0 | L1_676535 | 2026-06-30T07:13:59.001160 | null | null |
2 | division | Splitting 0 dollars among 1 person gives 0 dollars each. | 0 / 1 | 0 | [0, 10, 7, 99] | 1 | L2_662701 | 2026-06-30T07:36:18.101448 | null | null |
2 | subtraction | 4-3=1 | 4 - 3 | 1 | [3, 1, 11, -3] | 0 | L2_106663 | 2026-06-30T07:19:00.469723 | null | null |
1 | place_value | 5007 = 5000 + 7 | 5000 + 7 | 5,007 | null | 0 | L1_401983 | 2026-06-30T07:14:07.344174 | null | null |
1 | word_map | "three" = 3 | three | 3 | null | 0 | L1_477047 | 2026-06-30T07:14:45.368906 | null | null |
1 | place_value | 9038 = 9000 + 30 + 8 | 9000 + 30 + 8 | 9,038 | null | 0 | L1_843119 | 2026-06-30T07:14:23.886645 | null | null |
2 | addition | 0+5=5 | 0 + 5 | 5 | [-8, 5, 24, 12] | 0 | L2_395645 | 2026-06-30T07:26:09.820706 | null | null |
2 | subtraction | 3-3=0 | 3 - 3 | 0 | [0, 7, 3, 10] | 0 | L2_119863 | 2026-06-30T07:25:20.604030 | null | null |
1 | place_value | 7903 = 7000 + 900 + 3 | 7000 + 900 + 3 | 7,903 | null | 0 | L1_899117 | 2026-06-30T07:14:37.140185 | null | null |
2 | multiplication | 0*1=0 | 0 * 1 | 0 | [1, -10, 0, 7] | 0 | L2_499525 | 2026-06-30T07:20:18.736721 | null | null |
1 | place_value | 7968 = 7000 + 900 + 60 + 8 | 7000 + 900 + 60 + 8 | 7,968 | null | 0 | L1_826175 | 2026-06-30T07:14:21.083547 | null | null |
1 | place_value | 3969 = 3000 + 900 + 60 + 9 | 3000 + 900 + 60 + 9 | 3,969 | null | 0 | L1_306226 | 2026-06-30T07:14:33.706500 | null | null |
2 | division | 9/9=1 | 9 / 9 | 1 | [2, 1, 0, 14] | 0 | L2_847567 | 2026-06-30T07:25:36.824122 | null | null |
2 | multiplication | 3*0=0 | 3 * 0 | 0 | [99, 2, 0, -10] | 0 | L2_940071 | 2026-06-30T07:22:04.334712 | null | null |
1 | counting_bwd | Backward: 40, 39, 38, 37, 36, 35, 34, 33, 32, 31 | 31 | 31 | null | 0 | L1_326514 | 2026-06-30T07:14:39.217605 | null | null |
2 | multiplication | 1*5=5 | 1 * 5 | 5 | [-4, 4, 10, 5] | 0 | L2_250487 | 2026-06-30T07:38:35.882581 | null | null |
1 | word_map | "five" = 5 | five | 5 | null | 0 | L1_604881 | 2026-06-30T07:14:31.514416 | null | null |
2 | multiplication | 0*5=0 | 0 * 5 | 0 | [-10, -1, 7, 0] | 0 | L2_803157 | 2026-06-30T07:25:20.323755 | null | null |
1 | place_value | 9892 = 9000 + 800 + 90 + 2 | 9000 + 800 + 90 + 2 | 9,892 | null | 0 | L1_265330 | 2026-06-30T07:14:10.937521 | null | null |
1 | place_value | 5130 = 5000 + 100 + 30 | 5000 + 100 + 30 | 5,130 | null | 0 | L1_835841 | 2026-06-30T07:14:02.216962 | null | null |
2 | subtraction | 3-4=-1 | 3 - 4 | -1 | [-2, -11, 6, -1] | 0 | L2_434911 | 2026-06-30T07:15:26.672402 | null | null |
2 | addition | 4+0=4 | 4 + 0 | 4 | [4, 11, 8, 14] | 0 | L2_333204 | 2026-06-30T07:26:40.234786 | null | null |
2 | addition | 0+1=1 | 0 + 1 | 1 | [8, -10, 2, 1] | 0 | L2_650768 | 2026-06-30T07:37:41.616399 | null | null |
2 | multiplication | 1*1=1 | 1 * 1 | 1 | [1, 11, -1, -9] | 0 | L2_179768 | 2026-06-30T07:27:49.256666 | null | null |
1 | word_map | "one" = 1 | one | 1 | null | 0 | L1_732359 | 2026-06-30T07:14:00.504517 | null | null |
2 | multiplication | 2*8=16 | 2 * 8 | 16 | [15, 16, 2, 14] | 0 | L2_885727 | 2026-06-30T07:37:40.974155 | null | null |
1 | place_value | 2404 = 2000 + 400 + 4 | 2000 + 400 + 4 | 2,404 | null | 0 | L1_485776 | 2026-06-30T07:14:38.464687 | null | null |
2 | addition | 4+7=11 | 4 + 7 | 11 | [11, 12, 10, 13] | 0 | L2_936354 | 2026-06-30T07:19:11.041608 | null | null |
2 | addition | 9+7=16 | 9 + 7 | 16 | [36, 16, 61, 26] | 0 | L2_156033 | 2026-06-30T07:37:53.015643 | null | null |
1 | place_value | 7906 = 7000 + 900 + 6 | 7000 + 900 + 6 | 7,906 | null | 0 | L1_972062 | 2026-06-30T07:14:11.269353 | null | null |
2 | multiplication | 6*6=36 | 6 * 6 | 36 | [36, 34, 63, 26] | 0 | L2_838348 | 2026-06-30T07:35:42.828559 | null | null |
2 | division | 0/8=0 | 0 / 8 | 0 | [2, 7, -11, 0] | 0 | L2_981786 | 2026-06-30T07:17:20.153906 | null | null |
2 | addition | 9+3=12 | 9 + 3 | 12 | [11, 2, 24, 12] | 0 | L2_873856 | 2026-06-30T07:22:11.623483 | null | null |
2 | multiplication | 2*5=10 | 2 * 5 | 10 | [10, -4, 20, 11] | 0 | L2_379476 | 2026-06-30T07:37:04.838005 | null | null |
1 | place_value | 5380 = 5000 + 300 + 80 | 5000 + 300 + 80 | 5,380 | null | 0 | L1_254989 | 2026-06-30T07:14:04.262472 | null | null |
2 | addition | You have 8 apples, and your friend gives you 5 more, making a total of 13 apples to share. | 8 + 5 | 13 | [23, 3, 13, 12] | 1 | L2_613091 | 2026-06-30T07:38:10.526249 | null | null |
2 | subtraction | 8-6=2 | 8 - 6 | 2 | [0, 2, 12, -8] | 0 | L2_651045 | 2026-06-30T07:15:13.060870 | null | null |
2 | subtraction | 3-9=-6 | 3 - 9 | -6 | [-12, -16, -5, -6] | 0 | L2_563002 | 2026-06-30T07:28:16.919572 | null | null |
1 | place_value | 5300 = 5000 + 300 | 5000 + 300 | 5,300 | null | 0 | L1_394581 | 2026-06-30T07:14:44.979927 | null | null |
1 | place_value | 8902 = 8000 + 900 + 2 | 8000 + 900 + 2 | 8,902 | null | 0 | L1_488082 | 2026-06-30T07:14:38.640632 | null | null |
1 | word_map | "twenty" = 20 | twenty | 20 | null | 0 | L1_799923 | 2026-06-30T07:14:34.414556 | null | null |
1 | counting_fwd | Count: 90, 91, 92, 93, 94, 95, 96, 97, 98, 99 | 99 | 99 | null | 0 | L1_201636 | 2026-06-30T07:14:30.296145 | null | null |
2 | addition | 7+8=15 | 7 + 8 | 15 | [14, 16, 21, 15] | 0 | L2_386036 | 2026-06-30T07:34:12.492856 | null | null |
2 | multiplication | 9*0=0 | 9 * 0 | 0 | [-2, 7, -1, 0] | 0 | L2_910830 | 2026-06-30T07:29:25.819668 | null | null |
1 | place_value | 7602 = 7000 + 600 + 2 | 7000 + 600 + 2 | 7,602 | null | 0 | L1_824095 | 2026-06-30T07:13:57.909062 | null | null |
2 | division | 6/1=6 | 6 / 1 | 6 | [7, 5, 16, 6] | 0 | L2_768582 | 2026-06-30T07:34:59.263139 | null | null |
1 | place_value | 9867 = 9000 + 800 + 60 + 7 | 9000 + 800 + 60 + 7 | 9,867 | null | 0 | L1_847409 | 2026-06-30T07:14:08.625515 | null | null |
1 | place_value | 9639 = 9000 + 600 + 30 + 9 | 9000 + 600 + 30 + 9 | 9,639 | null | 0 | L1_820336 | 2026-06-30T07:14:30.565620 | null | null |
2 | addition | I put 4 apples in a box and added 6 more, so I have 10 to share. | 4 + 6 | 10 | [12, 10, -10, 8] | 1 | L2_643376 | 2026-06-30T07:26:08.665618 | null | null |
1 | place_value | 8739 = 8000 + 700 + 30 + 9 | 8000 + 700 + 30 + 9 | 8,739 | null | 0 | L1_514731 | 2026-06-30T07:14:29.784779 | null | null |
2 | multiplication | If you earn 5 dollars an hour and work 7 hours, you’ll have 35 total. | 5 * 7 | 35 | [45, 34, 53, 35] | 1 | L2_751608 | 2026-06-30T07:30:43.844336 | null | null |
1 | place_value | 2088 = 2000 + 80 + 8 | 2000 + 80 + 8 | 2,088 | null | 0 | L1_323829 | 2026-06-30T07:14:28.842208 | null | null |
2 | subtraction | 5-0=5 | 5 - 0 | 5 | [5, 4, -5, 6] | 0 | L2_883533 | 2026-06-30T07:21:27.302143 | null | null |
1 | place_value | 6001 = 6000 + 1 | 6000 + 1 | 6,001 | null | 0 | L1_639885 | 2026-06-30T07:14:24.314944 | null | null |
2 | subtraction | 2-4=-2 | 2 - 4 | -2 | [5, -2, 8, -11] | 0 | L2_274481 | 2026-06-30T07:27:56.718946 | null | null |
2 | multiplication | 5*1=5 | 5 * 1 | 5 | [10, 2, 5, 11] | 0 | L2_814598 | 2026-06-30T07:18:31.726603 | null | null |
1 | place_value | 731 = 700 + 30 + 1 | 700 + 30 + 1 | 731 | null | 0 | L1_851815 | 2026-06-30T07:14:00.373174 | null | null |
1 | place_value | 2894 = 2000 + 800 + 90 + 4 | 2000 + 800 + 90 + 4 | 2,894 | null | 0 | L1_652335 | 2026-06-30T07:14:45.491022 | null | null |
1 | place_value | 9647 = 9000 + 600 + 40 + 7 | 9000 + 600 + 40 + 7 | 9,647 | null | 0 | L1_572091 | 2026-06-30T07:14:15.583663 | null | null |
1 | counting_fwd | Count: 115, 116, 117, 118, 119, 120, 121, 122, 123, 124 | 124 | 124 | null | 0 | L1_133037 | 2026-06-30T07:13:57.650728 | null | null |
2 | addition | 9+8=17 | 9 + 8 | 17 | [15, 13, 71, 17] | 0 | L2_967597 | 2026-06-30T07:15:37.591234 | null | null |
2 | subtraction | 5-9=-4 | 5 - 9 | -4 | [5, -14, -4, -3] | 0 | L2_747984 | 2026-06-30T07:22:52.085032 | null | null |
2 | division | 8/2=4 | 8 / 2 | 4 | [-6, 14, 3, 4] | 0 | L2_899981 | 2026-06-30T07:37:51.181736 | null | null |
1 | place_value | 4058 = 4000 + 50 + 8 | 4000 + 50 + 8 | 4,058 | null | 0 | L1_415866 | 2026-06-30T07:14:40.376245 | null | null |
1 | place_value | 8399 = 8000 + 300 + 90 + 9 | 8000 + 300 + 90 + 9 | 8,399 | null | 0 | L1_544055 | 2026-06-30T07:14:03.346331 | null | null |
1 | place_value | 2167 = 2000 + 100 + 60 + 7 | 2000 + 100 + 60 + 7 | 2,167 | null | 0 | L1_292079 | 2026-06-30T07:14:28.014995 | null | null |
1 | place_value | 5004 = 5000 + 4 | 5000 + 4 | 5,004 | null | 0 | L1_639157 | 2026-06-30T07:14:19.109326 | null | null |
2 | subtraction | 8-1=7 | 8 - 1 | 7 | [17, 5, 7, -3] | 0 | L2_165658 | 2026-06-30T07:22:05.158236 | null | null |
2 | addition | 1+6=7 | 1 + 6 | 7 | [6, 14, 7, 5] | 0 | L2_310016 | 2026-06-30T07:22:31.491255 | null | null |
2 | subtraction | 3-5=-2 | 3 - 5 | -2 | [-12, -14, -2, 0] | 0 | L2_436276 | 2026-06-30T07:37:51.998302 | null | null |
1 | place_value | 1228 = 1000 + 200 + 20 + 8 | 1000 + 200 + 20 + 8 | 1,228 | null | 0 | L1_711749 | 2026-06-30T07:14:04.176605 | null | null |
2 | subtraction | 1-0=1 | 1 - 0 | 1 | [-6, 0, 2, 1] | 0 | L2_729038 | 2026-06-30T07:23:24.923718 | null | null |
2 | multiplication | 4*8=32 | 4 * 8 | 32 | [38, 64, 32, 24] | 0 | L2_579477 | 2026-06-30T07:33:26.987339 | null | null |
1 | place_value | 6527 = 6000 + 500 + 20 + 7 | 6000 + 500 + 20 + 7 | 6,527 | null | 0 | L1_158092 | 2026-06-30T07:14:15.286613 | null | null |
1 | place_value | 8317 = 8000 + 300 + 10 + 7 | 8000 + 300 + 10 + 7 | 8,317 | null | 0 | L1_871075 | 2026-06-30T07:14:21.385181 | null | null |
1 | place_value | 9647 = 9000 + 600 + 40 + 7 | 9000 + 600 + 40 + 7 | 9,647 | null | 0 | L1_616026 | 2026-06-30T07:14:37.701720 | null | null |
2 | subtraction | 8-9=-1 | 8 - 9 | -1 | [1, -1, 6, -3] | 0 | L2_217824 | 2026-06-30T07:33:14.356175 | null | null |
1 | place_value | 2375 = 2000 + 300 + 70 + 5 | 2000 + 300 + 70 + 5 | 2,375 | null | 0 | L1_422610 | 2026-06-30T07:14:29.836788 | null | null |
1 | place_value | 5325 = 5000 + 300 + 20 + 5 | 5000 + 300 + 20 + 5 | 5,325 | null | 0 | L1_814322 | 2026-06-30T07:14:03.755971 | null | null |
2 | addition | 9+9=18 | 9 + 9 | 18 | [18, 8, 2, 28] | 0 | L2_149521 | 2026-06-30T07:36:57.324119 | null | null |
2 | division | 0/3=0 | 0 / 3 | 0 | [1, -1, 0, 99] | 0 | L2_334575 | 2026-06-30T07:32:07.248238 | null | null |
1 | place_value | 2572 = 2000 + 500 + 70 + 2 | 2000 + 500 + 70 + 2 | 2,572 | null | 0 | L1_118978 | 2026-06-30T07:14:08.549718 | null | null |
2 | subtraction | The bank balance shows 3 dollars, but I spent 5, leaving me with -2. | 3 - 5 | -2 | [-12, -2, 16, -4] | 1 | L2_927445 | 2026-06-30T07:25:23.862150 | null | null |
2 | subtraction | 9-8=1 | 9 - 8 | 1 | [11, 1, 2, 8] | 0 | L2_116329 | 2026-06-30T07:25:45.117906 | null | null |
2 | multiplication | 9*0=0 | 9 * 0 | 0 | [0, 10, -10, -2] | 0 | L2_168778 | 2026-06-30T07:23:54.500135 | null | null |
1 | place_value | 6922 = 6000 + 900 + 20 + 2 | 6000 + 900 + 20 + 2 | 6,922 | null | 0 | L1_335463 | 2026-06-30T07:14:43.310358 | null | null |
2 | multiplication | 3*9=27 | 3 * 9 | 27 | [25, 37, 27, 72] | 0 | L2_782257 | 2026-06-30T07:27:21.320832 | null | null |
2 | multiplication | 3*4=12 | 3 * 4 | 12 | [20, 12, 14, 13] | 0 | L2_833453 | 2026-06-30T07:28:02.495743 | null | null |
1 | place_value | 8594 = 8000 + 500 + 90 + 4 | 8000 + 500 + 90 + 4 | 8,594 | null | 0 | L1_411768 | 2026-06-30T07:14:06.654335 | null | null |
2 | division | 8/8=1 | 8 / 8 | 1 | [1, -9, 2, 3] | 0 | L2_293678 | 2026-06-30T07:31:20.552846 | null | null |
2 | addition | 0+2=2 | 0 + 2 | 2 | [9, 0, 2, -18] | 0 | L2_684628 | 2026-06-30T07:23:07.790766 | null | null |
2 | addition | 5+7=12 | 5 + 7 | 12 | [11, 21, 12, 13] | 0 | L2_103046 | 2026-06-30T07:32:55.617035 | null | null |
2 | addition | 6+6=12 | 6 + 6 | 12 | [22, 11, 12, 13] | 0 | L2_651077 | 2026-06-30T07:20:17.876297 | null | null |
2 | subtraction | I had one apple, but lost eight, leaving me with a pitiful -7. | 1 - 8 | -7 | [-3, -6, 3, -7] | 1 | L2_616077 | 2026-06-30T07:15:22.026650 | null | null |
2 | division | Walking 0 steps in 8 minutes means you stay exactly where you started—0. | 0 / 8 | 0 | [0, -2, -16, 7] | 1 | L2_272859 | 2026-06-30T07:14:58.877466 | null | null |
1 | place_value | 3862 = 3000 + 800 + 60 + 2 | 3000 + 800 + 60 + 2 | 3,862 | null | 0 | L1_942444 | 2026-06-30T07:14:45.470491 | null | null |
2 | multiplication | 0*2=0 | 0 * 2 | 0 | [99, -10, 0, 7] | 0 | L2_316916 | 2026-06-30T07:27:00.372056 | null | null |
1 | place_value | 4779 = 4000 + 700 + 70 + 9 | 4000 + 700 + 70 + 9 | 4,779 | null | 0 | L1_108435 | 2026-06-30T07:14:25.195508 | null | null |
Arithmetic-XL
12 Million Verified Arithmetic Examples for Language Model Pretraining
"Arithmetic is one of those things that humans learn in primary school but language models somehow manage to forget halfway through training."
Arithmetic-XL is a large-scale arithmetic pretraining dataset containing over 12 million procedurally generated and verified examples designed to improve numerical reasoning in language models.
The dataset was created with one objective:
Teach models how to think about arithmetic instead of simply memorizing answers.
Unlike many arithmetic datasets that focus only on direct question-answer pairs, Arithmetic-XL follows a layered curriculum that gradually introduces numerical concepts, multi-step computation, operator precedence, compositional reasoning, adversarial examples, and arithmetic embedded inside natural language.
Whether you're training a 5M parameter TinyLM or a multi-billion parameter foundation model, Arithmetic-XL provides a diverse collection of arithmetic examples suitable for pretraining, continued pretraining, and specialized arithmetic fine-tuning.
Why Another Arithmetic Dataset?
While training language models, I kept running into the same frustrating problem.
The model could explain surprisingly complicated topics...
...and then confidently tell me that:
17 × 8 = 121
That felt slightly concerning.
I searched for arithmetic datasets that were:
- Large
- Diverse
- Procedurally verified
- Suitable for pretraining
- Rich enough to teach actual arithmetic patterns rather than simple memorization
I found some excellent datasets.
I also found datasets that contained the same question written five hundred different ways.
After enough searching, I reached the conclusion every developer eventually reaches:
"Fine... I'll build it myself."
Several weeks, countless Python scripts, and far too many generated equations later...
Arithmetic-XL was born.
What Makes Arithmetic-XL Different?
Arithmetic-XL is not simply a collection of equations.
It follows a structured curriculum inspired by how humans progressively learn arithmetic.
Instead of immediately exposing the model to complicated expressions, the dataset gradually increases difficulty through multiple specialized layers.
The goal is to help models build numerical intuition before introducing increasingly complex reasoning tasks.
Dataset Overview
Property Value
Dataset Name Arithmetic-XL
Total Examples 12,000,000+
Generation Method Hybrid Procedural + LLM Assisted
Verification Computationally Verified
Primary Language English
Domain Arithmetic Reasoning
Recommended Usage Pretraining / Continued Pretraining / Fine-tuning
License MIT
- Downloads last month
- 248