Datasets:
expr stringlengths 3 61 | val stringlengths 1 8 | category stringclasses 39
values | ops_used listlengths 1 9 |
|---|---|---|---|
(-24)+43.3 | 19.3 | +_d1 | [
"-",
"+"
] |
2+(-6) | -4 | +_d2 | [
"+",
"-"
] |
(tan(exp(-0.5)))+(ln(31+33)) | 4.9 | +_d3 | [
"tan",
"exp",
"-",
"+",
"ln"
] |
(-9)-37.9 | -46.9 | -_d1 | [
"-"
] |
(-3.7)-9.6 | -13.3 | -_d2 | [
"-"
] |
(7+(-5))-(tan(sin(-2.1))) | 3.2 | -_d3 | [
"+",
"-",
"tan",
"sin"
] |
8.6*(-4) | -34.4 | *_d1 | [
"*",
"-"
] |
(-8.7)*(-8) | 69.6 | *_d2 | [
"-",
"*"
] |
((-5)/(-7.5))*(log(3.4^(-2))) | -1.6 | *_d3 | [
"-",
"/",
"*",
"log",
"^"
] |
(-15)/(-7) | 2.1 | /_d1 | [
"-",
"/"
] |
(-8)/5.9 | -1.4 | /_d2 | [
"-",
"/"
] |
(exp(1^3))/(-8.2) | -0.3 | /_d3 | [
"exp",
"^",
"/",
"-"
] |
1^3 | 1 | ^_d1 | [
"^"
] |
7^-1 | 0.1 | ^_d2 | [
"^",
"-"
] |
(sqrt((-16)/(-6.1)))^-1 | 0.6 | ^_d3 | [
"sqrt",
"-",
"/",
"^"
] |
sin(1.3) | 1 | sin_d1 | [
"sin"
] |
sin(tan(5.5)) | -0.8 | sin_d2 | [
"sin",
"tan"
] |
sin(1/6) | 0.2 | sin_d3 | [
"sin",
"/"
] |
cos(-4.3) | -0.4 | cos_d1 | [
"cos",
"-"
] |
cos(1.8^1) | -0.2 | cos_d2 | [
"cos",
"^"
] |
cos((-6)-(-1.7)) | -0.4 | cos_d3 | [
"cos",
"-"
] |
tan(3.6) | 0.5 | tan_d1 | [
"tan"
] |
tan(1/7.4) | 0.1 | tan_d2 | [
"tan",
"/"
] |
tan(sin(ln(sqrt(40.3)))) | 1.4 | tan_d3 | [
"tan",
"sin",
"ln",
"sqrt"
] |
log(7.5) | 2 | log_d1 | [
"log"
] |
log(abs(7.7/(-5))+0.1) | 0.5 | log_d2 | [
"log",
"abs",
"/",
"-",
"+"
] |
log(abs(1/(-1.3))+0.1) | -0.1 | log_d3 | [
"log",
"abs",
"/",
"-",
"+"
] |
ln(1) | 0 | ln_d1 | [
"ln"
] |
ln(sin(0.1)) | -2.3 | ln_d2 | [
"ln",
"sin"
] |
ln(ln(sqrt(15.2))) | 0.3 | ln_d3 | [
"ln",
"sqrt"
] |
exp(1.4) | 4.1 | exp_d1 | [
"exp"
] |
exp(sin(1.1)) | 2.4 | exp_d2 | [
"exp",
"sin"
] |
exp(sin(8+7)) | 1.9 | exp_d3 | [
"exp",
"sin",
"+"
] |
sqrt(8.1) | 2.8 | sqrt_d1 | [
"sqrt"
] |
sqrt((-2.2)*(-5.4)) | 3.4 | sqrt_d2 | [
"sqrt",
"-",
"*"
] |
sqrt(abs((-1)*9)) | 3 | sqrt_d3 | [
"sqrt",
"abs",
"-",
"*"
] |
abs(17) | 17 | abs_d1 | [
"abs"
] |
abs(28.6+(-31.3)) | 2.7 | abs_d2 | [
"abs",
"+",
"-"
] |
abs(ln((-7.3)-(-40.5))) | 3.5 | abs_d3 | [
"abs",
"ln",
"-"
] |
(-17.8)+47.5 | 29.7 | +_d1 | [
"-",
"+"
] |
(-7)+3.2 | -3.8 | +_d2 | [
"-",
"+"
] |
(abs(log(19.8)))+(sin(3^1)) | 3.1 | +_d3 | [
"abs",
"log",
"+",
"sin",
"^"
] |
(-2.1)-(-34.1) | 32 | -_d1 | [
"-"
] |
(-1)-1.4 | -2.4 | -_d2 | [
"-"
] |
((abs(-9)+0.1)^-1)-8 | -7.9 | -_d3 | [
"abs",
"-",
"+",
"^"
] |
0.6*2.7 | 1.6 | *_d1 | [
"*"
] |
(-5)*7 | -35 | *_d2 | [
"-",
"*"
] |
(tan(sin((-25.8)+(-27.1))))*(cos(exp(1))) | 0.5 | *_d3 | [
"tan",
"sin",
"-",
"+",
"*",
"cos",
"exp"
] |
1.3/(-10) | -0.1 | /_d1 | [
"/",
"-"
] |
(-2.9)/(-1) | 2.9 | /_d2 | [
"-",
"/"
] |
(9.8-3)/(cos(5^(-2))) | 6.8 | /_d3 | [
"-",
"/",
"cos",
"^"
] |
4.6^(-1) | 0.2 | ^_d1 | [
"^",
"-"
] |
4^1 | 4 | ^_d2 | [
"^"
] |
(abs(0/2.7)+0.1)^3 | 0 | ^_d3 | [
"abs",
"/",
"+",
"^"
] |
sin(-0.6) | -0.6 | sin_d1 | [
"sin",
"-"
] |
sin(ln(15.5)) | 0.4 | sin_d2 | [
"sin",
"ln"
] |
sin(sqrt(abs(sin(4)))) | 0.8 | sin_d3 | [
"sin",
"sqrt",
"abs"
] |
cos(-0.9) | 0.6 | cos_d1 | [
"cos",
"-"
] |
cos(exp(1.2)) | -1 | cos_d2 | [
"cos",
"exp"
] |
cos((abs(-6)+0.1)^-1) | 1 | cos_d3 | [
"cos",
"abs",
"-",
"+",
"^"
] |
tan(4.4) | 3.1 | tan_d1 | [
"tan"
] |
tan(0.9^3) | 0.9 | tan_d2 | [
"tan",
"^"
] |
tan(sin(tan(-4.1))) | -1.5 | tan_d3 | [
"tan",
"sin",
"-"
] |
log(18.1) | 2.9 | log_d1 | [
"log"
] |
log(abs(tan(5.7))+0.1) | -0.3 | log_d2 | [
"log",
"abs",
"tan",
"+"
] |
log(sqrt(tan(-2.1))) | 0.3 | log_d3 | [
"log",
"sqrt",
"tan",
"-"
] |
ln(13.7) | 2.6 | ln_d1 | [
"ln"
] |
ln(abs(20/(-8.9))+0.1) | 0.9 | ln_d2 | [
"ln",
"abs",
"/",
"-",
"+"
] |
ln(abs(8*(-10))) | 4.4 | ln_d3 | [
"ln",
"abs",
"*",
"-"
] |
exp(2.3) | 10 | exp_d1 | [
"exp"
] |
exp(sin(6.3)) | 1 | exp_d2 | [
"exp",
"sin"
] |
exp(cos(tan(-4.8))) | 1.5 | exp_d3 | [
"exp",
"cos",
"tan",
"-"
] |
sqrt(11.9) | 3.4 | sqrt_d1 | [
"sqrt"
] |
sqrt(abs(4.5*(-5.5))) | 5 | sqrt_d2 | [
"sqrt",
"abs",
"*",
"-"
] |
sqrt(9.9*5) | 7 | sqrt_d3 | [
"sqrt",
"*"
] |
abs(-96.8) | 96.8 | abs_d1 | [
"abs",
"-"
] |
abs(cos(-1.3)) | 0.3 | abs_d2 | [
"abs",
"cos",
"-"
] |
abs(ln(exp(-2.7))) | 2.7 | abs_d3 | [
"abs",
"ln",
"exp",
"-"
] |
19+(-22.8) | -3.8 | +_d1 | [
"+",
"-"
] |
1+(-8) | -7 | +_d2 | [
"+",
"-"
] |
(sqrt(abs(ln(0.4))))+(9.9-(-8)) | 18.9 | +_d3 | [
"sqrt",
"abs",
"ln",
"+",
"-"
] |
20-2 | 18 | -_d1 | [
"-"
] |
(-8.5)-(-7) | -1.5 | -_d2 | [
"-"
] |
0.4-(1+6) | -6.6 | -_d3 | [
"-",
"+"
] |
6.6*7.3 | 48.2 | *_d1 | [
"*"
] |
(-1.5)*(-9) | 13.5 | *_d2 | [
"-",
"*"
] |
(sqrt(exp(-1.2)))*(cos((-10)*(-5))) | 0.5 | *_d3 | [
"sqrt",
"exp",
"-",
"*",
"cos"
] |
(-19.8)/5.3 | -3.7 | /_d1 | [
"-",
"/"
] |
(-5.7)/5 | -1.1 | /_d2 | [
"-",
"/"
] |
((-9.8)-5)/(sqrt(exp(-1.6))) | -32.9 | /_d3 | [
"-",
"/",
"sqrt",
"exp"
] |
5^(-1) | 0.2 | ^_d1 | [
"^",
"-"
] |
7.5^-1 | 0.1 | ^_d2 | [
"^",
"-"
] |
((abs(-2)+0.1)^-1)^-2 | 4.4 | ^_d3 | [
"abs",
"-",
"+",
"^"
] |
sin(5.1) | -0.9 | sin_d1 | [
"sin"
] |
sin(log(17.7)) | 0.3 | sin_d2 | [
"sin",
"log"
] |
sin(0.6/1) | 0.6 | sin_d3 | [
"sin",
"/"
] |
cos(1.6) | 0 | cos_d1 | [
"cos"
] |
cos(sin(2.4)) | 0.8 | cos_d2 | [
"cos",
"sin"
] |
cos(abs(1^(-1))) | 0.5 | cos_d3 | [
"cos",
"abs",
"^",
"-"
] |
tan(2.4) | -0.9 | 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-dataset1", streaming=True)
for sample in dataset["train"]:
print(sample["expr"], "->", sample["val"], "ops:", sample["ops_used"])
break
- Downloads last month
- 184