Dataset Viewer (First 5GB)
Auto-converted to Parquet Duplicate
expr
stringlengths
3
260
val
stringlengths
1
9
category
stringclasses
39 values
ops_used
listlengths
1
13
(sqrt(log(abs((-44.6)/10)+0.1)))+(abs(2.4*(-17)))
42
+_d4
[ "sqrt", "log", "abs", "-", "/", "+", "*" ]
((abs(-9)+0.1)^1)+((-5)-((8+1)*(cos(42/9))))
4.5
+_d5
[ "abs", "-", "+", "^", "*", "cos", "/" ]
((abs(-0.4)+0.1)^-2)+(sin(sqrt(abs(tan(sin(log(abs(-67))))))))
4.9
+_d6
[ "abs", "-", "+", "^", "sin", "sqrt", "tan", "log" ]
(-11.1)-(exp(cos(2.9/(-4))))
-13.2
-_d4
[ "-", "exp", "cos", "/" ]
(abs((tan(sin(sqrt(17.3))))+((-9)+(-1))))-(((-20)-(sin(33-(-16))))+(-2))
32.2
-_d5
[ "abs", "tan", "sin", "sqrt", "+", "-" ]
((((tan(sin(33/(-10))))/(ln(sqrt(11))))/(sqrt(log(abs((-9)*3)+0.1))))^3)-(log(abs(0*(log(11^-2)))+0.1))
2.3
-_d6
[ "tan", "sin", "/", "-", "ln", "sqrt", "log", "abs", "*", "+", "^" ]
(ln(sqrt(abs(-5))))*((sqrt(sqrt(27.3)))/(5-20))
-0.1
*_d4
[ "ln", "sqrt", "abs", "-", "*", "/" ]
((-9.8)-(tan(sqrt(exp(-2.6)))))*(exp(sin((-42)+(-21))))
-8.5
*_d5
[ "-", "tan", "sqrt", "exp", "*", "sin", "+" ]
((exp(tan(sin(abs(-27)))))^3)*(log(sqrt(abs((sin(abs(-19)))/(16.3/(-9))))))
-87.5
*_d6
[ "exp", "tan", "sin", "abs", "-", "^", "*", "log", "sqrt", "/" ]
((-4)/(-13))/(abs(cos((-4)-(-42))))
0.3
/_d4
[ "-", "/", "abs", "cos" ]
(sqrt(abs((log(3^(-2)))-(log(abs((-35)+(-24))+0.1)))))/(-13)
-0.2
/_d5
[ "sqrt", "abs", "log", "^", "-", "+", "/" ]
((((-10.7)/(3.7^2))-(sqrt(tan(tan(-5.4)))))/(cos(exp(sin(sqrt(8+48))))))/(cos(((sqrt((-4.8)*(-19)))+(abs((-41)/2)))/(exp(sin((-6)/(-3))))))
3.3
/_d6
[ "-", "/", "^", "sqrt", "tan", "cos", "exp", "sin", "+", "*", "abs" ]
(abs(-17)+0.1)^3
5000.2
^_d4
[ "abs", "-", "+", "^" ]
10^1
10
^_d5
[ "^" ]
(tan(tan(sin((abs(sin(-5.5)))^-2))))^1
3.3
^_d6
[ "tan", "sin", "abs", "-", "^" ]
sin(sin(log(abs(sin(5.2))+0.1)))
0
sin_d4
[ "sin", "log", "abs", "+" ]
sin(sin(sqrt((-12)-(-19))))
0.5
sin_d5
[ "sin", "sqrt", "-" ]
sin(exp(sin((((abs(-17)+0.1)^2)*15)^3)))
1
sin_d6
[ "sin", "exp", "abs", "-", "+", "^", "*" ]
cos(((abs(-4)+0.1)^3)^3)
-1
cos_d4
[ "cos", "abs", "-", "+", "^" ]
cos(sin(sin(log(abs(18*(-16))+0.1))))
0.9
cos_d5
[ "cos", "sin", "log", "abs", "*", "-", "+" ]
cos(sin((sqrt(2-(-18)))^3))
0.5
cos_d6
[ "cos", "sin", "sqrt", "-", "^" ]
tan(sin((abs(8-12)+0.1)^3))
-0.2
tan_d4
[ "tan", "sin", "abs", "-", "+", "^" ]
tan(sin((((-13)+19)+(4/(-19)))/(sin(10.8+(-3)))))
-0.5
tan_d5
[ "tan", "sin", "-", "+", "/" ]
tan(sin(ln((abs(sin(8+(-11)))+0.1)^3)))
1.3
tan_d6
[ "tan", "sin", "ln", "abs", "+", "-", "^" ]
log(sin(tan(sin(abs(-89)))))
-0.1
log_d4
[ "log", "sin", "tan", "abs", "-" ]
log(log(abs(ln(abs(0.9/(-8))+0.1))+0.1))
-0.7
log_d5
[ "log", "abs", "ln", "/", "-", "+" ]
log(abs(abs(ln(sin(exp(-0.4))))))
-0.7
log_d6
[ "log", "abs", "ln", "sin", "exp", "-" ]
ln(ln(tan(sin(abs(96)))))
-0.9
ln_d4
[ "ln", "tan", "sin", "abs" ]
ln((tan(18^-2))+(tan(ln(sqrt(12)))))
1.1
ln_d5
[ "ln", "tan", "^", "-", "+", "sqrt" ]
ln((cos(sqrt(abs(log(exp(-0.7))))))*(tan(sin((tan(sin(18.3/(-3))))-(log(11*9))))))
-0.1
ln_d6
[ "ln", "cos", "sqrt", "abs", "log", "exp", "-", "*", "tan", "sin", "/" ]
exp(8/(20^1))
1.5
exp_d4
[ "exp", "/", "^" ]
exp(log(sin(19^2)))
0.3
exp_d5
[ "exp", "log", "sin", "^" ]
exp(sin(abs(((abs(log(cos(-5.8)))+0.1)^-2)*(cos(log(ln(43)))))))
0.4
exp_d6
[ "exp", "sin", "abs", "log", "cos", "-", "+", "^", "*", "ln" ]
sqrt(cos((-18)+11))
0.9
sqrt_d4
[ "sqrt", "cos", "-", "+" ]
sqrt((ln(abs(25)))^2)
3.2
sqrt_d5
[ "sqrt", "ln", "abs", "^" ]
sqrt((log(abs((-3.4)+(-16))))+(sin(abs(4^3))))
2
sqrt_d6
[ "sqrt", "log", "abs", "-", "+", "sin", "^" ]
abs(exp(sin((abs(-10.4)+0.1)^3)))
2.7
abs_d4
[ "abs", "exp", "sin", "-", "+", "^" ]
abs(log(log(abs((-19.4)+2)+0.1)))
1.1
abs_d5
[ "abs", "log", "-", "+" ]
abs((log(abs(log(cos(tan(-4.8))))+0.1))*(ln(abs((-21)-(-2))+0.1)))
0.2
abs_d6
[ "abs", "log", "cos", "tan", "-", "+", "*", "ln" ]
(-6)+(((-15)-(-5))+18)
2
+_d4
[ "-", "+" ]
(cos((sqrt(tan(1.4)))*(sin((-11)*14.5))))+((log((-15)*(-14)))*(exp(tan(sin(6*3)))))
2.1
+_d5
[ "cos", "sqrt", "tan", "*", "sin", "-", "+", "log", "exp" ]
(sqrt(cos(cos(log(abs(100))))))+(tan(sin(abs((-18)-(-15)))))
1.1
+_d6
[ "sqrt", "cos", "log", "abs", "+", "tan", "sin", "-" ]
(abs(16/(-7)))-((abs(12*19.8))/(abs((-40)/(-2.7))))
-13.8
-_d4
[ "abs", "/", "-", "*" ]
((ln(abs(log(sin(-5.5)))+0.1))+(((-11)*(-10))/(-12)))-(ln(abs(ln(tan(1)))))
-9.2
-_d5
[ "ln", "abs", "log", "sin", "-", "+", "*", "/", "tan" ]
(exp((cos(cos(cos(-2.1))))^1))-(-20)
21.9
-_d6
[ "exp", "cos", "-", "^" ]
(-10.3)*(sin(sin(ln(45.5))))
6
*_d4
[ "-", "*", "sin", "ln" ]
(ln(abs((log(log(36.4)))/(11/(-11)))+0.1))*(0-(-12))
3.9
*_d5
[ "ln", "abs", "log", "/", "-", "+", "*" ]
0*((abs((abs(-1)+0.1)^-1))/(1))
0
*_d6
[ "*", "abs", "-", "+", "^", "/" ]
(tan(ln(log(10.6))))/(-18)
-0.1
/_d4
[ "tan", "ln", "log", "/", "-" ]
(((exp(sin(4^1)))/(4^2))*((cos(abs(99)))-(11/(-19))))/(cos((tan(exp(-1.1)))-(abs(log(9.4)))))
-0.1
/_d5
[ "exp", "sin", "^", "/", "*", "cos", "abs", "-", "tan", "log" ]
(exp(exp(sin(exp(0.5)))))/(sin(((log(sin(-3.9)))+10)^-1))
144.9
/_d6
[ "exp", "sin", "/", "log", "-", "+", "^" ]
((abs(sin((-21.1)-26))+0.1)^-2)^1
65.2
^_d4
[ "abs", "sin", "-", "+", "^" ]
(abs(11.5*(abs(sin(4.9)))))^-1
0.1
^_d5
[ "abs", "*", "sin", "^", "-" ]
(cos(log(cos(abs(tan(0.3))))))^1
1
^_d6
[ "cos", "log", "abs", "tan", "^" ]
sin(exp(ln(sqrt(60.8))))
1
sin_d4
[ "sin", "exp", "ln", "sqrt" ]
sin(6^2)
-1
sin_d5
[ "sin", "^" ]
sin(log(abs(log(abs(ln(cos(-5.4)))+0.1))))
-0.5
sin_d6
[ "sin", "log", "abs", "ln", "cos", "-", "+" ]
cos(exp(sin((-12)+3.1)))
0.8
cos_d4
[ "cos", "exp", "sin", "-", "+" ]
cos(cos((exp(cos(2.5)))/7))
0.5
cos_d5
[ "cos", "exp", "/" ]
cos(ln(tan(sin(exp(sin(10.4-(-10)))))))
0.7
cos_d6
[ "cos", "ln", "tan", "sin", "exp", "-" ]
tan(sin((ln(exp(-1.7)))+((abs(-20)+0.1)^2)))
0.2
tan_d4
[ "tan", "sin", "ln", "exp", "-", "+", "abs", "^" ]
tan(sin(exp(sin(exp(exp(-2.8))))))
0.8
tan_d5
[ "tan", "sin", "exp", "-" ]
tan(sin(abs(ln((log(1.8^1))+(9.9^2)))))
-1.5
tan_d6
[ "tan", "sin", "abs", "ln", "log", "^", "+" ]
log(abs(log(abs((-7)/12.5)+0.1))+0.1)
-0.7
log_d4
[ "log", "abs", "-", "/", "+" ]
log(sin(sqrt(cos(cos(1.5)))))
-0.2
log_d5
[ "log", "sin", "sqrt", "cos" ]
log((exp(sin((-18)-(abs(ln(38.8))))))-(((-12)+(-5))+(abs((-19)/(-10)))))
2.8
log_d6
[ "log", "exp", "sin", "-", "abs", "ln", "+", "/" ]
ln(exp(sin(1^(-1))))
0.8
ln_d4
[ "ln", "exp", "sin", "^", "-" ]
ln((abs(18.6*5.5))^1)
4.6
ln_d5
[ "ln", "abs", "*", "^" ]
ln(abs(log(sin((11.7-11)-((-6)*(-7.1)))))+0.1)
-1.4
ln_d6
[ "ln", "abs", "log", "sin", "-", "*", "+" ]
exp(exp(sin((-5)-(-1))))
8.4
exp_d4
[ "exp", "sin", "-" ]
exp(sin(ln((abs(0+(-10))+0.1)^3)))
1.8
exp_d5
[ "exp", "sin", "ln", "abs", "+", "-", "^" ]
exp(sin((((-11)-(log(1^2)))+(abs(log(2.9))))+(((sin(log(7.4)))*(sin(17*5)))/4)))
1.7
exp_d6
[ "exp", "sin", "-", "log", "^", "+", "abs", "*", "/" ]
sqrt(abs(sin(14/(-8))))
1
sqrt_d4
[ "sqrt", "abs", "sin", "/", "-" ]
sqrt(ln(exp(tan(sin(13*1.2)))))
0.3
sqrt_d5
[ "sqrt", "ln", "exp", "tan", "sin", "*" ]
sqrt(tan(tan(abs(cos(30/2)))))
1.2
sqrt_d6
[ "sqrt", "tan", "abs", "cos", "/" ]
abs(tan(sin((-26)+8.8)))
1.5
abs_d4
[ "abs", "tan", "sin", "-", "+" ]
abs(exp(tan(sin(16.4/11))))
4.7
abs_d5
[ "abs", "exp", "tan", "sin", "/" ]
abs((abs((6.4/(-17))*(-15)))^-1)
0.2
abs_d6
[ "abs", "/", "-", "*", "^" ]
10+(abs(sqrt(ln(19.2))))
11.7
+_d4
[ "+", "abs", "sqrt", "ln" ]
(sqrt(16-(-20)))+((ln(18-(-6)))^-2)
6.1
+_d5
[ "sqrt", "-", "+", "ln", "^" ]
(sqrt(sin(abs(ln(ln(23.4))))))+14
15
+_d6
[ "sqrt", "sin", "abs", "ln", "+" ]
((-19)+8)-(sin(sqrt(abs(sin(3.9)))))
-11.7
-_d4
[ "-", "+", "sin", "sqrt", "abs" ]
(sqrt(cos(4/(-14))))-(sqrt(ln(abs((-15)+10)+0.1)))
-0.3
-_d5
[ "sqrt", "cos", "/", "-", "ln", "abs", "+" ]
(cos(log(38.9)))-(ln(((ln(abs((-15)*4)+0.1))^-2)^-2))
-6.5
-_d6
[ "cos", "log", "-", "ln", "abs", "*", "+", "^" ]
(cos(exp(sin(5^2))))*(tan(sin(sqrt(sqrt(40.5)))))
0.4
*_d4
[ "cos", "exp", "sin", "^", "*", "tan", "sqrt" ]
(sqrt(abs(tan(cos(sqrt(90.6))))))*(exp(tan(sin(ln((-32.8)/(-8))))))
5.6
*_d5
[ "sqrt", "abs", "tan", "cos", "*", "exp", "sin", "ln", "-", "/" ]
(ln(log(9)))*(ln((cos(cos(abs(-16))))^-2))
0.9
*_d6
[ "ln", "log", "*", "cos", "abs", "-", "^" ]
(abs(sqrt(abs((-39.5)+(-13)))))/(sqrt(ln(24.7-(-19))))
3.7
/_d4
[ "abs", "sqrt", "-", "+", "/", "ln" ]
(cos(ln(abs((-13)-9)+0.1)))/(1)
-1
/_d5
[ "cos", "ln", "abs", "-", "+", "/" ]
(cos(sin(sqrt((abs(-4)+0.1)^2))))/(sin((-9)+((exp(sin(log(29.1))))^3)))
-0.9
/_d6
[ "cos", "sin", "sqrt", "abs", "-", "+", "^", "/", "exp", "log" ]
(exp(ln(sin(2.1))))^-1
1.2
^_d4
[ "exp", "ln", "sin", "^", "-" ]
8.6^3
636.1
^_d5
[ "^" ]
(abs((log(13-(-20)))*(tan(sin(log(sin(0.2))))))+0.1)^-2
0
^_d6
[ "abs", "log", "-", "*", "tan", "sin", "+", "^" ]
sin(abs(log(sqrt(65.3))))
0.9
sin_d4
[ "sin", "abs", "log", "sqrt" ]
sin(sin(abs(16/(-12))))
0.8
sin_d5
[ "sin", "abs", "/", "-" ]
sin(exp(((tan(exp(-0.3)))+(tan(sin(2^1))))^-1))
1
sin_d6
[ "sin", "exp", "tan", "-", "+", "^" ]
cos((sqrt(abs((-43)-(-34))))^3)
-0.3
cos_d4
[ "cos", "sqrt", "abs", "-", "^" ]
cos((abs((-15.5)+(-14)))/((abs(cos(3.7)))+(ln(cos(4.8)))))
1
cos_d5
[ "cos", "abs", "-", "+", "/", "ln" ]
cos(((-2.2)-(abs(sin((-4)*(-15)))))/(((sin(cos(-1.2)))*((abs(-2)+0.1)^3))/19))
-0.4
cos_d6
[ "cos", "-", "abs", "sin", "*", "/", "+", "^" ]
tan(sin(((-4)+6.4)^1))
0.8
tan_d4
[ "tan", "sin", "-", "+", "^" ]
End of preview. Expand in Data Studio

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 (200,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: 200,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: 80%

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-intmax", streaming=True)
for sample in dataset["train"]:
    print(sample["expr"], "->", sample["val"], "ops:", sample["ops_used"])
    break
Downloads last month
573