Datasets:
Tasks:
Text2Text Generation
Modalities:
Text
Formats:
parquet
Languages:
English
Size:
10K - 100K
ArXiv:
Tags:
explanation-generation
License:
Update README.md
Browse files
README.md
CHANGED
@@ -1,205 +1,319 @@
|
|
1 |
-
---
|
2 |
-
|
3 |
-
|
4 |
-
|
5 |
-
|
6 |
-
|
7 |
-
|
8 |
-
|
9 |
-
|
10 |
-
|
11 |
-
|
12 |
-
|
13 |
-
|
14 |
-
|
15 |
-
- name:
|
16 |
-
|
17 |
-
|
18 |
-
|
19 |
-
|
20 |
-
|
21 |
-
|
22 |
-
|
23 |
-
|
24 |
-
|
25 |
-
|
26 |
-
|
27 |
-
- name:
|
28 |
-
|
29 |
-
|
30 |
-
|
31 |
-
|
32 |
-
|
33 |
-
|
34 |
-
- name:
|
35 |
-
|
36 |
-
|
37 |
-
|
38 |
-
|
39 |
-
|
40 |
-
|
41 |
-
|
42 |
-
|
43 |
-
|
44 |
-
|
45 |
-
|
46 |
-
- name:
|
47 |
-
|
48 |
-
|
49 |
-
|
50 |
-
|
51 |
-
|
52 |
-
|
53 |
-
- name:
|
54 |
-
|
55 |
-
|
56 |
-
|
57 |
-
|
58 |
-
|
59 |
-
|
60 |
-
|
61 |
-
|
62 |
-
|
63 |
-
|
64 |
-
|
65 |
-
- name:
|
66 |
-
|
67 |
-
|
68 |
-
|
69 |
-
|
70 |
-
|
71 |
-
|
72 |
-
- name:
|
73 |
-
|
74 |
-
|
75 |
-
|
76 |
-
|
77 |
-
|
78 |
-
|
79 |
-
|
80 |
-
|
81 |
-
|
82 |
-
|
83 |
-
|
84 |
-
- name:
|
85 |
-
|
86 |
-
|
87 |
-
|
88 |
-
|
89 |
-
|
90 |
-
|
91 |
-
- name:
|
92 |
-
|
93 |
-
|
94 |
-
|
95 |
-
|
96 |
-
|
97 |
-
|
98 |
-
|
99 |
-
|
100 |
-
|
101 |
-
|
102 |
-
|
103 |
-
- name:
|
104 |
-
|
105 |
-
|
106 |
-
|
107 |
-
|
108 |
-
|
109 |
-
|
110 |
-
- name:
|
111 |
-
|
112 |
-
|
113 |
-
|
114 |
-
|
115 |
-
|
116 |
-
|
117 |
-
|
118 |
-
|
119 |
-
|
120 |
-
|
121 |
-
|
122 |
-
- name:
|
123 |
-
|
124 |
-
|
125 |
-
|
126 |
-
|
127 |
-
|
128 |
-
|
129 |
-
- name:
|
130 |
-
|
131 |
-
|
132 |
-
|
133 |
-
|
134 |
-
|
135 |
-
|
136 |
-
|
137 |
-
|
138 |
-
|
139 |
-
|
140 |
-
|
141 |
-
- name:
|
142 |
-
|
143 |
-
|
144 |
-
|
145 |
-
|
146 |
-
|
147 |
-
|
148 |
-
- name:
|
149 |
-
|
150 |
-
|
151 |
-
|
152 |
-
|
153 |
-
|
154 |
-
|
155 |
-
|
156 |
-
|
157 |
-
-
|
158 |
-
|
159 |
-
|
160 |
-
|
161 |
-
|
162 |
-
|
163 |
-
|
164 |
-
|
165 |
-
|
166 |
-
|
167 |
-
|
168 |
-
|
169 |
-
|
170 |
-
|
171 |
-
|
172 |
-
|
173 |
-
|
174 |
-
|
175 |
-
|
176 |
-
|
177 |
-
|
178 |
-
|
179 |
-
|
180 |
-
|
181 |
-
|
182 |
-
|
183 |
-
|
184 |
-
|
185 |
-
|
186 |
-
|
187 |
-
|
188 |
-
|
189 |
-
|
190 |
-
|
191 |
-
|
192 |
-
|
193 |
-
|
194 |
-
|
195 |
-
|
196 |
-
|
197 |
-
|
198 |
-
|
199 |
-
|
200 |
-
|
201 |
-
|
202 |
-
|
203 |
-
|
204 |
-
|
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.
|