Mathematics database.
This dataset code generates mathematical question and answer pairs, from a range of question types at roughly school-level difficulty. This is designed to test the mathematical learning and algebraic reasoning skills of learning models.
Original paper: Analysing Mathematical Reasoning Abilities of Neural Models (Saxton, Grefenstette, Hill, Kohli).
Example usage: train_examples, val_examples = datasets.load_dataset( 'math_dataset/arithmetic__mul', split=['train', 'test'], as_supervised=True)
An example of 'train' looks as follows.
An example of 'train' looks as follows.
An example of 'train' looks as follows.
An example of 'train' looks as follows.
An example of 'train' looks as follows.
The data fields are the same among all splits.
question: a string feature.answer: a string feature.question: a string feature.answer: a string feature.question: a string feature.answer: a string feature.question: a string feature.answer: a string feature.question: a string feature.answer: a string feature.| name | train | test |
|---|---|---|
| algebra__linear_1d | 1999998 | 10000 |
| algebra__linear_1d_composed | 1999998 | 10000 |
| algebra__linear_2d | 1999998 | 10000 |
| algebra__linear_2d_composed | 1999998 | 10000 |
| algebra__polynomial_roots | 1999998 | 10000 |
@article{2019arXiv,
author = {Saxton, Grefenstette, Hill, Kohli},
title = {Analysing Mathematical Reasoning Abilities of Neural Models},
year = {2019},
journal = {arXiv:1904.01557}
}
Thanks to @patrickvonplaten, @lewtun, @thomwolf for adding this dataset.
Mathematics database.
This dataset code generates mathematical question and answer pairs, from a range of question types at roughly school-level difficulty. This is designed to test the mathematical learning and algebraic reasoning skills of learning models.
Original paper: Analysing Mathematical Reasoning Abilities of Neural Models (Saxton, Grefenstette, Hill, Kohli).
Example usage: train_examples, val_examples = datasets.load_dataset( 'math_dataset/arithmetic__mul', split=['train', 'test'], as_supervised=True)
An example of 'train' looks as follows.
An example of 'train' looks as follows.
An example of 'train' looks as follows.
An example of 'train' looks as follows.
An example of 'train' looks as follows.
The data fields are the same among all splits.
question: a string feature.answer: a string feature.question: a string feature.answer: a string feature.question: a string feature.answer: a string feature.question: a string feature.answer: a string feature.question: a string feature.answer: a string feature.| name | train | test |
|---|---|---|
| algebra__linear_1d | 1999998 | 10000 |
| algebra__linear_1d_composed | 1999998 | 10000 |
| algebra__linear_2d | 1999998 | 10000 |
| algebra__linear_2d_composed | 1999998 | 10000 |
| algebra__polynomial_roots | 1999998 | 10000 |
@article{2019arXiv,
author = {Saxton, Grefenstette, Hill, Kohli},
title = {Analysing Mathematical Reasoning Abilities of Neural Models},
year = {2019},
journal = {arXiv:1904.01557}
}
Thanks to @patrickvonplaten, @lewtun, @thomwolf for adding this dataset.