Dataset Viewer
Auto-converted to Parquet Duplicate
id
stringlengths
15
15
category
stringclasses
5 values
prompt
stringlengths
148
255
answer
int64
1
1.53k
solution
stringlengths
22
120
validation-0000
multi_step
Solve the following problem. Show the calculation, then give the final result on its own last line in the form "Answer: <integer>". What is 17 * 9 + 43?
196
First, 17 * 9 = 153. Then, 153 + 43 = 196. Answer: 196
validation-0001
multi_step
Solve the following problem. Show the calculation, then give the final result on its own last line in the form "Answer: <integer>". What is 8 * 4 + 25?
57
First, 8 * 4 = 32. Then, 32 + 25 = 57. Answer: 57
validation-0002
multiplication
Solve the following problem. Show the calculation, then give the final result on its own last line in the form "Answer: <integer>". What is 128 * 9?
1,152
128 * 9 = 1152 Answer: 1152
validation-0003
multi_step
Solve the following problem. Show the calculation, then give the final result on its own last line in the form "Answer: <integer>". What is 15 * 6 - 59?
31
First, 15 * 6 = 90. Then, 90 - 59 = 31. Answer: 31
validation-0004
subtraction
Solve the following problem. Show the calculation, then give the final result on its own last line in the form "Answer: <integer>". What is 531 - 15?
516
531 - 15 = 516 Answer: 516
validation-0005
multiplication
Solve the following problem. Show the calculation, then give the final result on its own last line in the form "Answer: <integer>". What is 21 * 7?
147
21 * 7 = 147 Answer: 147
validation-0006
multiplication
Solve the following problem. Show the calculation, then give the final result on its own last line in the form "Answer: <integer>". What is 24 * 7?
168
24 * 7 = 168 Answer: 168
validation-0007
multiplication
Solve the following problem. Show the calculation, then give the final result on its own last line in the form "Answer: <integer>". What is 190 * 5?
950
190 * 5 = 950 Answer: 950
validation-0008
word_problem
Solve the following problem. Show the calculation, then give the final result on its own last line in the form "Answer: <integer>". A shelf has 57 books. Every week, 9 more books are added. How many books are on the shelf after 4 weeks?
93
In 4 weeks, 9 * 4 = 36 books are added. The shelf then has 57 + 36 = 93 books. Answer: 93
validation-0009
word_problem
Solve the following problem. Show the calculation, then give the final result on its own last line in the form "Answer: <integer>". Taylor has 54 stickers. Avery has 2 more stickers than Taylor. How many stickers do they have together?
110
Avery has 54 + 2 = 56 stickers. Together they have 54 + 56 = 110 stickers. Answer: 110
validation-0010
multi_step
Solve the following problem. Show the calculation, then give the final result on its own last line in the form "Answer: <integer>". What is (50 + 10) * 3?
180
First, 50 + 10 = 60. Then, 60 * 3 = 180. Answer: 180
validation-0011
multiplication
Solve the following problem. Show the calculation, then give the final result on its own last line in the form "Answer: <integer>". What is 60 * 7?
420
60 * 7 = 420 Answer: 420
validation-0012
subtraction
Solve the following problem. Show the calculation, then give the final result on its own last line in the form "Answer: <integer>". What is 547 - 149?
398
547 - 149 = 398 Answer: 398
validation-0013
multiplication
Solve the following problem. Show the calculation, then give the final result on its own last line in the form "Answer: <integer>". What is 157 * 8?
1,256
157 * 8 = 1256 Answer: 1256
validation-0014
subtraction
Solve the following problem. Show the calculation, then give the final result on its own last line in the form "Answer: <integer>". What is 283 - 56?
227
283 - 56 = 227 Answer: 227
validation-0015
multiplication
Solve the following problem. Show the calculation, then give the final result on its own last line in the form "Answer: <integer>". What is 170 * 9?
1,530
170 * 9 = 1530 Answer: 1530
validation-0016
addition
Solve the following problem. Show the calculation, then give the final result on its own last line in the form "Answer: <integer>". What is 798 + 204?
1,002
798 + 204 = 1002 Answer: 1002
validation-0017
word_problem
Solve the following problem. Show the calculation, then give the final result on its own last line in the form "Answer: <integer>". Morgan earns 22 dollars per day for 8 days and then spends 172 dollars. How many dollars does Morgan have left?
4
In 8 days, Morgan earns 22 * 8 = 176 dollars. After spending 172, Morgan has 176 - 172 = 4 dollars left. Answer: 4
validation-0018
word_problem
Solve the following problem. Show the calculation, then give the final result on its own last line in the form "Answer: <integer>". Quinn buys 7 boxes of coins. Each box holds 20 coins. Quinn then uses 95 of them. How many coins are left?
45
7 boxes with 20 each make 7 * 20 = 140 coins. After using 95, 140 - 95 = 45 coins are left. Answer: 45
validation-0019
word_problem
Solve the following problem. Show the calculation, then give the final result on its own last line in the form "Answer: <integer>". Avery buys 6 boxes of pencils. Each box holds 11 pencils. Avery then uses 40 of them. How many pencils are left?
26
6 boxes with 11 each make 6 * 11 = 66 pencils. After using 40, 66 - 40 = 26 pencils are left. Answer: 26
validation-0020
multiplication
Solve the following problem. Show the calculation, then give the final result on its own last line in the form "Answer: <integer>". What is 35 * 9?
315
35 * 9 = 315 Answer: 315
validation-0021
subtraction
Solve the following problem. Show the calculation, then give the final result on its own last line in the form "Answer: <integer>". What is 220 - 164?
56
220 - 164 = 56 Answer: 56
validation-0022
subtraction
Solve the following problem. Show the calculation, then give the final result on its own last line in the form "Answer: <integer>". What is 262 - 165?
97
262 - 165 = 97 Answer: 97
validation-0023
addition
Solve the following problem. Show the calculation, then give the final result on its own last line in the form "Answer: <integer>". What is 597 + 68?
665
597 + 68 = 665 Answer: 665
validation-0024
subtraction
Solve the following problem. Show the calculation, then give the final result on its own last line in the form "Answer: <integer>". What is 323 - 37?
286
323 - 37 = 286 Answer: 286
validation-0025
addition
Solve the following problem. Show the calculation, then give the final result on its own last line in the form "Answer: <integer>". What is 274 + 63?
337
274 + 63 = 337 Answer: 337
validation-0026
multi_step
Solve the following problem. Show the calculation, then give the final result on its own last line in the form "Answer: <integer>". What is 8 * 6 + 10?
58
First, 8 * 6 = 48. Then, 48 + 10 = 58. Answer: 58
validation-0027
multi_step
Solve the following problem. Show the calculation, then give the final result on its own last line in the form "Answer: <integer>". What is 2 * 2 - 3?
1
First, 2 * 2 = 4. Then, 4 - 3 = 1. Answer: 1
validation-0028
multi_step
Solve the following problem. Show the calculation, then give the final result on its own last line in the form "Answer: <integer>". What is (37 + 35) * 4?
288
First, 37 + 35 = 72. Then, 72 * 4 = 288. Answer: 288
validation-0029
subtraction
Solve the following problem. Show the calculation, then give the final result on its own last line in the form "Answer: <integer>". What is 390 - 24?
366
390 - 24 = 366 Answer: 366
validation-0030
multiplication
Solve the following problem. Show the calculation, then give the final result on its own last line in the form "Answer: <integer>". What is 96 * 3?
288
96 * 3 = 288 Answer: 288
validation-0031
subtraction
Solve the following problem. Show the calculation, then give the final result on its own last line in the form "Answer: <integer>". What is 908 - 524?
384
908 - 524 = 384 Answer: 384
validation-0032
multi_step
Solve the following problem. Show the calculation, then give the final result on its own last line in the form "Answer: <integer>". What is (47 - 16) * 6?
186
First, 47 - 16 = 31. Then, 31 * 6 = 186. Answer: 186
validation-0033
multi_step
Solve the following problem. Show the calculation, then give the final result on its own last line in the form "Answer: <integer>". What is (13 + 43) * 3?
168
First, 13 + 43 = 56. Then, 56 * 3 = 168. Answer: 168
validation-0034
multiplication
Solve the following problem. Show the calculation, then give the final result on its own last line in the form "Answer: <integer>". What is 159 * 9?
1,431
159 * 9 = 1431 Answer: 1431
validation-0035
multi_step
Solve the following problem. Show the calculation, then give the final result on its own last line in the form "Answer: <integer>". What is (6 + 8) * 2?
28
First, 6 + 8 = 14. Then, 14 * 2 = 28. Answer: 28
validation-0036
multiplication
Solve the following problem. Show the calculation, then give the final result on its own last line in the form "Answer: <integer>". What is 126 * 3?
378
126 * 3 = 378 Answer: 378
validation-0037
word_problem
Solve the following problem. Show the calculation, then give the final result on its own last line in the form "Answer: <integer>". Jordan has 29 coins. Jordan buys 25 more and then gives away 52. How many coins does Jordan have now?
2
After buying 25 more, Jordan has 29 + 25 = 54 coins. After giving away 52, Jordan has 54 - 52 = 2 coins. Answer: 2
validation-0038
multiplication
Solve the following problem. Show the calculation, then give the final result on its own last line in the form "Answer: <integer>". What is 17 * 7?
119
17 * 7 = 119 Answer: 119
validation-0039
multiplication
Solve the following problem. Show the calculation, then give the final result on its own last line in the form "Answer: <integer>". What is 121 * 3?
363
121 * 3 = 363 Answer: 363
validation-0040
addition
Solve the following problem. Show the calculation, then give the final result on its own last line in the form "Answer: <integer>". What is 17 + 81?
98
17 + 81 = 98 Answer: 98
validation-0041
subtraction
Solve the following problem. Show the calculation, then give the final result on its own last line in the form "Answer: <integer>". What is 635 - 53?
582
635 - 53 = 582 Answer: 582
validation-0042
word_problem
Solve the following problem. Show the calculation, then give the final result on its own last line in the form "Answer: <integer>". A garden has 6 rows of plants with 3 plants in each row. 14 plants are removed. How many plants are left?
4
The garden has 6 * 3 = 18 plants. After removing 14, 18 - 14 = 4 plants are left. Answer: 4
validation-0043
multi_step
Solve the following problem. Show the calculation, then give the final result on its own last line in the form "Answer: <integer>". What is 11 * 5 + 38?
93
First, 11 * 5 = 55. Then, 55 + 38 = 93. Answer: 93
validation-0044
multiplication
Solve the following problem. Show the calculation, then give the final result on its own last line in the form "Answer: <integer>". What is 85 * 5?
425
85 * 5 = 425 Answer: 425
validation-0045
multi_step
Solve the following problem. Show the calculation, then give the final result on its own last line in the form "Answer: <integer>". What is (45 - 6) * 4?
156
First, 45 - 6 = 39. Then, 39 * 4 = 156. Answer: 156
validation-0046
addition
Solve the following problem. Show the calculation, then give the final result on its own last line in the form "Answer: <integer>". What is 431 + 710?
1,141
431 + 710 = 1141 Answer: 1141
validation-0047
addition
Solve the following problem. Show the calculation, then give the final result on its own last line in the form "Answer: <integer>". What is 530 + 16?
546
530 + 16 = 546 Answer: 546
validation-0048
multiplication
Solve the following problem. Show the calculation, then give the final result on its own last line in the form "Answer: <integer>". What is 140 * 5?
700
140 * 5 = 700 Answer: 700
validation-0049
word_problem
Solve the following problem. Show the calculation, then give the final result on its own last line in the form "Answer: <integer>". A garden has 7 rows of plants with 14 plants in each row. 32 plants are removed. How many plants are left?
66
The garden has 7 * 14 = 98 plants. After removing 32, 98 - 32 = 66 plants are left. Answer: 66
validation-0050
addition
Solve the following problem. Show the calculation, then give the final result on its own last line in the form "Answer: <integer>". What is 911 + 527?
1,438
911 + 527 = 1438 Answer: 1438
validation-0051
multi_step
Solve the following problem. Show the calculation, then give the final result on its own last line in the form "Answer: <integer>". What is (31 + 4) * 6?
210
First, 31 + 4 = 35. Then, 35 * 6 = 210. Answer: 210
validation-0052
addition
Solve the following problem. Show the calculation, then give the final result on its own last line in the form "Answer: <integer>". What is 85 + 803?
888
85 + 803 = 888 Answer: 888
validation-0053
subtraction
Solve the following problem. Show the calculation, then give the final result on its own last line in the form "Answer: <integer>". What is 828 - 236?
592
828 - 236 = 592 Answer: 592
validation-0054
addition
Solve the following problem. Show the calculation, then give the final result on its own last line in the form "Answer: <integer>". What is 56 + 285?
341
56 + 285 = 341 Answer: 341
validation-0055
subtraction
Solve the following problem. Show the calculation, then give the final result on its own last line in the form "Answer: <integer>". What is 761 - 680?
81
761 - 680 = 81 Answer: 81
validation-0056
addition
Solve the following problem. Show the calculation, then give the final result on its own last line in the form "Answer: <integer>". What is 12 + 798?
810
12 + 798 = 810 Answer: 810
validation-0057
subtraction
Solve the following problem. Show the calculation, then give the final result on its own last line in the form "Answer: <integer>". What is 992 - 889?
103
992 - 889 = 103 Answer: 103
validation-0058
subtraction
Solve the following problem. Show the calculation, then give the final result on its own last line in the form "Answer: <integer>". What is 900 - 317?
583
900 - 317 = 583 Answer: 583
validation-0059
addition
Solve the following problem. Show the calculation, then give the final result on its own last line in the form "Answer: <integer>". What is 28 + 195?
223
28 + 195 = 223 Answer: 223
validation-0060
subtraction
Solve the following problem. Show the calculation, then give the final result on its own last line in the form "Answer: <integer>". What is 125 - 66?
59
125 - 66 = 59 Answer: 59
validation-0061
addition
Solve the following problem. Show the calculation, then give the final result on its own last line in the form "Answer: <integer>". What is 457 + 46?
503
457 + 46 = 503 Answer: 503
validation-0062
word_problem
Solve the following problem. Show the calculation, then give the final result on its own last line in the form "Answer: <integer>". Alex buys 2 boxes of stickers. Each box holds 10 stickers. Alex then uses 17 of them. How many stickers are left?
3
2 boxes with 10 each make 2 * 10 = 20 stickers. After using 17, 20 - 17 = 3 stickers are left. Answer: 3
validation-0063
word_problem
Solve the following problem. Show the calculation, then give the final result on its own last line in the form "Answer: <integer>". Sam has 31 shells. Sam buys 35 more and then gives away 45. How many shells does Sam have now?
21
After buying 35 more, Sam has 31 + 35 = 66 shells. After giving away 45, Sam has 66 - 45 = 21 shells. Answer: 21
validation-0064
addition
Solve the following problem. Show the calculation, then give the final result on its own last line in the form "Answer: <integer>". What is 913 + 53?
966
913 + 53 = 966 Answer: 966
validation-0065
addition
Solve the following problem. Show the calculation, then give the final result on its own last line in the form "Answer: <integer>". What is 612 + 218?
830
612 + 218 = 830 Answer: 830
validation-0066
addition
Solve the following problem. Show the calculation, then give the final result on its own last line in the form "Answer: <integer>". What is 52 + 81?
133
52 + 81 = 133 Answer: 133
validation-0067
word_problem
Solve the following problem. Show the calculation, then give the final result on its own last line in the form "Answer: <integer>". Sam had 33 cards and gave 26 of them to a friend. Later, Sam received 41 new cards. How many cards does Sam have now?
48
After giving 26 away, Sam has 33 - 26 = 7 cards. After receiving 41, Sam has 7 + 41 = 48 cards. Answer: 48
validation-0068
multi_step
Solve the following problem. Show the calculation, then give the final result on its own last line in the form "Answer: <integer>". What is 16 * 8 - 95?
33
First, 16 * 8 = 128. Then, 128 - 95 = 33. Answer: 33
validation-0069
addition
Solve the following problem. Show the calculation, then give the final result on its own last line in the form "Answer: <integer>". What is 34 + 61?
95
34 + 61 = 95 Answer: 95
validation-0070
word_problem
Solve the following problem. Show the calculation, then give the final result on its own last line in the form "Answer: <integer>". Taylor has 56 pencils. Taylor buys 28 more and then gives away 41. How many pencils does Taylor have now?
43
After buying 28 more, Taylor has 56 + 28 = 84 pencils. After giving away 41, Taylor has 84 - 41 = 43 pencils. Answer: 43
validation-0071
subtraction
Solve the following problem. Show the calculation, then give the final result on its own last line in the form "Answer: <integer>". What is 571 - 330?
241
571 - 330 = 241 Answer: 241
validation-0072
addition
Solve the following problem. Show the calculation, then give the final result on its own last line in the form "Answer: <integer>". What is 44 + 520?
564
44 + 520 = 564 Answer: 564
validation-0073
addition
Solve the following problem. Show the calculation, then give the final result on its own last line in the form "Answer: <integer>". What is 502 + 51?
553
502 + 51 = 553 Answer: 553
validation-0074
addition
Solve the following problem. Show the calculation, then give the final result on its own last line in the form "Answer: <integer>". What is 66 + 839?
905
66 + 839 = 905 Answer: 905
validation-0075
multiplication
Solve the following problem. Show the calculation, then give the final result on its own last line in the form "Answer: <integer>". What is 33 * 5?
165
33 * 5 = 165 Answer: 165
validation-0076
subtraction
Solve the following problem. Show the calculation, then give the final result on its own last line in the form "Answer: <integer>". What is 166 - 77?
89
166 - 77 = 89 Answer: 89
validation-0077
multi_step
Solve the following problem. Show the calculation, then give the final result on its own last line in the form "Answer: <integer>". What is 12 * 4 - 42?
6
First, 12 * 4 = 48. Then, 48 - 42 = 6. Answer: 6
validation-0078
word_problem
Solve the following problem. Show the calculation, then give the final result on its own last line in the form "Answer: <integer>". A class has 13 students. Each student brings 8 pencils, and the teacher adds 39 more. How many pencils are there in total?
143
The students bring 13 * 8 = 104 pencils. With the teacher's 39, there are 104 + 39 = 143 pencils. Answer: 143
validation-0079
multi_step
Solve the following problem. Show the calculation, then give the final result on its own last line in the form "Answer: <integer>". What is 24 * 8 + 89?
281
First, 24 * 8 = 192. Then, 192 + 89 = 281. Answer: 281
validation-0080
multiplication
Solve the following problem. Show the calculation, then give the final result on its own last line in the form "Answer: <integer>". What is 28 * 3?
84
28 * 3 = 84 Answer: 84
validation-0081
subtraction
Solve the following problem. Show the calculation, then give the final result on its own last line in the form "Answer: <integer>". What is 807 - 383?
424
807 - 383 = 424 Answer: 424
validation-0082
multiplication
Solve the following problem. Show the calculation, then give the final result on its own last line in the form "Answer: <integer>". What is 88 * 7?
616
88 * 7 = 616 Answer: 616
validation-0083
word_problem
Solve the following problem. Show the calculation, then give the final result on its own last line in the form "Answer: <integer>". Taylor earns 14 dollars per day for 7 days and then spends 76 dollars. How many dollars does Taylor have left?
22
In 7 days, Taylor earns 14 * 7 = 98 dollars. After spending 76, Taylor has 98 - 76 = 22 dollars left. Answer: 22
validation-0084
word_problem
Solve the following problem. Show the calculation, then give the final result on its own last line in the form "Answer: <integer>". Jordan buys 8 boxes of cards. Each box holds 4 cards. Jordan then uses 3 of them. How many cards are left?
29
8 boxes with 4 each make 8 * 4 = 32 cards. After using 3, 32 - 3 = 29 cards are left. Answer: 29
validation-0085
multiplication
Solve the following problem. Show the calculation, then give the final result on its own last line in the form "Answer: <integer>". What is 41 * 7?
287
41 * 7 = 287 Answer: 287
validation-0086
word_problem
Solve the following problem. Show the calculation, then give the final result on its own last line in the form "Answer: <integer>". Morgan buys 7 boxes of marbles. Each box holds 11 marbles. Morgan then uses 66 of them. How many marbles are left?
11
7 boxes with 11 each make 7 * 11 = 77 marbles. After using 66, 77 - 66 = 11 marbles are left. Answer: 11
validation-0087
multi_step
Solve the following problem. Show the calculation, then give the final result on its own last line in the form "Answer: <integer>". What is (45 - 12) * 8?
264
First, 45 - 12 = 33. Then, 33 * 8 = 264. Answer: 264
validation-0088
subtraction
Solve the following problem. Show the calculation, then give the final result on its own last line in the form "Answer: <integer>". What is 550 - 367?
183
550 - 367 = 183 Answer: 183
validation-0089
word_problem
Solve the following problem. Show the calculation, then give the final result on its own last line in the form "Answer: <integer>". Alex earns 29 dollars per day for 2 days and then spends 7 dollars. How many dollars does Alex have left?
51
In 2 days, Alex earns 29 * 2 = 58 dollars. After spending 7, Alex has 58 - 7 = 51 dollars left. Answer: 51
validation-0090
subtraction
Solve the following problem. Show the calculation, then give the final result on its own last line in the form "Answer: <integer>". What is 535 - 399?
136
535 - 399 = 136 Answer: 136
validation-0091
subtraction
Solve the following problem. Show the calculation, then give the final result on its own last line in the form "Answer: <integer>". What is 664 - 329?
335
664 - 329 = 335 Answer: 335
validation-0092
multi_step
Solve the following problem. Show the calculation, then give the final result on its own last line in the form "Answer: <integer>". What is (39 + 23) * 5?
310
First, 39 + 23 = 62. Then, 62 * 5 = 310. Answer: 310
validation-0093
multiplication
Solve the following problem. Show the calculation, then give the final result on its own last line in the form "Answer: <integer>". What is 70 * 6?
420
70 * 6 = 420 Answer: 420
validation-0094
addition
Solve the following problem. Show the calculation, then give the final result on its own last line in the form "Answer: <integer>". What is 639 + 11?
650
639 + 11 = 650 Answer: 650
validation-0095
word_problem
Solve the following problem. Show the calculation, then give the final result on its own last line in the form "Answer: <integer>". Riley earns 40 dollars per day for 6 days and then spends 210 dollars. How many dollars does Riley have left?
30
In 6 days, Riley earns 40 * 6 = 240 dollars. After spending 210, Riley has 240 - 210 = 30 dollars left. Answer: 30
validation-0096
multi_step
Solve the following problem. Show the calculation, then give the final result on its own last line in the form "Answer: <integer>". What is 21 * 4 - 23?
61
First, 21 * 4 = 84. Then, 84 - 23 = 61. Answer: 61
validation-0097
word_problem
Solve the following problem. Show the calculation, then give the final result on its own last line in the form "Answer: <integer>". Alex buys 7 boxes of coins. Each box holds 24 coins. Alex then uses 41 of them. How many coins are left?
127
7 boxes with 24 each make 7 * 24 = 168 coins. After using 41, 168 - 41 = 127 coins are left. Answer: 127
validation-0098
word_problem
Solve the following problem. Show the calculation, then give the final result on its own last line in the form "Answer: <integer>". A shelf has 7 books. Every week, 10 more books are added. How many books are on the shelf after 3 weeks?
37
In 3 weeks, 10 * 3 = 30 books are added. The shelf then has 7 + 30 = 37 books. Answer: 37
validation-0099
multi_step
Solve the following problem. Show the calculation, then give the final result on its own last line in the form "Answer: <integer>". What is (18 - 13) * 4?
20
First, 18 - 13 = 5. Then, 5 * 4 = 20. Answer: 20

arith-v1 — Dataset card

Purpose

A small, fully controlled benchmark for comparing post-training methods (SFT, DPO, GRPO) on a task whose answers can be checked exactly by a program. It is a measurement instrument, not a training corpus for general-purpose models: every design choice favours unambiguous evaluation over breadth.

Loading

Each record kind has its own configuration, so every configuration has one schema: eval (the default: test, validation, dev), sft, preference and prompt.

from datasets import load_dataset

test = load_dataset("M-amir1998/arith-v1", "eval", split="test")
pairs = load_dataset("M-amir1998/arith-v1", "preference", split="preference_train")

Inside the framework, dataset.path: hf://M-amir1998/arith-v1 downloads the files and verifies every checksum against manifest.json.

Source and generation

100% synthetic, produced by posttrain data prepare (src/posttrainlab/data/), generator arith-v1.3, seed 20251018. Re-running the command reproduces every file bit-for-bit (posttrain data prepare --check, also run in CI). No model generated any of the text, and no external data was used.

Each problem is a small program of binary integer operations; rendering it yields the question and a reference solution, so the reference answer is correct by construction.

Categories (equal share in every split)

Category Example Steps
addition What is 906 + 37? 1
subtraction What is 349 - 209? 1
multiplication What is 180 * 4? (12–199 × 3–9) 1
multi_step What is 6 * 3 - 15? / What is (12 + 9) * 4? 2
word_problem 8 templates, e.g. buy/give away, boxes, wages, shelf 2

All answers are non-negative integers. Word problems use gender-neutral names (the name is repeated instead of using pronouns).

Schema and splits

Every record has id, category, prompt (instruction + question, exactly as shown to the model) and answer (int). Additional fields depend on the split kind:

Split Kind Records Extra fields Used by
sft_train sft 1000 response SFT
preference_train preference 500 chosen, rejected, corruption DPO
rl_train prompt 500 – GRPO (reward uses answer)
validation eval 100 solution development checks
test eval 500 solution all reported results
dev eval 500 solution hyperparameter selection (added in v1.1)
sft_extra sft 2000 response additional SFT problems (added in v1.2)
sft_train_3k sft 3000 response sft_train followed by sft_extra, for data-scaling studies
preference_test preference 500 chosen, rejected, corruption preference-accuracy metric
rl_extra prompt 1000 – additional RL prompts (added in v1.3)
rl_train_1500 prompt 1500 – rl_train followed by rl_extra, for long GRPO runs

manifest.json records the SHA-256 of every file; loaders refuse a file whose checksum does not match.

Example sft_train record:

{"id": "sft_train-0000", "category": "subtraction",
 "prompt": "Solve the following problem. Show the calculation, then give the final result on its own last line in the form \"Answer: <integer>\".\n\nWhat is 349 - 209?",
 "answer": 140, "response": "349 - 209 = 140\nAnswer: 140"}

Contamination control

  • Problems are identified by their math — (category, template, operands) — not their wording, so a test problem cannot reappear in training with a different name or item.
  • Pools are drawn in a fixed order with evaluation pools first (test, validation, then rl_train, preference_train, sft_train, dev, sft_extra and rl_extra last); a key already drawn is rejected.
  • manifest.json → contamination_checks lists prompt overlaps between every pair of pools: all zero. A unit test re-checks this on the committed files.
  • preference_test is derived from test problems on purpose: it is evaluation-only and never used for training.

Preference pairs

chosen is the reference solution. rejected is a controlled corruption of it — one change, propagated through later steps like a real mistake:

corruption Change Share
arithmetic_slip one step's result off by ±1, ±2 or ±10 25%
operand_error one operand misread (adjacent-digit swap or ±1) 25%
inconsistent_answer correct steps, wrong final answer line 25%
missing_answer correct steps, no answer line 25%

Quality is verified during generation with the evaluation grader: every chosen must grade correct and well-formatted, every rejected must grade incorrect (and with the expected outcome type). A violation aborts the build.

Limitations and known biases

  • Narrow domain: short integer arithmetic in one English prompt template. Success here says little about general reasoning.
  • Template regularity: word problems come from 8 templates. Test problems share templates with training problems (only operands, names and items differ), so the test measures in-distribution generalisation, not robustness to new phrasings.
  • Rejected responses are synthetic near-misses, not model samples; their distribution differs from the errors a model actually makes.
  • Difficulty is uneven across categories by design (3-digit multiplication is harder than 2-digit addition), so per-category results matter more than the average.
  • The problem space is finite. multiplication has only 1,316 distinct problems (12–199 × 3–9); after rl_extra, 96 are unused, so balanced splits cannot grow much further. Larger SFT sets would need a wider operand range, which would change the task. For harder problems see arith-hard-v1.

Versions

  • 1.3.0 — adds rl_extra (1,000 prompts drawn after every earlier pool) and rl_train_1500 (rl_train then rl_extra), so long GRPO runs see each prompt fewer times. All earlier files are byte-identical.
  • 1.2.0 — adds sft_extra (2,000 problems drawn after every earlier pool) and sft_train_3k (sft_train then sft_extra, so limits of 1k/2k/3k give nested subsets whose first 1,000 records are exactly sft_train). All earlier files are byte-identical.
  • 1.1.0 — adds dev (500 problems) for hyperparameter selection. It is drawn after every v1.0 pool from its own RNG stream, so all v1.0 files are byte-identical (enforced by a test); results produced on v1.0 remain valid.
  • 1.0.0 — initial release.

License

Apache-2.0, same as the repository.

Downloads last month
-