Update README.md
Browse files
README.md
CHANGED
|
@@ -13,13 +13,55 @@ dataset_info:
|
|
| 13 |
list: string
|
| 14 |
splits:
|
| 15 |
- name: train
|
| 16 |
-
num_bytes: 6120153
|
| 17 |
num_examples: 7500
|
| 18 |
download_size: 3239633
|
| 19 |
-
dataset_size: 6120153
|
| 20 |
configs:
|
| 21 |
- config_name: default
|
| 22 |
data_files:
|
| 23 |
- split: train
|
| 24 |
path: data/train-*
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 25 |
---
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 13 |
list: string
|
| 14 |
splits:
|
| 15 |
- name: train
|
| 16 |
+
num_bytes: 6120153
|
| 17 |
num_examples: 7500
|
| 18 |
download_size: 3239633
|
| 19 |
+
dataset_size: 6120153
|
| 20 |
configs:
|
| 21 |
- config_name: default
|
| 22 |
data_files:
|
| 23 |
- split: train
|
| 24 |
path: data/train-*
|
| 25 |
+
language:
|
| 26 |
+
- en
|
| 27 |
+
tags:
|
| 28 |
+
- math
|
| 29 |
+
- reinforcement-learning
|
| 30 |
---
|
| 31 |
+
|
| 32 |
+
|
| 33 |
+
# MATH with Solution Variants
|
| 34 |
+
|
| 35 |
+
## Dataset Summary
|
| 36 |
+
This dataset is a processed version of [EleutherAI/hendrycks_math](https://huggingface.co/datasets/EleutherAI/hendrycks_math), which is derived from the original [MATH dataset](https://github.com/hendrycks/math) by Hendrycks et al.
|
| 37 |
+
|
| 38 |
+
The key addition in this version is the **`solution_variants`** column. This column contains semantically equivalent variations of the ground truth answer (e.g., "0.5" vs "1/2"), generated to serve as a robust reward signal for Reinforcement Learning (RL) training.
|
| 39 |
+
|
| 40 |
+
## Dataset Structure
|
| 41 |
+
|
| 42 |
+
Each example contains:
|
| 43 |
+
- **`problem`**: The original mathematics problem statement.
|
| 44 |
+
- **`solution`**: The original step-by-step solution.
|
| 45 |
+
- **`solution_variants`** (New): A list of valid, equivalent short answers extracted and verified with math_verify.
|
| 46 |
+
|
| 47 |
+
### Sample
|
| 48 |
+
```json
|
| 49 |
+
{
|
| 50 |
+
"problem": "What is 1/4 + 1/4?",
|
| 51 |
+
"solution": "... \\boxed{1/2}",
|
| 52 |
+
"solution_variants": ["1/2", "0.5"]
|
| 53 |
+
}
|
| 54 |
+
```
|
| 55 |
+
|
| 56 |
+
# Citation & Attribution
|
| 57 |
+
|
| 58 |
+
If you use this dataset, please cite the original MATH paper:
|
| 59 |
+
|
| 60 |
+
```json
|
| 61 |
+
@article{hendrycksmath2021,
|
| 62 |
+
title={Measuring Mathematical Problem Solving With the MATH Dataset},
|
| 63 |
+
author={Dan Hendrycks and Collin Burns and Saurav Kadavath and Akul Arora and Steven Basart and Eric Tang and Dawn Song and Jacob Steinhardt},
|
| 64 |
+
journal={NeurIPS},
|
| 65 |
+
year={2021}
|
| 66 |
+
}
|
| 67 |
+
```
|