Dataset Preview
Full Screen
The full dataset viewer is not available (click to read why). Only showing a preview of the rows.
The dataset generation failed because of a cast error
Error code:   DatasetGenerationCastError
Exception:    DatasetGenerationCastError
Message:      An error occurred while generating the dataset

All the data files must have the same columns, but at some point there are 3 new columns ({'neg_answers', 'fact_context', 'none_context'})

This happened while the json dataset builder was generating data using

hf://datasets/tonytan48/TempReason/train_l2.json (at revision 1646dea364ac667dd6098646da7d6638de00cc71)

Please either edit the data files to have matching columns, or separate them into different configurations (see docs at https://hf.co/docs/hub/datasets-manual-configuration#multiple-configurations)
Traceback:    Traceback (most recent call last):
                File "/src/services/worker/.venv/lib/python3.9/site-packages/datasets/builder.py", line 2011, in _prepare_split_single
                  writer.write_table(table)
                File "/src/services/worker/.venv/lib/python3.9/site-packages/datasets/arrow_writer.py", line 585, in write_table
                  pa_table = table_cast(pa_table, self._schema)
                File "/src/services/worker/.venv/lib/python3.9/site-packages/datasets/table.py", line 2302, in table_cast
                  return cast_table_to_schema(table, schema)
                File "/src/services/worker/.venv/lib/python3.9/site-packages/datasets/table.py", line 2256, in cast_table_to_schema
                  raise CastError(
              datasets.table.CastError: Couldn't cast
              question: string
              date: string
              text_answers: struct<text: list<item: string>>
                child 0, text: list<item: string>
                    child 0, item: string
              id: string
              fact_context: string
              context: string
              none_context: string
              neg_answers: list<item: string>
                child 0, item: string
              to
              {'question': Value(dtype='string', id=None), 'date': Value(dtype='string', id=None), 'text_answers': {'text': Sequence(feature=Value(dtype='string', id=None), length=-1, id=None)}, 'id': Value(dtype='string', id=None), 'context': Value(dtype='string', id=None)}
              because column names don't match
              
              During handling of the above exception, another exception occurred:
              
              Traceback (most recent call last):
                File "/src/services/worker/src/worker/job_runners/config/parquet_and_info.py", line 1321, in compute_config_parquet_and_info_response
                  parquet_operations = convert_to_parquet(builder)
                File "/src/services/worker/src/worker/job_runners/config/parquet_and_info.py", line 935, in convert_to_parquet
                  builder.download_and_prepare(
                File "/src/services/worker/.venv/lib/python3.9/site-packages/datasets/builder.py", line 1027, in download_and_prepare
                  self._download_and_prepare(
                File "/src/services/worker/.venv/lib/python3.9/site-packages/datasets/builder.py", line 1122, in _download_and_prepare
                  self._prepare_split(split_generator, **prepare_split_kwargs)
                File "/src/services/worker/.venv/lib/python3.9/site-packages/datasets/builder.py", line 1882, in _prepare_split
                  for job_id, done, content in self._prepare_split_single(
                File "/src/services/worker/.venv/lib/python3.9/site-packages/datasets/builder.py", line 2013, in _prepare_split_single
                  raise DatasetGenerationCastError.from_cast_error(
              datasets.exceptions.DatasetGenerationCastError: An error occurred while generating the dataset
              
              All the data files must have the same columns, but at some point there are 3 new columns ({'neg_answers', 'fact_context', 'none_context'})
              
              This happened while the json dataset builder was generating data using
              
              hf://datasets/tonytan48/TempReason/train_l2.json (at revision 1646dea364ac667dd6098646da7d6638de00cc71)
              
              Please either edit the data files to have matching columns, or separate them into different configurations (see docs at https://hf.co/docs/hub/datasets-manual-configuration#multiple-configurations)

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.

question
string
date
string
text_answers
dict
id
string
context
string
What is the time 1 year and 7 month after Mar, 1873
March 26, 1873
{ "text": [ "Oct, 1874" ] }
0
What is the time 8 year after Oct, 1092
October 21, 1092
{ "text": [ "Oct, 1100" ] }
1
What is the time 4 year and 7 month after Jan, 1280
January 16, 1280
{ "text": [ "Aug, 1284" ] }
2
What is the time 1 year after Feb, 1941
February 14, 1941
{ "text": [ "Feb, 1942" ] }
3
What is the time 3 year and 12 month after Sep, 1562
September 06, 1562
{ "text": [ "Sep, 1566" ] }
4
What is the time 7 year and 5 month after Mar, 1198
March 11, 1198
{ "text": [ "Aug, 1205" ] }
5
What is the time 9 year after Jan, 1245
January 31, 1245
{ "text": [ "Jan, 1254" ] }
6
What is the time 7 year and 9 month after Oct, 1446
October 27, 1446
{ "text": [ "Jul, 1454" ] }
7
What is the time 5 year after Jul, 1157
July 05, 1157
{ "text": [ "Jul, 1162" ] }
8
What is the time 5 year and 12 month after Nov, 1389
November 05, 1389
{ "text": [ "Nov, 1395" ] }
9
What is the time 7 year and 5 month after Jan, 1694
January 19, 1694
{ "text": [ "Jun, 1701" ] }
10
What is the time 6 month after Oct, 1509
October 22, 1509
{ "text": [ "Apr, 1510" ] }
11
What is the time 1 year and 10 month after Jun, 1065
June 25, 1065
{ "text": [ "Apr, 1067" ] }
12
What is the time 10 year and 5 month after Jul, 1868
July 18, 1868
{ "text": [ "Dec, 1878" ] }
13
What is the time 6 year after Dec, 1357
December 28, 1357
{ "text": [ "Dec, 1363" ] }
14
What is the time 7 year and 7 month after Mar, 1378
March 02, 1378
{ "text": [ "Oct, 1385" ] }
15
What is the time 1 year and 3 month after Jul, 1679
July 18, 1679
{ "text": [ "Oct, 1680" ] }
16
What is the time 8 year and 4 month after Feb, 1760
February 14, 1760
{ "text": [ "Jun, 1768" ] }
17
What is the time 1 year and 6 month after Aug, 1871
August 25, 1871
{ "text": [ "Feb, 1873" ] }
18
What is the time 2 year and 11 month after Aug, 1651
August 15, 1651
{ "text": [ "Jul, 1654" ] }
19
What is the time 9 year and 11 month after Nov, 1998
November 30, 1998
{ "text": [ "Oct, 2008" ] }
20
What is the time 7 year and 10 month after Jan, 1973
January 29, 1973
{ "text": [ "Nov, 1980" ] }
21
What is the time 10 year after Jul, 1161
July 29, 1161
{ "text": [ "Jul, 1171" ] }
22
What is the time 9 year and 4 month after Aug, 1969
August 24, 1969
{ "text": [ "Dec, 1978" ] }
23
What is the time 10 year and 1 month after May, 1350
May 22, 1350
{ "text": [ "Jun, 1360" ] }
24
What is the time 7 year and 4 month after Sep, 1710
September 06, 1710
{ "text": [ "Jan, 1718" ] }
25
What is the time 5 year and 5 month after Oct, 1444
October 01, 1444
{ "text": [ "Mar, 1450" ] }
26
What is the time 9 year and 7 month after Sep, 1968
September 17, 1968
{ "text": [ "Apr, 1978" ] }
27
What is the time 5 year and 6 month after Apr, 1862
April 01, 1862
{ "text": [ "Oct, 1867" ] }
28
What is the time 4 year and 3 month after Feb, 1296
February 01, 1296
{ "text": [ "May, 1300" ] }
29
What is the time 9 year and 10 month after Feb, 1743
February 27, 1743
{ "text": [ "Dec, 1752" ] }
30
What is the time 4 year and 8 month after Nov, 1275
November 21, 1275
{ "text": [ "Jul, 1280" ] }
31
What is the time 2 year and 5 month after Aug, 1728
August 15, 1728
{ "text": [ "Jan, 1731" ] }
32
What is the time 1 year and 3 month after Oct, 1149
October 24, 1149
{ "text": [ "Jan, 1151" ] }
33
What is the time 10 year and 4 month after Jun, 1136
June 20, 1136
{ "text": [ "Oct, 1146" ] }
34
What is the time 5 year and 4 month after Oct, 1782
October 02, 1782
{ "text": [ "Feb, 1788" ] }
35
What is the time 9 year after Jan, 1701
January 25, 1701
{ "text": [ "Jan, 1710" ] }
36
What is the time 4 year and 11 month after Feb, 1947
February 03, 1947
{ "text": [ "Jan, 1952" ] }
37
What is the time 10 year and 6 month after Dec, 1625
December 16, 1625
{ "text": [ "Jun, 1636" ] }
38
What is the time 8 year and 3 month after Feb, 1087
February 24, 1087
{ "text": [ "May, 1095" ] }
39
What is the time 5 year and 1 month after May, 1848
May 07, 1848
{ "text": [ "Jun, 1853" ] }
40
What is the time 4 year and 12 month after Mar, 1284
March 31, 1284
{ "text": [ "Mar, 1289" ] }
41
What is the time 4 year and 8 month after Feb, 1701
February 19, 1701
{ "text": [ "Oct, 1705" ] }
42
What is the time 5 year and 4 month after Dec, 1616
December 13, 1616
{ "text": [ "Apr, 1622" ] }
43
What is the time 9 year and 5 month after Nov, 1726
November 10, 1726
{ "text": [ "Apr, 1736" ] }
44
What is the time 3 year and 7 month after Jun, 1204
June 29, 1204
{ "text": [ "Jan, 1208" ] }
45
What is the time 11 month after May, 1314
May 09, 1314
{ "text": [ "Apr, 1315" ] }
46
What is the time 6 year after Jan, 1209
January 02, 1209
{ "text": [ "Jan, 1215" ] }
47
What is the time 8 year and 2 month after Dec, 1239
December 11, 1239
{ "text": [ "Feb, 1248" ] }
48
What is the time 9 year and 7 month after Feb, 1074
February 24, 1074
{ "text": [ "Sep, 1083" ] }
49
What is the time 9 year and 3 month after Mar, 1435
March 06, 1435
{ "text": [ "Jun, 1444" ] }
50
What is the time 4 year and 9 month after Jul, 1897
July 23, 1897
{ "text": [ "Apr, 1902" ] }
51
What is the time 7 year after Dec, 1282
December 09, 1282
{ "text": [ "Dec, 1289" ] }
52
What is the time 9 year and 1 month after Apr, 1548
April 22, 1548
{ "text": [ "May, 1557" ] }
53
What is the time 10 year and 10 month after Mar, 1414
March 07, 1414
{ "text": [ "Jan, 1425" ] }
54
What is the time 5 year and 10 month after Oct, 1287
October 22, 1287
{ "text": [ "Aug, 1293" ] }
55
What is the time 4 year and 4 month after Mar, 1524
March 14, 1524
{ "text": [ "Jul, 1528" ] }
56
What is the time 4 year and 11 month after Mar, 1780
March 21, 1780
{ "text": [ "Feb, 1785" ] }
57
What is the time 7 year and 5 month after Mar, 1609
March 06, 1609
{ "text": [ "Aug, 1616" ] }
58
What is the time 7 year and 6 month after Dec, 1770
December 14, 1770
{ "text": [ "Jun, 1778" ] }
59
What is the time 1 year and 10 month after Mar, 1820
March 25, 1820
{ "text": [ "Jan, 1822" ] }
60
What is the time 8 year and 6 month after Jun, 1338
June 05, 1338
{ "text": [ "Dec, 1346" ] }
61
What is the time 5 year and 2 month after Nov, 1092
November 09, 1092
{ "text": [ "Jan, 1098" ] }
62
What is the time 5 year and 11 month after Sep, 1626
September 28, 1626
{ "text": [ "Aug, 1632" ] }
63
What is the time 2 year and 7 month after Jan, 1981
January 16, 1981
{ "text": [ "Aug, 1983" ] }
64
What is the time 2 year and 7 month after Jun, 1866
June 28, 1866
{ "text": [ "Jan, 1869" ] }
65
What is the time 10 year and 1 month after Mar, 1564
March 02, 1564
{ "text": [ "Apr, 1574" ] }
66
What is the time 5 year and 1 month after Apr, 1799
April 14, 1799
{ "text": [ "May, 1804" ] }
67
What is the time 1 year and 6 month after Mar, 1560
March 17, 1560
{ "text": [ "Sep, 1561" ] }
68
What is the time 5 year and 8 month after Jul, 1389
July 16, 1389
{ "text": [ "Mar, 1395" ] }
69
What is the time 1 year and 11 month after Dec, 1417
December 14, 1417
{ "text": [ "Nov, 1419" ] }
70
What is the time 10 year and 6 month after Sep, 1052
September 24, 1052
{ "text": [ "Mar, 1063" ] }
71
What is the time 3 year and 8 month after Jan, 1538
January 10, 1538
{ "text": [ "Sep, 1541" ] }
72
What is the time 4 year and 2 month after Dec, 1765
December 13, 1765
{ "text": [ "Feb, 1770" ] }
73
What is the time 9 year and 11 month after Dec, 1743
December 10, 1743
{ "text": [ "Nov, 1753" ] }
74
What is the time 5 year and 7 month after Jun, 1499
June 01, 1499
{ "text": [ "Jan, 1505" ] }
75
What is the time 6 year and 8 month after Mar, 1952
March 25, 1952
{ "text": [ "Nov, 1958" ] }
76
What is the time 6 year and 7 month after Mar, 1614
March 31, 1614
{ "text": [ "Oct, 1620" ] }
77
What is the time 7 year and 6 month after Jun, 1449
June 29, 1449
{ "text": [ "Dec, 1456" ] }
78
What is the time 3 year and 9 month after Jan, 1046
January 24, 1046
{ "text": [ "Oct, 1049" ] }
79
What is the time 11 month after Jan, 1822
January 07, 1822
{ "text": [ "Dec, 1822" ] }
80
What is the time 7 year and 2 month after Jul, 1053
July 16, 1053
{ "text": [ "Sep, 1060" ] }
81
What is the time 1 year and 3 month after Aug, 1991
August 18, 1991
{ "text": [ "Nov, 1992" ] }
82
What is the time 2 year and 12 month after Mar, 1564
March 25, 1564
{ "text": [ "Mar, 1567" ] }
83
What is the time 2 year and 8 month after Sep, 1935
September 23, 1935
{ "text": [ "May, 1938" ] }
84
What is the time 6 year and 9 month after Mar, 1748
March 22, 1748
{ "text": [ "Dec, 1754" ] }
85
What is the time 4 year and 11 month after Jan, 1971
January 12, 1971
{ "text": [ "Dec, 1975" ] }
86
What is the time 10 year and 6 month after Feb, 1469
February 03, 1469
{ "text": [ "Aug, 1479" ] }
87
What is the time 8 year and 12 month after Dec, 1233
December 30, 1233
{ "text": [ "Dec, 1242" ] }
88
What is the time 12 month after Jun, 1425
June 09, 1425
{ "text": [ "Jun, 1426" ] }
89
What is the time 11 month after Nov, 1182
November 24, 1182
{ "text": [ "Oct, 1183" ] }
90
What is the time 6 year and 8 month after Feb, 1453
February 15, 1453
{ "text": [ "Oct, 1459" ] }
91
What is the time 2 year and 2 month after Mar, 1898
March 17, 1898
{ "text": [ "May, 1900" ] }
92
What is the time 5 month after May, 1566
May 12, 1566
{ "text": [ "Oct, 1566" ] }
93
What is the time 5 year and 8 month after Aug, 1472
August 23, 1472
{ "text": [ "Apr, 1478" ] }
94
What is the time 8 year and 10 month after Jan, 1986
January 06, 1986
{ "text": [ "Nov, 1994" ] }
95
What is the time 9 year and 2 month after Oct, 1360
October 28, 1360
{ "text": [ "Dec, 1369" ] }
96
What is the time 3 year and 8 month after Aug, 1749
August 22, 1749
{ "text": [ "Apr, 1753" ] }
97
What is the time 10 year and 5 month after Jan, 1665
January 13, 1665
{ "text": [ "Jun, 1675" ] }
98
What is the time 1 month after Sep, 1238
September 05, 1238
{ "text": [ "Oct, 1238" ] }
99
End of preview.

The TempReason dataset to evaluate the temporal reasoning capability of Large Language Models.

From paper "Towards Benchmarking and Improving the Temporal Reasoning Capability of Large Language Models" in ACL 2023.

Downloads last month
87

Models trained or fine-tuned on tonytan48/TempReason