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|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
---
|
| 2 |
+
---
|
| 3 |
+
|
| 4 |
+
# Dataset Card for "math_dataset"
|
| 5 |
+
|
| 6 |
+
## Table of Contents
|
| 7 |
+
- [Dataset Description](#dataset-description)
|
| 8 |
+
- [Dataset Summary](#dataset-summary)
|
| 9 |
+
- [Supported Tasks](#supported-tasks)
|
| 10 |
+
- [Languages](#languages)
|
| 11 |
+
- [Dataset Structure](#dataset-structure)
|
| 12 |
+
- [Data Instances](#data-instances)
|
| 13 |
+
- [Data Fields](#data-fields)
|
| 14 |
+
- [Data Splits Sample Size](#data-splits-sample-size)
|
| 15 |
+
- [Dataset Creation](#dataset-creation)
|
| 16 |
+
- [Curation Rationale](#curation-rationale)
|
| 17 |
+
- [Source Data](#source-data)
|
| 18 |
+
- [Annotations](#annotations)
|
| 19 |
+
- [Personal and Sensitive Information](#personal-and-sensitive-information)
|
| 20 |
+
- [Considerations for Using the Data](#considerations-for-using-the-data)
|
| 21 |
+
- [Social Impact of Dataset](#social-impact-of-dataset)
|
| 22 |
+
- [Discussion of Biases](#discussion-of-biases)
|
| 23 |
+
- [Other Known Limitations](#other-known-limitations)
|
| 24 |
+
- [Additional Information](#additional-information)
|
| 25 |
+
- [Dataset Curators](#dataset-curators)
|
| 26 |
+
- [Licensing Information](#licensing-information)
|
| 27 |
+
- [Citation Information](#citation-information)
|
| 28 |
+
- [Contributions](#contributions)
|
| 29 |
+
|
| 30 |
+
## [Dataset Description](#dataset-description)
|
| 31 |
+
|
| 32 |
+
- **Homepage:** [https://github.com/deepmind/mathematics_dataset](https://github.com/deepmind/mathematics_dataset)
|
| 33 |
+
- **Repository:** [More Information Needed](https://github.com/huggingface/datasets/blob/master/CONTRIBUTING.md#how-to-contribute-to-the-dataset-cards)
|
| 34 |
+
- **Paper:** [More Information Needed](https://github.com/huggingface/datasets/blob/master/CONTRIBUTING.md#how-to-contribute-to-the-dataset-cards)
|
| 35 |
+
- **Point of Contact:** [More Information Needed](https://github.com/huggingface/datasets/blob/master/CONTRIBUTING.md#how-to-contribute-to-the-dataset-cards)
|
| 36 |
+
- **Size of downloaded dataset files:** 124600.07 MB
|
| 37 |
+
- **Size of the generated dataset:** 8656.79 MB
|
| 38 |
+
- **Total amount of disk used:** 133256.87 MB
|
| 39 |
+
|
| 40 |
+
### [Dataset Summary](#dataset-summary)
|
| 41 |
+
|
| 42 |
+
Mathematics database.
|
| 43 |
+
|
| 44 |
+
This dataset code generates mathematical question and answer pairs,
|
| 45 |
+
from a range of question types at roughly school-level difficulty.
|
| 46 |
+
This is designed to test the mathematical learning and algebraic
|
| 47 |
+
reasoning skills of learning models.
|
| 48 |
+
|
| 49 |
+
Original paper: Analysing Mathematical Reasoning Abilities of Neural Models
|
| 50 |
+
(Saxton, Grefenstette, Hill, Kohli).
|
| 51 |
+
|
| 52 |
+
Example usage:
|
| 53 |
+
train_examples, val_examples = datasets.load_dataset(
|
| 54 |
+
'math_dataset/arithmetic__mul',
|
| 55 |
+
split=['train', 'test'],
|
| 56 |
+
as_supervised=True)
|
| 57 |
+
|
| 58 |
+
### [Supported Tasks](#supported-tasks)
|
| 59 |
+
|
| 60 |
+
[More Information Needed](https://github.com/huggingface/datasets/blob/master/CONTRIBUTING.md#how-to-contribute-to-the-dataset-cards)
|
| 61 |
+
|
| 62 |
+
### [Languages](#languages)
|
| 63 |
+
|
| 64 |
+
[More Information Needed](https://github.com/huggingface/datasets/blob/master/CONTRIBUTING.md#how-to-contribute-to-the-dataset-cards)
|
| 65 |
+
|
| 66 |
+
## [Dataset Structure](#dataset-structure)
|
| 67 |
+
|
| 68 |
+
We show detailed information for up to 5 configurations of the dataset.
|
| 69 |
+
|
| 70 |
+
### [Data Instances](#data-instances)
|
| 71 |
+
|
| 72 |
+
#### algebra__linear_1d
|
| 73 |
+
|
| 74 |
+
- **Size of downloaded dataset files:** 2225.00 MB
|
| 75 |
+
- **Size of the generated dataset:** 88.31 MB
|
| 76 |
+
- **Total amount of disk used:** 2313.31 MB
|
| 77 |
+
|
| 78 |
+
An example of 'train' looks as follows.
|
| 79 |
+
```
|
| 80 |
+
|
| 81 |
+
```
|
| 82 |
+
|
| 83 |
+
#### algebra__linear_1d_composed
|
| 84 |
+
|
| 85 |
+
- **Size of downloaded dataset files:** 2225.00 MB
|
| 86 |
+
- **Size of the generated dataset:** 191.29 MB
|
| 87 |
+
- **Total amount of disk used:** 2416.29 MB
|
| 88 |
+
|
| 89 |
+
An example of 'train' looks as follows.
|
| 90 |
+
```
|
| 91 |
+
|
| 92 |
+
```
|
| 93 |
+
|
| 94 |
+
#### algebra__linear_2d
|
| 95 |
+
|
| 96 |
+
- **Size of downloaded dataset files:** 2225.00 MB
|
| 97 |
+
- **Size of the generated dataset:** 121.51 MB
|
| 98 |
+
- **Total amount of disk used:** 2346.51 MB
|
| 99 |
+
|
| 100 |
+
An example of 'train' looks as follows.
|
| 101 |
+
```
|
| 102 |
+
|
| 103 |
+
```
|
| 104 |
+
|
| 105 |
+
#### algebra__linear_2d_composed
|
| 106 |
+
|
| 107 |
+
- **Size of downloaded dataset files:** 2225.00 MB
|
| 108 |
+
- **Size of the generated dataset:** 224.68 MB
|
| 109 |
+
- **Total amount of disk used:** 2449.68 MB
|
| 110 |
+
|
| 111 |
+
An example of 'train' looks as follows.
|
| 112 |
+
```
|
| 113 |
+
|
| 114 |
+
```
|
| 115 |
+
|
| 116 |
+
#### algebra__polynomial_roots
|
| 117 |
+
|
| 118 |
+
- **Size of downloaded dataset files:** 2225.00 MB
|
| 119 |
+
- **Size of the generated dataset:** 156.41 MB
|
| 120 |
+
- **Total amount of disk used:** 2381.41 MB
|
| 121 |
+
|
| 122 |
+
An example of 'train' looks as follows.
|
| 123 |
+
```
|
| 124 |
+
|
| 125 |
+
```
|
| 126 |
+
|
| 127 |
+
### [Data Fields](#data-fields)
|
| 128 |
+
|
| 129 |
+
The data fields are the same among all splits.
|
| 130 |
+
|
| 131 |
+
#### algebra__linear_1d
|
| 132 |
+
- `question`: a `string` feature.
|
| 133 |
+
- `answer`: a `string` feature.
|
| 134 |
+
|
| 135 |
+
#### algebra__linear_1d_composed
|
| 136 |
+
- `question`: a `string` feature.
|
| 137 |
+
- `answer`: a `string` feature.
|
| 138 |
+
|
| 139 |
+
#### algebra__linear_2d
|
| 140 |
+
- `question`: a `string` feature.
|
| 141 |
+
- `answer`: a `string` feature.
|
| 142 |
+
|
| 143 |
+
#### algebra__linear_2d_composed
|
| 144 |
+
- `question`: a `string` feature.
|
| 145 |
+
- `answer`: a `string` feature.
|
| 146 |
+
|
| 147 |
+
#### algebra__polynomial_roots
|
| 148 |
+
- `question`: a `string` feature.
|
| 149 |
+
- `answer`: a `string` feature.
|
| 150 |
+
|
| 151 |
+
### [Data Splits Sample Size](#data-splits-sample-size)
|
| 152 |
+
|
| 153 |
+
| name | train |test |
|
| 154 |
+
|---------------------------|------:|----:|
|
| 155 |
+
|algebra__linear_1d |1999998|10000|
|
| 156 |
+
|algebra__linear_1d_composed|1999998|10000|
|
| 157 |
+
|algebra__linear_2d |1999998|10000|
|
| 158 |
+
|algebra__linear_2d_composed|1999998|10000|
|
| 159 |
+
|algebra__polynomial_roots |1999998|10000|
|
| 160 |
+
|
| 161 |
+
## [Dataset Creation](#dataset-creation)
|
| 162 |
+
|
| 163 |
+
### [Curation Rationale](#curation-rationale)
|
| 164 |
+
|
| 165 |
+
[More Information Needed](https://github.com/huggingface/datasets/blob/master/CONTRIBUTING.md#how-to-contribute-to-the-dataset-cards)
|
| 166 |
+
|
| 167 |
+
### [Source Data](#source-data)
|
| 168 |
+
|
| 169 |
+
[More Information Needed](https://github.com/huggingface/datasets/blob/master/CONTRIBUTING.md#how-to-contribute-to-the-dataset-cards)
|
| 170 |
+
|
| 171 |
+
### [Annotations](#annotations)
|
| 172 |
+
|
| 173 |
+
[More Information Needed](https://github.com/huggingface/datasets/blob/master/CONTRIBUTING.md#how-to-contribute-to-the-dataset-cards)
|
| 174 |
+
|
| 175 |
+
### [Personal and Sensitive Information](#personal-and-sensitive-information)
|
| 176 |
+
|
| 177 |
+
[More Information Needed](https://github.com/huggingface/datasets/blob/master/CONTRIBUTING.md#how-to-contribute-to-the-dataset-cards)
|
| 178 |
+
|
| 179 |
+
## [Considerations for Using the Data](#considerations-for-using-the-data)
|
| 180 |
+
|
| 181 |
+
### [Social Impact of Dataset](#social-impact-of-dataset)
|
| 182 |
+
|
| 183 |
+
[More Information Needed](https://github.com/huggingface/datasets/blob/master/CONTRIBUTING.md#how-to-contribute-to-the-dataset-cards)
|
| 184 |
+
|
| 185 |
+
### [Discussion of Biases](#discussion-of-biases)
|
| 186 |
+
|
| 187 |
+
[More Information Needed](https://github.com/huggingface/datasets/blob/master/CONTRIBUTING.md#how-to-contribute-to-the-dataset-cards)
|
| 188 |
+
|
| 189 |
+
### [Other Known Limitations](#other-known-limitations)
|
| 190 |
+
|
| 191 |
+
[More Information Needed](https://github.com/huggingface/datasets/blob/master/CONTRIBUTING.md#how-to-contribute-to-the-dataset-cards)
|
| 192 |
+
|
| 193 |
+
## [Additional Information](#additional-information)
|
| 194 |
+
|
| 195 |
+
### [Dataset Curators](#dataset-curators)
|
| 196 |
+
|
| 197 |
+
[More Information Needed](https://github.com/huggingface/datasets/blob/master/CONTRIBUTING.md#how-to-contribute-to-the-dataset-cards)
|
| 198 |
+
|
| 199 |
+
### [Licensing Information](#licensing-information)
|
| 200 |
+
|
| 201 |
+
[More Information Needed](https://github.com/huggingface/datasets/blob/master/CONTRIBUTING.md#how-to-contribute-to-the-dataset-cards)
|
| 202 |
+
|
| 203 |
+
### [Citation Information](#citation-information)
|
| 204 |
+
|
| 205 |
+
```
|
| 206 |
+
|
| 207 |
+
@article{2019arXiv,
|
| 208 |
+
author = {Saxton, Grefenstette, Hill, Kohli},
|
| 209 |
+
title = {Analysing Mathematical Reasoning Abilities of Neural Models},
|
| 210 |
+
year = {2019},
|
| 211 |
+
journal = {arXiv:1904.01557}
|
| 212 |
+
}
|
| 213 |
+
|
| 214 |
+
```
|
| 215 |
+
|
| 216 |
+
|
| 217 |
+
### Contributions
|
| 218 |
+
|
| 219 |
+
Thanks to [@patrickvonplaten](https://github.com/patrickvonplaten), [@lewtun](https://github.com/lewtun), [@thomwolf](https://github.com/thomwolf) for adding this dataset.
|