question
stringlengths
24
68
answer
stringlengths
6
9
b'Solve 24 = 1601*c - 1605*c for c.\n'
b'-6\n'
b'Solve 657 = -220*t + 1086*t + 22307 for t.\n'
b'-25\n'
b'Solve -11*y - 263*y + 3162 = -88*y for y.\n'
b'17\n'
b'Solve 0 = -11*b - 4148 + 4225 for b.\n'
b'7\n'
b'Solve 65*l - 361 + 881 = 0 for l.\n'
b'-8\n'
b'Solve 367 = 299*y + 965 + 5681 for y.\n'
b'-21\n'
b'Solve -9745*w + 184 = -9724*w - 47 for w.\n'
b'11\n'
b'Solve -388*h + 131 = -373*h + 416 for h.\n'
b'-19\n'
b'Solve 33*f - 36*f = 51 for f.\n'
b'-17\n'
b'Solve 1862 - 541 = -640*y - 1239 for y.\n'
b'-4\n'
b'Solve -1032 = -14*z - 1158 for z.\n'
b'-9\n'
b'Solve -41*x - 15*x + 451 = -15*x for x.\n'
b'11\n'
b'Solve 14*h + 0*h + 15 = -h for h.\n'
b'-1\n'
b'Solve 50*w + 1 = -20*w - 69 for w.\n'
b'-1\n'
b'Solve 0 = 225*i + 171*i + 153 - 549 for i.\n'
b'1\n'
b'Solve -154*l = -2268 - 1428 for l.\n'
b'24\n'
b'Solve -819 = -129*f + 784 + 74 for f.\n'
b'13\n'
b'Solve -19*v + 650 = 270 for v.\n'
b'20\n'
b'Solve -52*a - 95 = 82*a + 39 for a.\n'
b'-1\n'
b'Solve -577*o = -1604*o - 36972 for o.\n'
b'-36\n'
b'Solve 43*y + 50*y + 46 = 70*y for y.\n'
b'-2\n'
b'Solve -113*k + 629 - 105 = 18*k for k.\n'
b'4\n'
b'Solve 234*h = 442 + 3068 for h.\n'
b'15\n'
b'Solve 51*f + 671 + 43 = 0 for f.\n'
b'-14\n'
b'Solve 912*n + 36818 = -651*n + 3995 for n.\n'
b'-21\n'
b'Solve 258 = -4*z - 253 + 527 for z.\n'
b'4\n'
b'Solve 0 = 160*i + 12050 - 9330 for i.\n'
b'-17\n'
b'Solve -16*q + 18*q - 11*q - 63 = 0 for q.\n'
b'-7\n'
b'Solve -11*z + 274 - 407 = 8*z for z.\n'
b'-7\n'
b'Solve 72 = -25*n + n for n.\n'
b'-3\n'
b'Solve -122*k - 525 = -47*k for k.\n'
b'-7\n'
b'Solve 0 = 19*q + 67 + 26 + 2 for q.\n'
b'-5\n'
b'Solve 239*l - 6537 + 641 = -29*l for l.\n'
b'22\n'
b'Solve -24 - 1 = 17*q + 9 for q.\n'
b'-2\n'
b'Solve 205906*z - 205989*z = 415 for z.\n'
b'-5\n'
b'Solve -1461*b + 944*b = 10857 for b.\n'
b'-21\n'
b'Solve -10*t = -5*t + 5*t for t.\n'
b'0\n'
b'Solve 870286*x + 816 = 870320*x for x.\n'
b'24\n'
b'Solve -488*g + 531*g - 35 - 309 = 0 for g.\n'
b'8\n'
b'Solve 0 = -6*f - 8*f + 134 - 22 for f.\n'
b'8\n'
b'Solve 35 = 9*i - 33 - 13 for i.\n'
b'9\n'
b'Solve 2133*w = 1594*w + 21021 for w.\n'
b'39\n'
b'Solve -31*y + 28*y + 21 = 0 for y.\n'
b'7\n'
b'Solve 37*w + 270 + 228 = 239 for w.\n'
b'-7\n'
b'Solve -3563 - 771 = -351*a + 580 for a.\n'
b'14\n'
b'Solve -7*j - 31 + 38 = 0 for j.\n'
b'1\n'
b'Solve -88*w - 49*w = 338 - 749 for w.\n'
b'3\n'
b'Solve 0 = -91*x - 722 + 702 - 2164 for x.\n'
b'-24\n'
b'Solve -4217*m + 3779*m = -13140 for m.\n'
b'30\n'
b'Solve 0 = -699*z + 113*z + 10548 for z.\n'
b'18\n'
b'Solve 38*t - 46 = 340 + 70 for t.\n'
b'12\n'
b'Solve -479*m - 20100 = -357*m + 682*m for m.\n'
b'-25\n'
b'Solve -441 + 4379 = -323*n - 584 for n.\n'
b'-14\n'
b'Solve -235*j - 7800 = 285*j for j.\n'
b'-15\n'
b'Solve 1494 = -176*o - 150*o + 77*o for o.\n'
b'-6\n'
b'Solve -525*u + 566*u - 205 = 0 for u.\n'
b'5\n'
b'Solve 347*c - 134*c + 426 = 0 for c.\n'
b'-2\n'
b'Solve -44*o - 12*o - 504 = 16*o for o.\n'
b'-7\n'
b'Solve -10*t + 5984 - 5964 = 0 for t.\n'
b'2\n'
b'Solve 37 - 49 = 5*q + 48 for q.\n'
b'-12\n'
b'Solve 50*m - 3 + 410 = 13*m for m.\n'
b'-11\n'
b'Solve 155*u = 363 - 983 for u.\n'
b'-4\n'
b'Solve 32*w + 47 = -34*w - 943 for w.\n'
b'-15\n'
b'Solve 340*n + 590*n + 20646 = 264*n for n.\n'
b'-31\n'
b'Solve -2076 = -230*w - 6 for w.\n'
b'9\n'
b'Solve -6709*y = -7192*y - 13041 for y.\n'
b'-27\n'
b'Solve 0 = -6873*n + 6872*n + 13 for n.\n'
b'13\n'
b'Solve -10*a - 277 = -327 for a.\n'
b'5\n'
b'Solve 37*l + 342 = -20*l for l.\n'
b'-6\n'
b'Solve -15*i = 917 + 902 - 1864 for i.\n'
b'3\n'
b'Solve 3863*g = 3867*g - 8 for g.\n'
b'2\n'
b'Solve 69*i + 1740 = -105*i for i.\n'
b'-10\n'
b'Solve -812*n = -684*n - 1280 for n.\n'
b'10\n'
b'Solve 0 = 81*c - 177 - 957 for c.\n'
b'14\n'
b'Solve 0 = 844*c - 855*c - 132 for c.\n'
b'-12\n'
b'Solve -1499*i + 1556*i - 1197 = 0 for i.\n'
b'21\n'
b'Solve -94*u - 672 = 362 for u.\n'
b'-11\n'
b'Solve -177*q + 534*q = -4284 for q.\n'
b'-12\n'
b'Solve -35*q - 748 = -23*q + 32*q for q.\n'
b'-17\n'
b'Solve 314 + 135 = -93*o - 202 for o.\n'
b'-7\n'
b'Solve 1383*c = 704*c + 727*c + 816 for c.\n'
b'-17\n'
b'Solve 332 = -30*m - 15*m + 62 for m.\n'
b'-6\n'
b'Solve -48*z + 48*z - 240 = -20*z for z.\n'
b'12\n'
b'Solve 115*v + 200 = -200 - 750 for v.\n'
b'-10\n'
b'Solve 3318 = 548*q - 785*q for q.\n'
b'-14\n'
b'Solve -2268*o + 2567 + 5483 = -1918*o for o.\n'
b'23\n'
b'Solve 7*n = -73 + 38 for n.\n'
b'-5\n'
b'Solve 0 = 11*f - 2296 + 1156 + 909 for f.\n'
b'21\n'
b'Solve 0 = 3*s + 595 - 601 for s.\n'
b'2\n'
b'Solve 760*y - 766*y = 90 for y.\n'
b'-15\n'
b'Solve 7*q + 675 = 752 for q.\n'
b'11\n'
b'Solve 7*b + 54*b + 585 = 16*b for b.\n'
b'-13\n'
b'Solve -46*m = 337 + 31 for m.\n'
b'-8\n'
b'Solve 145*j = 14*j - 524 for j.\n'
b'-4\n'
b'Solve 31*m = 1192 - 1440 for m.\n'
b'-8\n'
b'Solve 75*k - 8*k = 20*k - 282 for k.\n'
b'-6\n'
b'Solve -29*v + 2*v = -13*v + 98 for v.\n'
b'-7\n'
b'Solve 228*o + 2799 - 291 = 0 for o.\n'
b'-11\n'
b'Solve 0 = 94*d + 264 + 864 for d.\n'
b'-12\n'
b'Solve -6*s - 15*s = -111 + 300 for s.\n'
b'-9\n'

Dataset Card for "math_dataset"

Dataset Summary

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)

Supported Tasks and Leaderboards

More Information Needed

Languages

More Information Needed

Dataset Structure

Data Instances

algebra__linear_1d

  • Size of downloaded dataset files: 2.33 GB
  • Size of the generated dataset: 92.60 MB
  • Total amount of disk used: 2.43 GB

An example of 'train' looks as follows.


algebra__linear_1d_composed

  • Size of downloaded dataset files: 2.33 GB
  • Size of the generated dataset: 200.58 MB
  • Total amount of disk used: 2.53 GB

An example of 'train' looks as follows.


algebra__linear_2d

  • Size of downloaded dataset files: 2.33 GB
  • Size of the generated dataset: 127.41 MB
  • Total amount of disk used: 2.46 GB

An example of 'train' looks as follows.


algebra__linear_2d_composed

  • Size of downloaded dataset files: 2.33 GB
  • Size of the generated dataset: 235.59 MB
  • Total amount of disk used: 2.57 GB

An example of 'train' looks as follows.


algebra__polynomial_roots

  • Size of downloaded dataset files: 2.33 GB
  • Size of the generated dataset: 164.01 MB
  • Total amount of disk used: 2.50 GB

An example of 'train' looks as follows.


Data Fields

The data fields are the same among all splits.

algebra__linear_1d

  • question: a string feature.
  • answer: a string feature.

algebra__linear_1d_composed

  • question: a string feature.
  • answer: a string feature.

algebra__linear_2d

  • question: a string feature.
  • answer: a string feature.

algebra__linear_2d_composed

  • question: a string feature.
  • answer: a string feature.

algebra__polynomial_roots

  • question: a string feature.
  • answer: a string feature.

Data Splits

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

Dataset Creation

Curation Rationale

More Information Needed

Source Data

Initial Data Collection and Normalization

More Information Needed

Who are the source language producers?

More Information Needed

Annotations

Annotation process

More Information Needed

Who are the annotators?

More Information Needed

Personal and Sensitive Information

More Information Needed

Considerations for Using the Data

Social Impact of Dataset

More Information Needed

Discussion of Biases

More Information Needed

Other Known Limitations

More Information Needed

Additional Information

Dataset Curators

More Information Needed

Licensing Information

More Information Needed

Citation Information


@article{2019arXiv,
  author = {Saxton, Grefenstette, Hill, Kohli},
  title = {Analysing Mathematical Reasoning Abilities of Neural Models},
  year = {2019},
  journal = {arXiv:1904.01557}
}

Contributions

Thanks to @patrickvonplaten, @lewtun, @thomwolf for adding this dataset.

Downloads last month
4,798

Models trained or fine-tuned on math_dataset