Dataset Preview
Duplicate
The full dataset viewer is not available (click to read why). Only showing a preview of the rows.
The dataset generation failed
Error code:   DatasetGenerationError
Exception:    ArrowInvalid
Message:      Failed to parse string: 'C' as a scalar of type double
Traceback:    Traceback (most recent call last):
                File "/usr/local/lib/python3.12/site-packages/datasets/builder.py", line 1800, in _prepare_split_single
                  writer.write_table(table)
                File "/usr/local/lib/python3.12/site-packages/datasets/arrow_writer.py", line 765, in write_table
                  self._write_table(pa_table, writer_batch_size=writer_batch_size)
                File "/usr/local/lib/python3.12/site-packages/datasets/arrow_writer.py", line 773, in _write_table
                  pa_table = table_cast(pa_table, self._schema)
                             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
                File "/usr/local/lib/python3.12/site-packages/datasets/table.py", line 2321, in table_cast
                  return cast_table_to_schema(table, schema)
                         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
                File "/usr/local/lib/python3.12/site-packages/datasets/table.py", line 2255, in cast_table_to_schema
                  cast_array_to_feature(
                File "/usr/local/lib/python3.12/site-packages/datasets/table.py", line 1804, in wrapper
                  return pa.chunked_array([func(chunk, *args, **kwargs) for chunk in array.chunks])
                                           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
                File "/usr/local/lib/python3.12/site-packages/datasets/table.py", line 2095, in cast_array_to_feature
                  return array_cast(
                         ^^^^^^^^^^^
                File "/usr/local/lib/python3.12/site-packages/datasets/table.py", line 1806, in wrapper
                  return func(array, *args, **kwargs)
                         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
                File "/usr/local/lib/python3.12/site-packages/datasets/table.py", line 1958, in array_cast
                  return array.cast(pa_type)
                         ^^^^^^^^^^^^^^^^^^^
                File "pyarrow/array.pxi", line 1135, in pyarrow.lib.Array.cast
                File "/usr/local/lib/python3.12/site-packages/pyarrow/compute.py", line 412, in cast
                  return call_function("cast", [arr], options, memory_pool)
                         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
                File "pyarrow/_compute.pyx", line 604, in pyarrow._compute.call_function
                File "pyarrow/_compute.pyx", line 399, in pyarrow._compute.Function.call
                File "pyarrow/error.pxi", line 155, in pyarrow.lib.pyarrow_internal_check_status
                File "pyarrow/error.pxi", line 92, in pyarrow.lib.check_status
              pyarrow.lib.ArrowInvalid: Failed to parse string: 'C' as a scalar of type double
              
              The above exception was the direct cause of the following exception:
              
              Traceback (most recent call last):
                File "/src/services/worker/src/worker/job_runners/config/parquet_and_info.py", line 1343, in compute_config_parquet_and_info_response
                  parquet_operations, partial, estimated_dataset_info = stream_convert_to_parquet(
                                                                        ^^^^^^^^^^^^^^^^^^^^^^^^^^
                File "/src/services/worker/src/worker/job_runners/config/parquet_and_info.py", line 907, in stream_convert_to_parquet
                  builder._prepare_split(split_generator=splits_generators[split], file_format="parquet")
                File "/usr/local/lib/python3.12/site-packages/datasets/builder.py", line 1646, in _prepare_split
                  for job_id, done, content in self._prepare_split_single(
                                               ^^^^^^^^^^^^^^^^^^^^^^^^^^^
                File "/usr/local/lib/python3.12/site-packages/datasets/builder.py", line 1832, in _prepare_split_single
                  raise DatasetGenerationError("An error occurred while generating the dataset") from e
              datasets.exceptions.DatasetGenerationError: An error occurred while generating the dataset

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.

prompt
string
text_prompt
string
answer
float64
difficulty
int64
difficulty_sd
int64
0.897 + -0.0003553583872
What is 0.897 + -0.0003553583872?
0.896645
37
1
0.0000000037287 + 86053640000000
What is 0.0000000037287 + 86053640000000?
86,053,640,000,000
3
0
-4730000000 + 808123517.504
What is -4730000000 + 808123517.504?
-3,921,876,482.496
41
19
-0.091313 - 0.000000000064741
What is -0.091313 - 0.000000000064741?
-0.091313
29
0
0.0000000007912 + 0.000000000006047
What is 0.0000000007912 + 0.000000000006047?
0
62
4
0.000000091441767 - -0.0000000094812518417684
What is 0.000000091441767 - -0.0000000094812518417684?
0
61
27
0.0000077859564 + 7934648934640
What is 0.0000077859564 + 7934648934640?
7,934,648,934,640
15
18
-0.0000000000008 - -0.00043
What is -0.0000000000008 - -0.00043?
0.00043
47
7
-409000 - 0.0774826
What is -409000 - 0.0774826?
-409,000.077483
18
3
51186280.422642 + -633836682517730.9
What is 51186280.422642 + -633836682517730.9?
-633,836,631,331,450
43
46
5093177625.6654 + -8006018872.7713
What is 5093177625.6654 + -8006018872.7713?
-2,912,841,247.1059
79
44
0.172 + 897
What is 0.172 + 897?
897.172
0
6
0.000000006954859768 - 0.00000000337678748222
What is 0.000000006954859768 - 0.00000000337678748222?
0
71
40
0.0000364842 - 0.00006289199504
What is 0.0000364842 - 0.00006289199504?
-0.000026
47
28
704052.8887797 + -21204144397.6849
What is 704052.8887797 + -21204144397.6849?
-21,203,440,344.7961
61
39
82592463.955744 - 88290080.19688
What is 82592463.955744 - 88290080.19688?
-5,697,616.241136
60
42
0.81435057624 + 5.63183714442322
What is 0.81435057624 + 5.63183714442322?
6.446188
79
41
63000000 - 0.0005
What is 63000000 - 0.0005?
62,999,999.9995
16
7
480.015319004 + 0.009461116181331289
What is 480.015319004 + 0.009461116181331289?
480.02478
53
26
0.00088129753 + 0.000000000746172721
What is 0.00088129753 + 0.000000000746172721?
0.000881
36
9
-0.00000000000002510327537266 + 0.000729184603789
What is -0.00000000000002510327537266 + 0.000729184603789?
0.000729
14
5
0.007340595118241 + 0.000000000482814213773156
What is 0.007340595118241 + 0.000000000482814213773156?
0.007341
51
24
-0.000000051 - 0.000000000000520422
What is -0.000000051 - 0.000000000000520422?
-0
63
0
7638000 + 64904093630000
What is 7638000 + 64904093630000?
64,904,101,268,000
37
15
-0.000000000581766 + -0.0009492964
What is -0.000000000581766 + -0.0009492964?
-0.000949
46
7
0.1468794673871975 - 749836.2625602989
What is 0.1468794673871975 - 749836.2625602989?
-749,836.115681
63
56
5140370 + 29395.20223116
What is 5140370 + 29395.20223116?
5,169,765.202231
32
20
0.000006853876 - 0.0000388105364105
What is 0.000006853876 - 0.0000388105364105?
-0.000032
62
30
-0.000000005308 - 0.00049950824
What is -0.000000005308 - 0.00049950824?
-0.0005
54
14
-0.49437016 - 0.02792589
What is -0.49437016 - 0.02792589?
-0.522296
68
26
709448263117210 - 5078070.141637
What is 709448263117210 - 5078070.141637?
709,448,258,039,140
39
37
-0.000000857967682 + 0.001359511701
What is -0.000000857967682 + 0.001359511701?
0.001359
60
18
-9785009937.84334 - -2937767412.227866
What is -9785009937.84334 - -2937767412.227866?
-6,847,242,525.61547
83
57
-9575600000 - -1634300000
What is -9575600000 - -1634300000?
-7,941,300,000
34
23
-1489.9 + -968594.06
What is -1489.9 + -968594.06?
-970,083.96
74
24
-0.0000035 + -0.000000000000056
What is -0.0000035 + -0.000000000000056?
-0.000004
43
3
-5004200000000 - -6209736
What is -5004200000000 - -6209736?
-5,004,193,790,264
27
20
-0.0000000000165 + -0.000302205
What is -0.0000000000165 + -0.000302205?
-0.000302
39
3
17.37924846836 - 0.000060395504389837
What is 17.37924846836 - 0.000060395504389837?
17.379188
43
25
-0.00000000000826 + 0.0000000058
What is -0.00000000000826 + 0.0000000058?
0
59
1
115323000000000 + 1318808442
What is 115323000000000 + 1318808442?
115,324,318,808,442
56
24
79.091 - 0.0000109163236381767
What is 79.091 - 0.0000109163236381767?
79.090989
37
1
0.0050846281372198 + 58314122133.42
What is 0.0050846281372198 + 58314122133.42?
58,314,122,133.4251
46
27
-81922.203421985 - 65539.58396927
What is -81922.203421985 - 65539.58396927?
-147,461.787391
32
49
-0.0000000000004509601897096042 + -6.25932511685956
What is -0.0000000000004509601897096042 + -6.25932511685956?
-6.259325
22
13
0.00050691 + -0.053622662249
What is 0.00050691 + -0.053622662249?
-0.053116
53
17
79.404867882 + 20.3580072461
What is 79.404867882 + 20.3580072461?
99.762875
74
30
30020788300000 - 595763154664.735
What is 30020788300000 - 595763154664.735?
29,425,025,145,335.3
47
31
1360.9444617757 + 43.084214005537
What is 1360.9444617757 + 43.084214005537?
1,404.028676
77
42
0.00000000001395733 + 0.0311821
What is 0.00000000001395733 + 0.0311821?
0.031182
29
0
-735.9036574816167 + 22266146.87686236
What is -735.9036574816167 + 22266146.87686236?
22,265,410.973205
64
55
64719900000000 + 40172.69
What is 64719900000000 + 40172.69?
64,719,900,040,172.7
39
19
2308027.97485 + 653604895.4845
What is 2308027.97485 + 653604895.4845?
655,912,923.45935
68
40
0.0319367 - -874.26
What is 0.0319367 - -874.26?
874.291937
64
18
0.030425675215855 + -0.0002234076662174
What is 0.030425675215855 + -0.0002234076662174?
0.030202
61
42
32250 + -61277.94
What is 32250 + -61277.94?
-29,027.94
49
16
224793.41 - -24040037.858
What is 224793.41 - -24040037.858?
24,264,831.268
80
25
850 - 6500000
What is 850 - 6500000?
-6,499,150
21
13
0.0000000000000135 - 0.293091
What is 0.0000000000000135 - 0.293091?
-0.293091
27
7
0.00000000000013627 + -0.00595612
What is 0.00000000000013627 + -0.00595612?
-0.005956
33
1
0.00000000002803959998 + 0.0000000000000586428986846
What is 0.00000000002803959998 + 0.0000000000000586428986846?
0
55
28
7015668.659 + 0.53241
What is 7015668.659 + 0.53241?
7,015,669.19141
39
16
0.000000000000027775958210817 - 0.00000009967209393678077
What is 0.000000000000027775958210817 - 0.00000009967209393678077?
-0
57
41
397.374 - 0.00000900553888
What is 397.374 - 0.00000900553888?
397.373991
52
1
8.702458885750396 + 65021004.69255421
What is 8.702458885750396 + 65021004.69255421?
65,021,013.395013
50
44
-0.527111339061678 - 6474.8346411786
What is -0.527111339061678 - 6474.8346411786?
-6,475.361753
66
49
0.00054 - 80000000000
What is 0.00054 - 80000000000?
-79,999,999,999.9995
37
11
0.000008623 - -25.035828451937
What is 0.000008623 - -25.035828451937?
25.035837
43
26
0.000812535 - 719343.027299
What is 0.000812535 - 719343.027299?
-719,343.026486
56
27
0.0000000007683733 + 0.013
What is 0.0000000007683733 + 0.013?
0.013
45
0
-17105197.1109126 + 0.000172541898397404
What is -17105197.1109126 + 0.000172541898397404?
-17,105,197.11074
25
34
-0.8 - -0.8208
What is -0.8 - -0.8208?
0.0208
81
11
0.448178 - 0.8715
What is 0.448178 - 0.8715?
-0.423322
79
17
-0.0000000068836020061 + -0.0016216198017623
What is -0.0000000068836020061 + -0.0016216198017623?
-0.001622
59
25
876913070 + 223263171000
What is 876913070 + 223263171000?
224,140,084,070
43
29
660.5853134678027 + 3824389053.097895
What is 660.5853134678027 + 3824389053.097895?
3,824,389,713.68321
63
43
0.0000085758178276553 + 0.00057305850339606
What is 0.0000085758178276553 + 0.00057305850339606?
0.000582
68
40
100 - -9838000000000
What is 100 - -9838000000000?
9,838,000,000,100
27
9
-673062426595645.5 + 50.34383981805249
What is -673062426595645.5 + 50.34383981805249?
-673,062,426,595,595
43
41
23135.45 - 0.0004034040102508
What is 23135.45 - 0.0004034040102508?
23,135.449597
57
7
-6968.6 - 8339.0281905
What is -6968.6 - 8339.0281905?
-15,307.628191
72
25
-3433000 + -5810000
What is -3433000 + -5810000?
-9,243,000
33
16
0.000000072311652 + -0.0000000000000733169096677706
What is 0.000000072311652 + -0.0000000000000733169096677706?
0
37
6
870000000 - -31000000000
What is 870000000 - -31000000000?
31,870,000,000
41
10
43538000 - 65340
What is 43538000 - 65340?
43,472,660
25
17
-5.801 - 0.0096047293961849
What is -5.801 - 0.0096047293961849?
-5.810605
45
5
-147.5904 + -0.173268566
What is -147.5904 + -0.173268566?
-147.763669
66
22
4035641.55755206 - 8.989472505731168
What is 4035641.55755206 - 8.989472505731168?
4,035,632.56808
65
45
-0.00004742653654713596 - 0.000000005249753215043022
What is -0.00004742653654713596 - 0.000000005249753215043022?
-0.000047
54
46
-0.000000000000066 + -0.000001
What is -0.000000000000066 + -0.000001?
-0.000001
49
3
6180.39616158695 - 2.230472139945899
What is 6180.39616158695 - 2.230472139945899?
6,178.165689
57
53
263.044651 + 0.0000008615898398087
What is 263.044651 + 0.0000008615898398087?
263.044652
38
6
0.0000321676 - -0.08885726835617
What is 0.0000321676 - -0.08885726835617?
0.088889
62
29
-0.000000007771747130931806 - 0.0000002598603586505
What is -0.000000007771747130931806 - 0.0000002598603586505?
-0
48
34
0.00000000088681 - 0.000000707354
What is 0.00000000088681 - 0.000000707354?
-0.000001
54
16
-2.9553242402 - -0.0000094113479767309
What is -2.9553242402 - -0.0000094113479767309?
-2.955315
46
20
-0.0000000206845051 + 0.00000005197692836
What is -0.0000000206845051 + 0.00000005197692836?
0
71
28
15520 - 270252.9180648
What is 15520 - 270252.9180648?
-254,732.918065
20
22
50747350000000 + 795863656044000
What is 50747350000000 + 795863656044000?
846,611,006,044,000
46
26
-229000 - 0.0004498767
What is -229000 - 0.0004498767?
-229,000.00045
0
0
End of preview.

BitTokens Dataset

This dataset contains the exact synthetic number-problem CSV files used by the BitTokens paper configs in the public repository. It is intended for reproducing BitTokens and the FoNE, xVal, significant-digit, token-digit, and base-10 baseline experiments.

The CSV files are minimal copies of the original paper data. Only the columns required by the dataloaders are included:

  • prompt
  • text_prompt
  • answer
  • difficulty
  • difficulty_sd

All values were preserved as strings during processing to avoid numeric precision changes. The original source CSVs were not modified.

Files

The repository contains 37 CSV files:

  • 14 train files
  • 14 validation files
  • 9 test files

The files cover Addition, Multiplication, Division, DivM, Exponentiation, MinMax, Interval, Sorting, Mean, and Std tasks, including the binary-uniform curriculum files used by BitTokens where referenced by the configs.

manifest.json records source sizes, output sizes, selected flavor, and stale config references that were skipped because they were not present in the source snapshot.

FineWeb Text Data

This dataset intentionally does not include the FineWeb-derived .txt files. Those belong to the public FineWeb dataset and should be downloaded from the original source instead. See the BitTokens repository README for the exact FineWeb download and decoding commands.

Usage

Download this dataset into your DATA_PATH directory:

hf download KreitnerL/BitTokens-dataset --repo-type dataset --local-dir "$DATA_PATH"

Then download and decode FineWeb separately if you want to reproduce the mixed numeric/text training runs. The BitTokens configs expect the decoded text files to be available under the local DATA_PATH as 000_00000_train.txt and val_text.txt.

Citation

If you use this dataset, please cite:

@inproceedings{
    kreitner2026bittokens,
    title={Efficient numeracy in language models through single-token number embeddings},
    author={Linus Kreitner and Paul Hager and Jonathan Mengedoht and Georgios Kaissis and Daniel Rueckert and Martin J. Menten},
    booktitle={Forty-third International Conference on Machine Learning},
    year={2026},
    url={https://openreview.net/forum?id=Bh4Ubk80M8}
}
Downloads last month
110