Datasets:

Modalities:
Text
Formats:
parquet
Languages:
English
ArXiv:
Libraries:
Datasets
pandas
License:
LenDigLearn commited on
Commit
92ace7e
·
verified ·
1 Parent(s): a0a04f9

Update README.md

Browse files
Files changed (1) hide show
  1. README.md +319 -205
README.md CHANGED
@@ -1,205 +1,319 @@
1
- ---
2
- license: mit
3
- dataset_info:
4
- - config_name: algebra
5
- features:
6
- - name: problem
7
- dtype: string
8
- - name: level
9
- dtype: string
10
- - name: solution
11
- dtype: string
12
- - name: type
13
- dtype: string
14
- splits:
15
- - name: train
16
- num_bytes: 955021
17
- num_examples: 1744
18
- - name: test
19
- num_bytes: 648291
20
- num_examples: 1187
21
- download_size: 858300
22
- dataset_size: 1603312
23
- - config_name: counting_and_probability
24
- features:
25
- - name: problem
26
- dtype: string
27
- - name: level
28
- dtype: string
29
- - name: solution
30
- dtype: string
31
- - name: type
32
- dtype: string
33
- splits:
34
- - name: train
35
- num_bytes: 667385
36
- num_examples: 771
37
- - name: test
38
- num_bytes: 353803
39
- num_examples: 474
40
- download_size: 504386
41
- dataset_size: 1021188
42
- - config_name: default
43
- features:
44
- - name: problem
45
- dtype: string
46
- - name: level
47
- dtype: string
48
- - name: solution
49
- dtype: string
50
- - name: type
51
- dtype: string
52
- splits:
53
- - name: train
54
- num_bytes: 5984772
55
- num_examples: 7500
56
- - name: test
57
- num_bytes: 3732833
58
- num_examples: 5000
59
- download_size: 4848021
60
- dataset_size: 9717605
61
- - config_name: geometry
62
- features:
63
- - name: problem
64
- dtype: string
65
- - name: level
66
- dtype: string
67
- - name: solution
68
- dtype: string
69
- - name: type
70
- dtype: string
71
- splits:
72
- - name: train
73
- num_bytes: 1077241
74
- num_examples: 870
75
- - name: test
76
- num_bytes: 523126
77
- num_examples: 479
78
- download_size: 813223
79
- dataset_size: 1600367
80
- - config_name: intermediate_algebra
81
- features:
82
- - name: problem
83
- dtype: string
84
- - name: level
85
- dtype: string
86
- - name: solution
87
- dtype: string
88
- - name: type
89
- dtype: string
90
- splits:
91
- - name: train
92
- num_bytes: 1157476
93
- num_examples: 1295
94
- - name: test
95
- num_bytes: 795070
96
- num_examples: 903
97
- download_size: 969951
98
- dataset_size: 1952546
99
- - config_name: number_theory
100
- features:
101
- - name: problem
102
- dtype: string
103
- - name: level
104
- dtype: string
105
- - name: solution
106
- dtype: string
107
- - name: type
108
- dtype: string
109
- splits:
110
- - name: train
111
- num_bytes: 595793
112
- num_examples: 869
113
- - name: test
114
- num_bytes: 349455
115
- num_examples: 540
116
- download_size: 490656
117
- dataset_size: 945248
118
- - config_name: prealgebra
119
- features:
120
- - name: problem
121
- dtype: string
122
- - name: level
123
- dtype: string
124
- - name: solution
125
- dtype: string
126
- - name: type
127
- dtype: string
128
- splits:
129
- - name: train
130
- num_bytes: 715611
131
- num_examples: 1205
132
- - name: test
133
- num_bytes: 510195
134
- num_examples: 871
135
- download_size: 651355
136
- dataset_size: 1225806
137
- - config_name: precalculus
138
- features:
139
- - name: problem
140
- dtype: string
141
- - name: level
142
- dtype: string
143
- - name: solution
144
- dtype: string
145
- - name: type
146
- dtype: string
147
- splits:
148
- - name: train
149
- num_bytes: 816245
150
- num_examples: 746
151
- - name: test
152
- num_bytes: 552893
153
- num_examples: 546
154
- download_size: 595986
155
- dataset_size: 1369138
156
- configs:
157
- - config_name: algebra
158
- data_files:
159
- - split: train
160
- path: algebra/train-*
161
- - split: test
162
- path: algebra/test-*
163
- - config_name: counting_and_probability
164
- data_files:
165
- - split: train
166
- path: counting_and_probability/train-*
167
- - split: test
168
- path: counting_and_probability/test-*
169
- - config_name: default
170
- data_files:
171
- - split: train
172
- path: data/train-*
173
- - split: test
174
- path: data/test-*
175
- - config_name: geometry
176
- data_files:
177
- - split: train
178
- path: geometry/train-*
179
- - split: test
180
- path: geometry/test-*
181
- - config_name: intermediate_algebra
182
- data_files:
183
- - split: train
184
- path: intermediate_algebra/train-*
185
- - split: test
186
- path: intermediate_algebra/test-*
187
- - config_name: number_theory
188
- data_files:
189
- - split: train
190
- path: number_theory/train-*
191
- - split: test
192
- path: number_theory/test-*
193
- - config_name: prealgebra
194
- data_files:
195
- - split: train
196
- path: prealgebra/train-*
197
- - split: test
198
- path: prealgebra/test-*
199
- - config_name: precalculus
200
- data_files:
201
- - split: train
202
- path: precalculus/train-*
203
- - split: test
204
- path: precalculus/test-*
205
- ---
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ annotations_creators:
3
+ - expert-generated
4
+ language_creators:
5
+ - expert-generated
6
+ pretty_name: Mathematics Aptitude Test of Heuristics (MATH)
7
+ size_categories:
8
+ - 10K<n<100K
9
+ source_datasets:
10
+ - hendrycks/competition_math
11
+ license: mit
12
+ dataset_info:
13
+ - config_name: algebra
14
+ features:
15
+ - name: problem
16
+ dtype: string
17
+ - name: level
18
+ dtype: string
19
+ - name: solution
20
+ dtype: string
21
+ - name: type
22
+ dtype: string
23
+ splits:
24
+ - name: train
25
+ num_bytes: 955021
26
+ num_examples: 1744
27
+ - name: test
28
+ num_bytes: 648291
29
+ num_examples: 1187
30
+ download_size: 858300
31
+ dataset_size: 1603312
32
+ - config_name: counting_and_probability
33
+ features:
34
+ - name: problem
35
+ dtype: string
36
+ - name: level
37
+ dtype: string
38
+ - name: solution
39
+ dtype: string
40
+ - name: type
41
+ dtype: string
42
+ splits:
43
+ - name: train
44
+ num_bytes: 667385
45
+ num_examples: 771
46
+ - name: test
47
+ num_bytes: 353803
48
+ num_examples: 474
49
+ download_size: 504386
50
+ dataset_size: 1021188
51
+ - config_name: default
52
+ features:
53
+ - name: problem
54
+ dtype: string
55
+ - name: level
56
+ dtype: string
57
+ - name: solution
58
+ dtype: string
59
+ - name: type
60
+ dtype: string
61
+ splits:
62
+ - name: train
63
+ num_bytes: 5984772
64
+ num_examples: 7500
65
+ - name: test
66
+ num_bytes: 3732833
67
+ num_examples: 5000
68
+ download_size: 4848021
69
+ dataset_size: 9717605
70
+ - config_name: geometry
71
+ features:
72
+ - name: problem
73
+ dtype: string
74
+ - name: level
75
+ dtype: string
76
+ - name: solution
77
+ dtype: string
78
+ - name: type
79
+ dtype: string
80
+ splits:
81
+ - name: train
82
+ num_bytes: 1077241
83
+ num_examples: 870
84
+ - name: test
85
+ num_bytes: 523126
86
+ num_examples: 479
87
+ download_size: 813223
88
+ dataset_size: 1600367
89
+ - config_name: intermediate_algebra
90
+ features:
91
+ - name: problem
92
+ dtype: string
93
+ - name: level
94
+ dtype: string
95
+ - name: solution
96
+ dtype: string
97
+ - name: type
98
+ dtype: string
99
+ splits:
100
+ - name: train
101
+ num_bytes: 1157476
102
+ num_examples: 1295
103
+ - name: test
104
+ num_bytes: 795070
105
+ num_examples: 903
106
+ download_size: 969951
107
+ dataset_size: 1952546
108
+ - config_name: number_theory
109
+ features:
110
+ - name: problem
111
+ dtype: string
112
+ - name: level
113
+ dtype: string
114
+ - name: solution
115
+ dtype: string
116
+ - name: type
117
+ dtype: string
118
+ splits:
119
+ - name: train
120
+ num_bytes: 595793
121
+ num_examples: 869
122
+ - name: test
123
+ num_bytes: 349455
124
+ num_examples: 540
125
+ download_size: 490656
126
+ dataset_size: 945248
127
+ - config_name: prealgebra
128
+ features:
129
+ - name: problem
130
+ dtype: string
131
+ - name: level
132
+ dtype: string
133
+ - name: solution
134
+ dtype: string
135
+ - name: type
136
+ dtype: string
137
+ splits:
138
+ - name: train
139
+ num_bytes: 715611
140
+ num_examples: 1205
141
+ - name: test
142
+ num_bytes: 510195
143
+ num_examples: 871
144
+ download_size: 651355
145
+ dataset_size: 1225806
146
+ - config_name: precalculus
147
+ features:
148
+ - name: problem
149
+ dtype: string
150
+ - name: level
151
+ dtype: string
152
+ - name: solution
153
+ dtype: string
154
+ - name: type
155
+ dtype: string
156
+ splits:
157
+ - name: train
158
+ num_bytes: 816245
159
+ num_examples: 746
160
+ - name: test
161
+ num_bytes: 552893
162
+ num_examples: 546
163
+ download_size: 595986
164
+ dataset_size: 1369138
165
+ configs:
166
+ - config_name: algebra
167
+ data_files:
168
+ - split: train
169
+ path: algebra/train-*
170
+ - split: test
171
+ path: algebra/test-*
172
+ - config_name: counting_and_probability
173
+ data_files:
174
+ - split: train
175
+ path: counting_and_probability/train-*
176
+ - split: test
177
+ path: counting_and_probability/test-*
178
+ - config_name: default
179
+ data_files:
180
+ - split: train
181
+ path: data/train-*
182
+ - split: test
183
+ path: data/test-*
184
+ - config_name: geometry
185
+ data_files:
186
+ - split: train
187
+ path: geometry/train-*
188
+ - split: test
189
+ path: geometry/test-*
190
+ - config_name: intermediate_algebra
191
+ data_files:
192
+ - split: train
193
+ path: intermediate_algebra/train-*
194
+ - split: test
195
+ path: intermediate_algebra/test-*
196
+ - config_name: number_theory
197
+ data_files:
198
+ - split: train
199
+ path: number_theory/train-*
200
+ - split: test
201
+ path: number_theory/test-*
202
+ - config_name: prealgebra
203
+ data_files:
204
+ - split: train
205
+ path: prealgebra/train-*
206
+ - split: test
207
+ path: prealgebra/test-*
208
+ - config_name: precalculus
209
+ data_files:
210
+ - split: train
211
+ path: precalculus/train-*
212
+ - split: test
213
+ path: precalculus/test-*
214
+ language:
215
+ - en
216
+ tags:
217
+ - explanation-generation
218
+ task_categories:
219
+ - text2text-generation
220
+ ---
221
+
222
+ # Dataset Card for Mathematics Aptitude Test of Heuristics (MATH) dataset in lighteval format
223
+
224
+ ## Table of Contents
225
+ - [Table of Contents](#table-of-contents)
226
+ - [Dataset Description](#dataset-description)
227
+ - [Dataset Summary](#dataset-summary)
228
+ - [Dataset Structure](#dataset-structure)
229
+ - [Data Instances](#data-instances)
230
+ - [Data Fields](#data-fields)
231
+ - [Data Splits](#data-splits)
232
+ - [Builder configs](#builder-configs)
233
+ - [Additional Information](#additional-information)
234
+ - [Dataset Curators](#dataset-curators)
235
+ - [Licensing Information](#licensing-information)
236
+ - [Citation Information](#citation-information)
237
+ - [Contributions](#contributions)
238
+
239
+ ## Dataset Description
240
+
241
+ - **Homepage:** https://github.com/hendrycks/math
242
+ - **Repository:** https://github.com/hendrycks/math
243
+ - **Paper:** https://arxiv.org/pdf/2103.03874.pdf
244
+ - **Leaderboard:** N/A
245
+ - **Point of Contact:** Dan Hendrycks
246
+
247
+ ### Dataset Summary
248
+
249
+ The Mathematics Aptitude Test of Heuristics (MATH) dataset consists of problems
250
+ from mathematics competitions, including the AMC 10, AMC 12, AIME, and more.
251
+ Each problem in MATH has a full step-by-step solution, which can be used to teach
252
+ models to generate answer derivations and explanations. This version of the dataset
253
+ contains appropriate builder configs s.t. it can be used as a drop-in replacement
254
+ for the inexplicably missing `lighteval/MATH` dataset.
255
+
256
+ ## Dataset Structure
257
+
258
+ ### Data Instances
259
+
260
+ A data instance consists of a competition math problem and its step-by-step solution written in LaTeX and natural language. The step-by-step solution contains the final answer enclosed in LaTeX's `\boxed` tag.
261
+
262
+ An example from the dataset is:
263
+ ```
264
+ {'problem': 'A board game spinner is divided into three parts labeled $A$, $B$ and $C$. The probability of the spinner landing on $A$ is $\\frac{1}{3}$ and the probability of the spinner landing on $B$ is $\\frac{5}{12}$. What is the probability of the spinner landing on $C$? Express your answer as a common fraction.',
265
+ 'level': 'Level 1',
266
+ 'type': 'Counting & Probability',
267
+ 'solution': 'The spinner is guaranteed to land on exactly one of the three regions, so we know that the sum of the probabilities of it landing in each region will be 1. If we let the probability of it landing in region $C$ be $x$, we then have the equation $1 = \\frac{5}{12}+\\frac{1}{3}+x$, from which we have $x=\\boxed{\\frac{1}{4}}$.'}
268
+ ```
269
+
270
+ ### Data Fields
271
+
272
+ * `problem`: The competition math problem.
273
+ * `solution`: The step-by-step solution.
274
+ * `level`: The problem's difficulty level from 'Level 1' to 'Level 5', where a subject's easiest problems for humans are assigned to 'Level 1' and a subject's hardest problems are assigned to 'Level 5'.
275
+ * `type`: The subject of the problem: Algebra, Counting & Probability, Geometry, Intermediate Algebra, Number Theory, Prealgebra and Precalculus.
276
+
277
+ ### Data Splits
278
+
279
+ * train: 7,500 examples
280
+ * test: 5,000 examples
281
+
282
+ ### Builder Configs
283
+
284
+ * algebra
285
+ * counting_and_probability
286
+ * geometry
287
+ * intermediate_algebra
288
+ * number_theory
289
+ * prealgebra
290
+ * precalculus
291
+
292
+ ## Additional Information
293
+
294
+ ### Licensing Information
295
+
296
+ https://github.com/hendrycks/math/blob/main/LICENSE
297
+
298
+ This repository was created from the [hendrycks/competition_math](https://huggingface.co/datasets/hendrycks/competition_math) dataset. All credit goes to the original authors.
299
+
300
+ ### Citation Information
301
+ ```bibtex
302
+ @article{hendrycksmath2021,
303
+ title={Measuring Mathematical Problem Solving With the MATH Dataset},
304
+ author={Dan Hendrycks
305
+ and Collin Burns
306
+ and Saurav Kadavath
307
+ and Akul Arora
308
+ and Steven Basart
309
+ and Eric Tang
310
+ and Dawn Song
311
+ and Jacob Steinhardt},
312
+ journal={arXiv preprint arXiv:2103.03874},
313
+ year={2021}
314
+ }
315
+ ```
316
+
317
+ ### Contributions
318
+
319
+ Thanks to [@hacobe](https://github.com/hacobe) for adding this dataset.