Datasets:
expr stringlengths 3 60 | val stringlengths 1 8 | category stringclasses 39
values | ops_used listlengths 1 9 |
|---|---|---|---|
35.9+8.8 | 44.7 | +_d1 | [
"+"
] |
1.8+8 | 9.8 | +_d2 | [
"+"
] |
(cos(sqrt(41.3)))+4.9 | 5.9 | +_d3 | [
"cos",
"sqrt",
"+"
] |
42.7-6 | 36.7 | -_d1 | [
"-"
] |
(-9.2)-(-4) | -5.2 | -_d2 | [
"-"
] |
(sqrt(abs(tan(6.1))))-(-6.5) | 6.9 | -_d3 | [
"sqrt",
"abs",
"tan",
"-"
] |
6.8*0 | 0 | *_d1 | [
"*"
] |
6.7*5 | 33.5 | *_d2 | [
"*"
] |
6*(sin(sqrt(25.8))) | -5.6 | *_d3 | [
"*",
"sin",
"sqrt"
] |
(-8)/(-8) | 1 | /_d1 | [
"-",
"/"
] |
0.9/(-5) | -0.2 | /_d2 | [
"/",
"-"
] |
((-0.5)+(-10))/(log(sin(0.7))) | 23.9 | /_d3 | [
"-",
"+",
"/",
"log",
"sin"
] |
3^3 | 27 | ^_d1 | [
"^"
] |
(abs(-2)+0.1)^-1 | 0.5 | ^_d2 | [
"abs",
"-",
"+",
"^"
] |
(ln(abs((-5)*5.6)+0.1))^1 | 3.3 | ^_d3 | [
"ln",
"abs",
"-",
"*",
"+",
"^"
] |
sin(1.7) | 1 | sin_d1 | [
"sin"
] |
sin(cos(1.5)) | 0.1 | sin_d2 | [
"sin",
"cos"
] |
sin(tan(sin((-9)*1))) | -0.4 | sin_d3 | [
"sin",
"tan",
"-",
"*"
] |
cos(5.7) | 0.8 | cos_d1 | [
"cos"
] |
cos(ln(15.7)) | -0.9 | cos_d2 | [
"cos",
"ln"
] |
cos((abs(-7.8)+0.1)^2) | 0.9 | cos_d3 | [
"cos",
"abs",
"-",
"+",
"^"
] |
tan(4.4) | 3.1 | tan_d1 | [
"tan"
] |
tan(sin((-7)+(-17.7))) | 0.4 | tan_d2 | [
"tan",
"sin",
"-",
"+"
] |
tan(9/7.8) | 2.3 | tan_d3 | [
"tan",
"/"
] |
log(8.3) | 2.1 | log_d1 | [
"log"
] |
log(abs(cos(4.1))+0.1) | -0.4 | log_d2 | [
"log",
"abs",
"cos",
"+"
] |
log((-3.9)*(-7)) | 3.3 | log_d3 | [
"log",
"-",
"*"
] |
ln(12.4) | 2.5 | ln_d1 | [
"ln"
] |
ln(ln(16.8)) | 1 | ln_d2 | [
"ln"
] |
ln(abs(tan(sin(sqrt(33.7))))+0.1) | -0.5 | ln_d3 | [
"ln",
"abs",
"tan",
"sin",
"sqrt",
"+"
] |
exp(0.1) | 1.1 | exp_d1 | [
"exp"
] |
exp(log(3)) | 3 | exp_d2 | [
"exp",
"log"
] |
exp(7.6/9.5) | 2.2 | exp_d3 | [
"exp",
"/"
] |
sqrt(13) | 3.6 | sqrt_d1 | [
"sqrt"
] |
sqrt(abs(tan(6))) | 0.5 | sqrt_d2 | [
"sqrt",
"abs",
"tan"
] |
sqrt(cos((-4)*(-6.5))) | 0.8 | sqrt_d3 | [
"sqrt",
"cos",
"-",
"*"
] |
abs(77.6) | 77.6 | abs_d1 | [
"abs"
] |
abs(cos(0.2)) | 1 | abs_d2 | [
"abs",
"cos"
] |
abs((-9)+3.2) | 5.8 | abs_d3 | [
"abs",
"-",
"+"
] |
40.8+39.9 | 80.7 | +_d1 | [
"+"
] |
6+(-9) | -3 | +_d2 | [
"+",
"-"
] |
((-7.7)-7.8)+9 | -6.5 | +_d3 | [
"-",
"+"
] |
2-(-14) | 16 | -_d1 | [
"-"
] |
(-9)-3.5 | -12.5 | -_d2 | [
"-"
] |
((abs(-4)+0.1)^2)-(tan(sin(4.4*2))) | 16.1 | -_d3 | [
"abs",
"-",
"+",
"^",
"tan",
"sin",
"*"
] |
(-9.8)*(-2) | 19.6 | *_d1 | [
"-",
"*"
] |
8*(-8) | -64 | *_d2 | [
"*",
"-"
] |
(sqrt(sqrt(4.3)))*(log(tan(3.6))) | -1 | *_d3 | [
"sqrt",
"*",
"log",
"tan"
] |
(-10)/1.4 | -7.1 | /_d1 | [
"-",
"/"
] |
(-2.8)/(-7) | 0.4 | /_d2 | [
"-",
"/"
] |
(exp(sin(49+(-9.7))))/(exp(sin(5.5+(-41.1)))) | 1.1 | /_d3 | [
"exp",
"sin",
"+",
"-",
"/"
] |
5^(-1) | 0.2 | ^_d1 | [
"^",
"-"
] |
(abs(-2.6)+0.1)^1 | 2.7 | ^_d2 | [
"abs",
"-",
"+",
"^"
] |
(abs((-9.7)+(-3))+0.1)^-2 | 0 | ^_d3 | [
"abs",
"-",
"+",
"^"
] |
sin(-3.4) | 0.3 | sin_d1 | [
"sin",
"-"
] |
sin(38-(-39)) | 1 | sin_d2 | [
"sin",
"-"
] |
sin((-2)/(-5.1)) | 0.4 | sin_d3 | [
"sin",
"-",
"/"
] |
cos(2.8) | -0.9 | cos_d1 | [
"cos"
] |
cos(sqrt(46.8)) | 0.8 | cos_d2 | [
"cos",
"sqrt"
] |
cos(5.6/(-3)) | -0.3 | cos_d3 | [
"cos",
"/",
"-"
] |
tan(2.2) | -1.4 | tan_d1 | [
"tan"
] |
tan(cos(-5.7)) | 1.1 | tan_d2 | [
"tan",
"cos",
"-"
] |
tan(sin((-0.4)-3.7)) | 1.1 | tan_d3 | [
"tan",
"sin",
"-"
] |
log(1.9) | 0.6 | log_d1 | [
"log"
] |
log(sin(-4.3)) | -0.1 | log_d2 | [
"log",
"sin",
"-"
] |
log(tan(exp(-0.1))) | 0.2 | log_d3 | [
"log",
"tan",
"exp",
"-"
] |
ln(7) | 1.9 | ln_d1 | [
"ln"
] |
ln(sin(-5.4)) | -0.3 | ln_d2 | [
"ln",
"sin",
"-"
] |
ln(8^3) | 6.2 | ln_d3 | [
"ln",
"^"
] |
exp(0.4) | 1.5 | exp_d1 | [
"exp"
] |
exp(log(5.6)) | 5.6 | exp_d2 | [
"exp",
"log"
] |
exp(sin(0-(-8.2))) | 2.6 | exp_d3 | [
"exp",
"sin",
"-"
] |
sqrt(43.2) | 6.6 | sqrt_d1 | [
"sqrt"
] |
sqrt(exp(-2.1)) | 0.3 | sqrt_d2 | [
"sqrt",
"exp",
"-"
] |
sqrt((abs(-2)+0.1)^-2) | 0.5 | sqrt_d3 | [
"sqrt",
"abs",
"-",
"+",
"^"
] |
abs(64) | 64 | abs_d1 | [
"abs"
] |
abs((-46.4)-32.2) | 78.6 | abs_d2 | [
"abs",
"-"
] |
abs(tan(sin(5.6*(-6.3)))) | 0.8 | abs_d3 | [
"abs",
"tan",
"sin",
"*",
"-"
] |
6+43 | 49 | +_d1 | [
"+"
] |
7+(-6.8) | 0.2 | +_d2 | [
"+",
"-"
] |
(exp(sin((-4)+26)))+((-4)+(-5)) | -8 | +_d3 | [
"exp",
"sin",
"-",
"+"
] |
25-(-5.6) | 30.6 | -_d1 | [
"-"
] |
(-4)-(-1.2) | -2.8 | -_d2 | [
"-"
] |
(ln(abs(5/(-4.7))+0.1))-(-6) | 6.2 | -_d3 | [
"ln",
"abs",
"/",
"-",
"+"
] |
2.3*(-9) | -20.7 | *_d1 | [
"*",
"-"
] |
(-3)*(-4) | 12 | *_d2 | [
"-",
"*"
] |
(1+(-2))*(-2.4) | 2.4 | *_d3 | [
"+",
"-",
"*"
] |
(-6)/3.5 | -1.7 | /_d1 | [
"-",
"/"
] |
(-5.7)/(-4) | 1.4 | /_d2 | [
"-",
"/"
] |
(sqrt(36+38.4))/7.4 | 1.2 | /_d3 | [
"sqrt",
"+",
"/"
] |
2^1 | 2 | ^_d1 | [
"^"
] |
6^-1 | 0.2 | ^_d2 | [
"^",
"-"
] |
(abs(sin(44+(-21)))+0.1)^-1 | 1.1 | ^_d3 | [
"abs",
"sin",
"+",
"-",
"^"
] |
sin(4) | -0.8 | sin_d1 | [
"sin"
] |
sin(cos(-1.7)) | -0.1 | sin_d2 | [
"sin",
"cos",
"-"
] |
sin(exp(sin((-11)-(-0.9)))) | 1 | sin_d3 | [
"sin",
"exp",
"-"
] |
cos(-3.8) | -0.8 | cos_d1 | [
"cos",
"-"
] |
cos(abs(16.3)) | -0.8 | cos_d2 | [
"cos",
"abs"
] |
cos(sin(4.6^(-1))) | 1 | cos_d3 | [
"cos",
"sin",
"^",
"-"
] |
tan(-5.7) | 0.7 | tan_d1 | [
"tan",
"-"
] |
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 (250M Production Shards)
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 - Max Expression Depth: 3
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_d2")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("durgasai299792458/mathmetics-dataset", streaming=True)
for sample in dataset["train"]:
print(sample["expr"], "->", sample["val"], "ops:", sample["ops_used"])
break
- Downloads last month
- 199