Datasets:

Languages:
English
ArXiv:
Dataset Viewer
The dataset viewer is not available for this dataset.
Cannot get the config names for the dataset.
Error code:   ConfigNamesError
Exception:    RuntimeError
Message:      Dataset scripts are no longer supported, but found math_dataset.py
Traceback:    Traceback (most recent call last):
                File "/src/services/worker/src/worker/job_runners/dataset/config_names.py", line 67, in compute_config_names_response
                  config_names = get_dataset_config_names(
                      path=dataset,
                      token=hf_token,
                  )
                File "/usr/local/lib/python3.14/site-packages/datasets/inspect.py", line 161, in get_dataset_config_names
                  dataset_module = dataset_module_factory(
                      path,
                  ...<4 lines>...
                      **download_kwargs,
                  )
                File "/usr/local/lib/python3.14/site-packages/datasets/load.py", line 1182, in dataset_module_factory
                  raise e1 from None
                File "/usr/local/lib/python3.14/site-packages/datasets/load.py", line 1142, in dataset_module_factory
                  raise RuntimeError(f"Dataset scripts are no longer supported, but found {filename}")
              RuntimeError: Dataset scripts are no longer supported, but found math_dataset.py

Need help to make the dataset viewer work? Make sure to review how to configure the dataset viewer, and open a discussion for direct support.

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,415

Models trained or fine-tuned on deepmind/math_dataset

Spaces using deepmind/math_dataset 4

Paper for deepmind/math_dataset