Dataset Viewer
Duplicate
Search is not available for this dataset
The dataset viewer is not available for this split.
Job has been terminated due to a temporary spike in resource usage and may be restarted later.
Error code:   JobManagerCrashedError

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.

YAML Metadata Warning:The task_categories "mathematical-modeling" is not in the official list: text-classification, token-classification, table-question-answering, question-answering, zero-shot-classification, translation, summarization, feature-extraction, text-generation, fill-mask, sentence-similarity, text-to-speech, text-to-audio, automatic-speech-recognition, audio-to-audio, audio-classification, audio-text-to-text, voice-activity-detection, depth-estimation, image-classification, object-detection, image-segmentation, text-to-image, image-to-text, image-to-image, image-to-video, unconditional-image-generation, video-classification, reinforcement-learning, robotics, tabular-classification, tabular-regression, tabular-to-text, table-to-text, multiple-choice, text-ranking, text-retrieval, time-series-forecasting, text-to-video, image-text-to-text, image-text-to-image, image-text-to-video, visual-question-answering, document-question-answering, zero-shot-image-classification, graph-ml, mask-generation, zero-shot-object-detection, text-to-3d, image-to-3d, image-feature-extraction, video-text-to-text, keypoint-detection, visual-document-retrieval, any-to-any, video-to-video, other

Transformer Math Dataset (250,000,000 Samples Sharded)

High-precision synthetic mathematical expression dataset generated for training sequence-to-sequence math Transformers in JAX/Flax.

Dataset Structure

  • Total Samples: 250,000,000
  • Shard Format: JSONL sharded files (100,000 samples per shard)
  • Supported Operations: +, -, *, /, ^, sin, cos, tan, log, ln, exp, sqrt, abs
  • Expression Depth Range: Depth 4 to 6
  • Integer Operand Ratio: 20%

Data Fields

Each line in the .jsonl shard files is a JSON object with the following fields:

  • expr (str): Syntactically valid mathematical expression (e.g. "sin((3.5))+cos((1.2))")
  • val (str): Target evaluated numerical result formatted to precision (e.g. "0.6")
  • category (str): Operation-depth category bucket (e.g. "sin_d4")
  • ops_used (list[str]): List of mathematical functions/operators present in the expression (e.g. ["sin", "+", "cos"])

Usage Example

from datasets import load_dataset

dataset = load_dataset("saidurga001301/mathmetics-dataset-float-long", streaming=True)
for sample in dataset["train"]:
    print(sample["expr"], "->", sample["val"], "ops:", sample["ops_used"])
    break
Downloads last month
69