The dataset viewer is not available for this dataset.
Cannot get the config names for the dataset.
Error code:   ConfigNamesError
Exception:    ValueError
Message:      Couldn't infer the same data file format for all splits. Got {NamedSplit('train'): ('text', {}), NamedSplit('test'): (None, {})}
Traceback:    Traceback (most recent call last):
                File "/src/services/worker/src/worker/job_runners/dataset/config_names.py", line 65, in compute_config_names_response
                  for config in sorted(get_dataset_config_names(path=dataset, token=hf_token))
                File "/src/services/worker/.venv/lib/python3.9/site-packages/datasets/inspect.py", line 351, in get_dataset_config_names
                  dataset_module = dataset_module_factory(
                File "/src/services/worker/.venv/lib/python3.9/site-packages/datasets/load.py", line 1511, in dataset_module_factory
                  raise e1 from None
                File "/src/services/worker/.venv/lib/python3.9/site-packages/datasets/load.py", line 1488, in dataset_module_factory
                  return HubDatasetModuleFactoryWithoutScript(
                File "/src/services/worker/.venv/lib/python3.9/site-packages/datasets/load.py", line 1053, in get_module
                  module_name, default_builder_kwargs = infer_module_for_data_files(
                File "/src/services/worker/.venv/lib/python3.9/site-packages/datasets/load.py", line 512, in infer_module_for_data_files
                  raise ValueError(f"Couldn't infer the same data file format for all splits. Got {split_modules}")
              ValueError: Couldn't infer the same data file format for all splits. Got {NamedSplit('train'): ('text', {}), NamedSplit('test'): (None, {})}

Need help to make the dataset viewer work? Open a discussion for direct support.

To run generation code within 'mathematics_dataset\mathematics_dataset':

  • Activate python venv .\.venv\Scripts\activate
    • Requirements defined in requires.txt
  • Run python generate_to_file.py --output_dir ds to generate dataset to directory \ds

Had to change enconding when opening files to utf-8 so that some characters are allowed (ã õ é)

To obtain dataset with the correct amount of rows:

  • python generate_to_file.py --output_dir ds --per_train_module 1999998 --per_test_module 10000

This dataset creates train set (train-easy,train-medium,train-hard) and the creates extrapolation ("measure generalization along various axes of difficulty to beyond that seen during training") and interpolation ("test questions are distinct from the train questions") tests. On HugginFace only interpolate tests are used as test set.

Some tests will not work, since they rely on english terms.

Downloads last month
0
Edit dataset card