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 5 new columns ({'permutation_2', 'descending_order', 'permutation_3', 'docs_added', 'permutation_1'}) and 9 missing columns ({'answer_aliases', 'answer', 'answerable', 'question', 'paragraphs', 'p2d_id', 'question_decomposition', 'diameter', '#_support_docs'}).
This happened while the json dataset builder was generating data using
hf://datasets/Graph-COM/HaystackCraft/data/bm25/128000.jsonl (at revision aa9f8dfe59b82ca632166621bed86434e9ea997b)
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 1831, in _prepare_split_single
writer.write_table(table)
File "/src/services/worker/.venv/lib/python3.9/site-packages/datasets/arrow_writer.py", line 644, 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 2272, in table_cast
return cast_table_to_schema(table, schema)
File "/src/services/worker/.venv/lib/python3.9/site-packages/datasets/table.py", line 2218, in cast_table_to_schema
raise CastError(
datasets.table.CastError: Couldn't cast
id: string
docs_added: struct<570934: string, 1946572: string, 50585: string, 42295470: string, 46209897: string, 63755984: string, 7313457: string, 15523846: string, 31871133: string, 8624187: string, 16886185: string, 24503548: string, 56729261: string, 25479757: string, 8050967: string, 33873596: string, 48667609: string, 60715020: string, 2052512: string, 8727347: string, 19088788: string, 40681638: string, 4242653: string, 468374: string, 10393224: string, 3008377: string, 540802: string, 39210154: string, 285659: string, 52271397: string, 77456377: string, 882152: string, 5992961: string, 3060242: string, 29629383: string, 54140962: string, 106833: string, 73476943: string, 491454: string, 4444074: string, 667941: string, 72796666: string, 55330407: string, 6866348: string, 105236: string, 50675169: string, 2365896: string, 8429996: string, 150184: string, 25507: string, 30570: string, 27928643: string, 22772796: string, 4746031: string, 13277: string, 2287985: string, 62229: string, 47882071: string, 23324680: string, 10902: string, 14627: string, 19694: string, 1784313: string, 11694610: string, 1559901: string, 2748665: string, 19349420: string, 29544: string, 2639335: string, 17553: string, 21869: string, 52713: string, 22498: string, 50650: string, 7290120: string, 27945430: string, 34273: string, 53825: string, 96908: string, 73232240: string, 4894504: string, 16550097: string, 50737859: string, 26418867: string, 50415978: string, 2123156: string, 38567: string, 2
...
d 546, 41192979: string
child 547, 41193224: string
child 548, 41193220: string
child 549, 80898: string
child 550, 67416728: string
child 551, 75087290: string
child 552, 37064359: string
child 553, 40794648: string
child 554, 40504832: string
child 555, 41874673: string
child 556, 1477592: string
child 557, 73588: string
child 558, 166408: string
child 559, 68856: string
child 560, 67974889: string
child 561, 156653: string
child 562, 448234: string
child 563, 68459869: string
child 564, 661551: string
child 565, 366845: string
child 566, 413754: string
child 567, 58052819: string
child 568, 3828109: string
child 569, 53885684: string
child 570, 152333: string
child 571, 43797225: string
child 572, 18879717: string
child 573, 75036214: string
child 574, 388025: string
child 575, 58433589: string
child 576, 3428757: string
child 577, 493500: string
child 578, 78152535: string
child 579, 5043557: string
child 580, 202698: string
child 581, 355589: string
child 582, 85887: string
child 583, 83900: string
child 584, 70130240: string
child 585, 26889: string
child 586, 319775: string
child 587, 3318388: string
child 588, 40825769: string
child 589, 4171283: string
descending_order: list<item: string>
child 0, item: string
permutation_1: list<item: string>
child 0, item: string
permutation_2: list<item: string>
child 0, item: string
permutation_3: list<item: string>
child 0, item: string
to
{'id': Value('string'), 'paragraphs': List({'idx': Value('int64'), 'title': Value('string'), 'paragraph_text': Value('string'), 'is_supporting': Value('bool')}), 'question': Value('string'), 'question_decomposition': List({'id': Value('int64'), 'question': Value('string'), 'answer': Value('string'), 'paragraph_support_idx': Value('int64'), 'support_sentence': List(Value('string'))}), 'answer': Value('string'), 'answer_aliases': List(Value('string')), 'answerable': Value('bool'), 'p2d_id': {'8': Value('string'), '12': Value('string'), '9': Value('string'), '10': Value('string'), '1': Value('string'), '15': Value('string'), '17': Value('string'), '0': Value('string'), '3': Value('string'), '14': Value('string'), '7': Value('string'), '4': Value('string'), '6': Value('string'), '13': Value('string'), '16': Value('string'), '19': Value('string'), '11': Value('string'), '2': Value('string'), '18': Value('string'), '5': Value('string')}, '#_support_docs': Value('int64'), 'diameter': Value('int64')}
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 1451, 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 994, in stream_convert_to_parquet
builder._prepare_split(
File "/src/services/worker/.venv/lib/python3.9/site-packages/datasets/builder.py", line 1702, 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 1833, 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 5 new columns ({'permutation_2', 'descending_order', 'permutation_3', 'docs_added', 'permutation_1'}) and 9 missing columns ({'answer_aliases', 'answer', 'answerable', 'question', 'paragraphs', 'p2d_id', 'question_decomposition', 'diameter', '#_support_docs'}).
This happened while the json dataset builder was generating data using
hf://datasets/Graph-COM/HaystackCraft/data/bm25/128000.jsonl (at revision aa9f8dfe59b82ca632166621bed86434e9ea997b)
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.
id string | paragraphs list | question string | question_decomposition list | answer string | answer_aliases list | answerable bool | p2d_id dict | #_support_docs int64 | diameter int64 |
|---|---|---|---|---|---|---|---|---|---|
2hop__157766_22384 | [
{
"idx": 0,
"title": "Netherlands",
"paragraph_text": "The Netherlands has a developed economy and has been playing a special role in the European economy for many centuries. Since the 16th century, shipping, fishing, agriculture, trade, and banking have been leading sectors of the Dutch economy. The Ne... | How did the Union that worked closely with FAO to combat the Global Food Crisis rank Switzerland's economy? | [
{
"id": 157766,
"question": "Which Union worked closely with FAO to combat the Global Food Crisis?",
"answer": "European Union",
"paragraph_support_idx": 13,
"support_sentence": [
"In May 2009, FAO and the European Union signed an initial aid package worth €125 million to support small far... | Europe's most innovative country | [
"Europe"
] | true | {
"0": null,
"1": null,
"2": null,
"3": null,
"4": null,
"5": null,
"6": null,
"7": null,
"8": "26748",
"9": null,
"10": null,
"11": null,
"12": null,
"13": "11107",
"14": null,
"15": null,
"16": null,
"17": null,
"18": null,
"19": null
} | 2 | 1 |
3hop1__625370_367503_126099 | [
{
"idx": 0,
"title": "Symphony No. 34 (Michael Haydn)",
"paragraph_text": "Michael Haydn's Symphony No. 34 in E-flat major, Perger 26, Sherman 34, MH 473, written in Salzburg in 1788, is the last E-flat major symphony he wrote, the first of his final set of six symphonies.",
"is_supporting": false
... | Who was in charge of the country where the Symphony No. 1 in E major composer was a citizen? | [
{
"id": 625370,
"question": "Symphony No. 1 in E major >> composer",
"answer": "Alexander Glazunov",
"paragraph_support_idx": 16,
"support_sentence": [
"Alexander Glazunov wrote his Symphony No. 1 in E major, Op. 5, in 1881, when he was 16 years old. It was premiered the following year in ... | Boris Yeltsin | [] | true | {
"0": null,
"1": null,
"2": null,
"3": null,
"4": null,
"5": null,
"6": null,
"7": null,
"8": null,
"9": null,
"10": "20896854",
"11": null,
"12": null,
"13": null,
"14": null,
"15": null,
"16": "18427784",
"17": null,
"18": null,
"19": "25391"
} | 3 | 2 |
3hop1__397785_35178_686699 | [
{
"idx": 0,
"title": "Bogotá",
"paragraph_text": "Bogotá (/ ˈboʊɡətɑː /, / ˌbɒɡəˈtɑː /, / ˌboʊ - /; Spanish pronunciation: (boɣoˈta) (listen)), officially Bogotá, Distrito Capital, abbreviated Bogotá, D.C., and formerly known as Santafé de Bogotá between 1991 and 2000, is the capital and largest city of... | Qaleh Now-e Khaleseh, in the capital of the country Meydan Mosque is located, is part of what district? | [
{
"id": 397785,
"question": "Meydan mosque >> country",
"answer": "Iran",
"paragraph_support_idx": 15,
"support_sentence": [
"The Meydan Mosque () is a historical mosque in Kashan, Iran. It is located in the southern side of the \"Sang-e Ghadimi square\" and beside the Bazaar of Kashan. It... | Qaleh Now Rural District | [] | true | {
"0": null,
"1": "14653",
"2": null,
"3": null,
"4": null,
"5": null,
"6": null,
"7": null,
"8": null,
"9": null,
"10": null,
"11": null,
"12": null,
"13": "35522057",
"14": null,
"15": "43077563",
"16": null,
"17": null,
"18": null,
"19": null
} | 3 | 2 |
4hop1__166346_9522_41885_856982 | [
{
"idx": 0,
"title": "Margraviate of Austria",
"paragraph_text": "The Margraviate of Austria was a southeastern frontier march of the Holy Roman Empire created in 976 out of the territory on the border with the Principality of Hungary. Originally under the overlordship of the Dukes of Bavaria, it was ru... | Margraviate of the country having Lake Constance besides Germany and the country having Wengen and the birth village of Fränzi Aufdenblatten is an instance of what? | [
{
"id": 166346,
"question": "Fränzi Aufdenblatten >> place of birth",
"answer": "Zermatt",
"paragraph_support_idx": 14,
"support_sentence": [
"Born in Zermatt, Valais, Aufdenblatten made her World Cup debut in March 2000 in a giant slalom at Sestriere. She scored four podium finishes on th... | march | [
"Mar",
"March"
] | true | {
"0": "11421146",
"1": null,
"2": null,
"3": null,
"4": null,
"5": null,
"6": null,
"7": null,
"8": null,
"9": "25845",
"10": null,
"11": null,
"12": null,
"13": null,
"14": "4035865",
"15": null,
"16": null,
"17": "981",
"18": null,
"19": null
} | 4 | null |
2hop__193086_159106 | [
{
"idx": 0,
"title": "Geomagnetic reversal",
"paragraph_text": "The time spans of chrons are randomly distributed with most being between 0.1 and 1 million years with an average of 450,000 years. Most reversals are estimated to take between 1,000 and 10,000 years. The latest one, the Brunhes -- Matuyama... | In what year did the unification of the country where Stadthuys is located happen? | [
{
"id": 193086,
"question": "Stadthuys >> country",
"answer": "Malaysia",
"paragraph_support_idx": 11,
"support_sentence": [
"The Stadthuys (an old Dutch spelling, meaning city hall) is a historical structure situated in the heart of Malacca City, the administrative capital of the state of... | 1963 | [] | true | {
"0": null,
"1": null,
"2": null,
"3": null,
"4": null,
"5": null,
"6": "3607937",
"7": null,
"8": null,
"9": null,
"10": null,
"11": "20132029",
"12": null,
"13": null,
"14": null,
"15": null,
"16": null,
"17": null,
"18": null,
"19": null
} | 2 | 1 |
2hop__20961_85304 | [
{
"idx": 0,
"title": "Law of the United States",
"paragraph_text": "Federal law originates with the Constitution, which gives Congress the power to enact statutes for certain limited purposes like regulating interstate commerce. The United States Code is the official compilation and codification of the ... | Which article of the document giving Congress limited power to enact statutes states it is the supreme law of the land? | [
{
"id": 20961,
"question": "What gives Congress limited power to enact statutes?",
"answer": "the Constitution",
"paragraph_support_idx": 0,
"support_sentence": [
"Federal law originates with the Constitution, which gives Congress the power to enact statutes for certain limited purposes li... | Article VI, Clause 2 | [] | true | {
"0": "27552742",
"1": null,
"2": null,
"3": null,
"4": null,
"5": null,
"6": null,
"7": null,
"8": null,
"9": null,
"10": null,
"11": null,
"12": "33730953",
"13": null,
"14": null,
"15": null,
"16": null,
"17": null,
"18": null,
"19": null
} | 2 | 1 |
2hop__132710_120035 | [
{
"idx": 0,
"title": "Hudson Motor Car Company",
"paragraph_text": "The Hudson Motor Car Company made Hudson and other brand automobiles in Detroit, Michigan, from 1909 to 1954. In 1954, Hudson merged with Nash-Kelvinator to form American Motors Corporation (AMC). The Hudson name was continued through t... | What year was the end of the producer of the Hudson Wasp? | [
{
"id": 132710,
"question": "The Hudson Wasp was produced by whom?",
"answer": "Hudson Motor Car Company",
"paragraph_support_idx": 2,
"support_sentence": [
"The Hudson Wasp is an automobile built and marketed by the Hudson Motor Car Company of Detroit, Michigan, from the 1952 through the ... | 1954 | [] | true | {
"0": "364596",
"1": null,
"2": "4466614",
"3": null,
"4": null,
"5": null,
"6": null,
"7": null,
"8": null,
"9": null,
"10": null,
"11": null,
"12": null,
"13": null,
"14": null,
"15": null,
"16": null,
"17": null,
"18": null,
"19": null
} | 2 | 1 |
3hop1__32903_103178_91941 | [
{
"idx": 0,
"title": "Bacteria",
"paragraph_text": "In most bacteria, a cell wall is present on the outside of the cell membrane. The cell membrane and cell wall comprise the cell envelope. A common bacterial cell wall material is peptidoglycan (called \"murein\" in older sources), which is made from po... | Where does the Great Wall end, in the country where the man who described the process of evaporation once lived? | [
{
"id": 32903,
"question": "Who was able to describe the process of evaporation?",
"answer": "Wang Chong",
"paragraph_support_idx": 16,
"support_sentence": [
"Han dynasty astronomers made star catalogues and detailed records of comets that appeared in the night sky, including recording the... | Lop Lake in the west | [] | true | {
"0": null,
"1": null,
"2": null,
"3": null,
"4": null,
"5": null,
"6": null,
"7": null,
"8": null,
"9": null,
"10": null,
"11": null,
"12": null,
"13": null,
"14": null,
"15": null,
"16": "43460",
"17": "5094570",
"18": "1505285",
"19": null
} | 3 | 2 |
4hop1__32903_103178_77757_384713 | [
{
"idx": 0,
"title": "Celluloid",
"paragraph_text": "The first celluloid as a bulk material for forming objects was made in 1855 in Birmingham, England, by Alexander Parkes, who was never able to see his invention reach full fruition, after his firm went bankrupt due to scale - up costs. Parkes patented... | Who was spouse of the person who defeated the last Song emperor of the country the person who was able to describe the process of evaporation was in? | [
{
"id": 32903,
"question": "Who was able to describe the process of evaporation?",
"answer": "Wang Chong",
"paragraph_support_idx": 19,
"support_sentence": [
"Han dynasty astronomers made star catalogues and detailed records of comets that appeared in the night sky, including recording the... | Chabi | [] | true | {
"0": null,
"1": null,
"2": null,
"3": null,
"4": null,
"5": "24967743",
"6": null,
"7": null,
"8": null,
"9": "1505285",
"10": null,
"11": null,
"12": null,
"13": null,
"14": "56978",
"15": null,
"16": null,
"17": null,
"18": null,
"19": "43460"
} | 4 | null |
3hop1__119402_102039_158266 | [
{
"idx": 0,
"title": "Terry Lovejoy",
"paragraph_text": "Terry Lovejoy (born 20 November 1966) is an information technologist from Thornlands, Queensland, Australia, most widely known as an amateur astronomer. He has discovered six comets, including C/2011 W3 (Lovejoy), the first Kreutz Sungrazing comet... | What is the leading ballet company in the country where the discoverer of C/2014 Q2 (Lovejoy) is a citizen? | [
{
"id": 119402,
"question": "Who found C/2014 Q2 (Lovejoy)?",
"answer": "Terry Lovejoy",
"paragraph_support_idx": 4,
"support_sentence": [
"C/2014 Q2 (Lovejoy) is a non-periodic comet discovered on 17 August 2014 by Terry Lovejoy using a Schmidt–Cassegrain telescope. It was discovered as a... | The Australian Ballet | [] | true | {
"0": "10811164",
"1": null,
"2": null,
"3": null,
"4": "43825857",
"5": null,
"6": null,
"7": null,
"8": null,
"9": null,
"10": null,
"11": null,
"12": null,
"13": null,
"14": null,
"15": "4689264",
"16": null,
"17": null,
"18": null,
"19": null
} | 3 | 2 |
2hop__501254_21587 | [
{
"idx": 0,
"title": "Zingerman's",
"paragraph_text": "Zingerman's, or Zingerman's Community of Businesses, is a gourmet food business group headquartered in Ann Arbor, Michigan, USA. The original business and current flagship operation is Zingerman's Delicatessen.",
"is_supporting": true
},
{
... | When was the city where Zingerman's is headquartered founded? | [
{
"id": 501254,
"question": "Zingerman's >> headquarters location",
"answer": "Ann Arbor",
"paragraph_support_idx": 0,
"support_sentence": [
"Zingerman's, or Zingerman's Community of Businesses, is a gourmet food business group headquartered in Ann Arbor, Michigan. The original business an... | 1824 | [] | true | {
"0": "3330354",
"1": null,
"2": null,
"3": null,
"4": null,
"5": null,
"6": null,
"7": null,
"8": null,
"9": null,
"10": null,
"11": null,
"12": null,
"13": null,
"14": null,
"15": null,
"16": null,
"17": null,
"18": null,
"19": "2067"
} | 2 | 1 |
nq_-8768447023333946855 | null | when did north vietnam unify with the south | null | 2 July 1976 | [] | true | {
"0": "202354",
"1": null,
"2": null,
"3": null,
"4": null,
"5": null,
"6": null,
"7": null,
"8": null,
"9": null,
"10": null,
"11": null,
"12": null,
"13": null,
"14": null,
"15": null,
"16": null,
"17": null,
"18": null,
"19": null
} | 1 | 0 |
nq_-7872371234829639950 | null | what year saw the formation of the brazilian republic | null | 1889 | [] | true | {
"0": "292416",
"1": null,
"2": null,
"3": null,
"4": null,
"5": null,
"6": null,
"7": null,
"8": null,
"9": null,
"10": null,
"11": null,
"12": null,
"13": null,
"14": null,
"15": null,
"16": null,
"17": null,
"18": null,
"19": null
} | 1 | 0 |
2hop__10833_26501 | [
{
"idx": 0,
"title": "Middle Ages",
"paragraph_text": "Religious beliefs in the Eastern Empire and Iran were in flux during the late sixth and early seventh centuries. Judaism was an active proselytising faith, and at least one Arab political leader converted to it. Christianity had active missions comp... | In what time period was the Muslim conquest of the region where the Arab slave trade occurred? | [
{
"id": 10833,
"question": "Where was the Arab Slave Trade?",
"answer": "North Africa",
"paragraph_support_idx": 13,
"support_sentence": [
"Due to the patriarchal nature of Arab society, Arab men, including during the slave trade in North Africa, enslaved more African women than men. The f... | mid-7th to early 8th centuries | [
"8th century"
] | true | {
"0": null,
"1": null,
"2": null,
"3": null,
"4": null,
"5": null,
"6": null,
"7": "325363",
"8": null,
"9": null,
"10": null,
"11": null,
"12": null,
"13": "4745",
"14": null,
"15": null,
"16": null,
"17": null,
"18": null,
"19": null
} | 2 | 1 |
3hop1__102694_35178_686699 | [
{
"idx": 0,
"title": "Vilnius County",
"paragraph_text": "Vilnius County () is the largest of the 10 counties of Lithuania, located in the east of the country around the city Vilnius. On 1 July 2010, the county administration was abolished, and since that date, Vilnius County remains as the territorial ... | Qaleh Now-e Khaleseh in the the capital of the country Javad Hardani is from is located in what district? | [
{
"id": 102694,
"question": "What country is Javad Hardani from?",
"answer": "Iran",
"paragraph_support_idx": 12,
"support_sentence": [
"Javad Hardani (born 22 March 1984) is a Paralympic athlete from Iran. He competes in throwing events, and is classified F38, a class for athletes with ce... | Qaleh Now Rural District | [] | true | {
"0": null,
"1": null,
"2": null,
"3": null,
"4": null,
"5": null,
"6": null,
"7": null,
"8": "14653",
"9": null,
"10": null,
"11": null,
"12": "32820034",
"13": "35522057",
"14": null,
"15": null,
"16": null,
"17": null,
"18": null,
"19": null
} | 3 | 2 |
End of preview.