Dataset Preview
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 4 new columns ({'document_tokens', 'question_tokens', 'document_html', 'document_title'}) and 1 missing columns ({'document_text'}).
This happened while the json dataset builder was generating data using
gzip://nq-dev-all.jsonl::hf://datasets/vingtetun/natural-questions@901102c8b34f59c196c540bf3c6ffe6db8ada6b7/data/nq-dev-all.jsonl.gz, ['hf://datasets/vingtetun/natural-questions@901102c8b34f59c196c540bf3c6ffe6db8ada6b7/data/nq-dev-all.jsonl.gz', 'hf://datasets/vingtetun/natural-questions@901102c8b34f59c196c540bf3c6ffe6db8ada6b7/data/simplified-nq-dev.jsonl.gz']
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 "/usr/local/lib/python3.12/site-packages/datasets/builder.py", line 1887, in _prepare_split_single
writer.write_table(table)
File "/usr/local/lib/python3.12/site-packages/datasets/arrow_writer.py", line 675, in write_table
pa_table = table_cast(pa_table, self._schema)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.12/site-packages/datasets/table.py", line 2272, in table_cast
return cast_table_to_schema(table, schema)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.12/site-packages/datasets/table.py", line 2218, in cast_table_to_schema
raise CastError(
datasets.table.CastError: Couldn't cast
annotations: list<item: struct<annotation_id: double, long_answer: struct<candidate_index: int64, end_byte: int64 (... 192 chars omitted)
child 0, item: struct<annotation_id: double, long_answer: struct<candidate_index: int64, end_byte: int64, end_token (... 180 chars omitted)
child 0, annotation_id: double
child 1, long_answer: struct<candidate_index: int64, end_byte: int64, end_token: int64, start_byte: int64, start_token: in (... 4 chars omitted)
child 0, candidate_index: int64
child 1, end_byte: int64
child 2, end_token: int64
child 3, start_byte: int64
child 4, start_token: int64
child 2, short_answers: list<item: struct<end_byte: int64, end_token: int64, start_byte: int64, start_token: int64>>
child 0, item: struct<end_byte: int64, end_token: int64, start_byte: int64, start_token: int64>
child 0, end_byte: int64
child 1, end_token: int64
child 2, start_byte: int64
child 3, start_token: int64
child 3, yes_no_answer: string
document_html: string
document_title: string
document_tokens: list<item: struct<end_byte: int64, html_token: bool, start_byte: int64, token: string>>
child 0, item: struct<end_byte: int64, html_token: bool, start_byte: int64, token: string>
child 0, end_byte: int64
child 1, html_token: bool
child 2, start_byte: int64
child 3, token: string
document_url: string
example_id: int64
long_answer_candidates: list<item: struct<end_byte: int64, end_token: int64, start_byte: int64, start_token: int64, top_leve (... 9 chars omitted)
child 0, item: struct<end_byte: int64, end_token: int64, start_byte: int64, start_token: int64, top_level: bool>
child 0, end_byte: int64
child 1, end_token: int64
child 2, start_byte: int64
child 3, start_token: int64
child 4, top_level: bool
question_text: string
question_tokens: list<item: string>
child 0, item: string
to
{'document_text': Value('string'), 'long_answer_candidates': List({'start_token': Value('int64'), 'top_level': Value('bool'), 'end_token': Value('int64')}), 'question_text': Value('string'), 'annotations': List({'yes_no_answer': Value('string'), 'long_answer': {'start_token': Value('int64'), 'candidate_index': Value('int64'), 'end_token': Value('int64')}, 'short_answers': List({'start_token': Value('int64'), 'end_token': Value('int64')}), 'annotation_id': Value('float64')}), 'document_url': Value('string'), 'example_id': 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 1342, 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 1736, 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 1889, 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 4 new columns ({'document_tokens', 'question_tokens', 'document_html', 'document_title'}) and 1 missing columns ({'document_text'}).
This happened while the json dataset builder was generating data using
gzip://nq-dev-all.jsonl::hf://datasets/vingtetun/natural-questions@901102c8b34f59c196c540bf3c6ffe6db8ada6b7/data/nq-dev-all.jsonl.gz, ['hf://datasets/vingtetun/natural-questions@901102c8b34f59c196c540bf3c6ffe6db8ada6b7/data/nq-dev-all.jsonl.gz', 'hf://datasets/vingtetun/natural-questions@901102c8b34f59c196c540bf3c6ffe6db8ada6b7/data/simplified-nq-dev.jsonl.gz']
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.
document_text string | long_answer_candidates list | question_text string | annotations list | document_url string | example_id int64 |
|---|---|---|---|---|---|
Email marketing - Wikipedia <H1> Email marketing </H1> Jump to : navigation , search <Table> <Tr> <Td> </Td> <Td> ( hide ) This article has multiple issues . Please help improve it or discuss these issues on the talk page . ( Learn how and when to remove these template messages ) <Table> <Tr> <Td> </Td> <Td> This artic... | [
{
"start_token": 14,
"top_level": true,
"end_token": 170
},
{
"start_token": 15,
"top_level": false,
"end_token": 169
},
{
"start_token": 52,
"top_level": false,
"end_token": 103
},
{
"start_token": 53,
"top_level": false,
"end_token": 102
},
{
"st... | which is the most common use of opt-in e-mail marketing | [
{
"yes_no_answer": "NONE",
"long_answer": {
"start_token": 1952,
"candidate_index": 54,
"end_token": 2019
},
"short_answers": [
{
"start_token": 1960,
"end_token": 1969
}
],
"annotation_id": 593165450220027600
}
] | https://en.wikipedia.org//w/index.php?title=Email_marketing&oldid=814071202 | 5,655,493,461,695,504,000 |
The Mother ( How I Met Your Mother ) - wikipedia <H1> The Mother ( How I Met Your Mother ) </H1> Jump to : navigation , search <Table> <Tr> <Th_colspan="2"> Tracy McConnell </Th> </Tr> <Tr> <Td_colspan="2"> How I Met Your Mother character </Td> </Tr> <Tr> <Td_colspan="2"> The Mother appearing in `` The Locket '' </Td> ... | [
{
"start_token": 28,
"top_level": true,
"end_token": 212
},
{
"start_token": 29,
"top_level": false,
"end_token": 35
},
{
"start_token": 35,
"top_level": false,
"end_token": 45
},
{
"start_token": 45,
"top_level": false,
"end_token": 57
},
{
"start... | how i.met your mother who is the mother | [
{
"yes_no_answer": "NONE",
"long_answer": {
"start_token": 212,
"candidate_index": 15,
"end_token": 310
},
"short_answers": [
{
"start_token": 213,
"end_token": 215
}
],
"annotation_id": 12034874153783788000
}
] | https://en.wikipedia.org//w/index.php?title=The_Mother_(How_I_Met_Your_Mother)&oldid=802354471 | 5,328,212,470,870,865,000 |
Human fertilization - wikipedia <H1> Human fertilization </H1> Jump to : navigation , search <Table> <Tr> <Td> Part of a series on </Td> </Tr> <Tr> <Th> Human growth and development </Th> </Tr> <Tr> <Td> </Td> </Tr> <Tr> <Th> Stages </Th> </Tr> <Tr> <Td> <Ul> <Li> Human embryogenesis </Li> <Li> Fetus </Li> <Li> Infant ... | [
{
"start_token": 14,
"top_level": true,
"end_token": 225
},
{
"start_token": 15,
"top_level": false,
"end_token": 24
},
{
"start_token": 24,
"top_level": false,
"end_token": 32
},
{
"start_token": 36,
"top_level": false,
"end_token": 41
},
{
"start... | what type of fertilisation takes place in humans | [
{
"yes_no_answer": "NONE",
"long_answer": {
"start_token": 319,
"candidate_index": 24,
"end_token": 438
},
"short_answers": [],
"annotation_id": 10527123009892725000
}
] | https://en.wikipedia.org//w/index.php?title=Human_fertilization&oldid=831042507 | 4,435,104,480,114,867,700 |
List of National Football League career quarterback wins leaders - wikipedia <H1> List of National Football League career quarterback wins leaders </H1> Jump to : navigation , search <Table> <Tr> <Th> NFL lists </Th> </Tr> <Tr> <Td> Current season ( show ) <Ul> <Li> 2017 season </Li> </Ul> </Td> </Tr> <Tr> <Td> Quarter... | [
{
"start_token": 28,
"top_level": true,
"end_token": 469
},
{
"start_token": 29,
"top_level": false,
"end_token": 35
},
{
"start_token": 35,
"top_level": false,
"end_token": 50
},
{
"start_token": 42,
"top_level": false,
"end_token": 48
},
{
"start... | who had the most wins in the nfl | [
{
"yes_no_answer": "NONE",
"long_answer": {
"start_token": 509,
"candidate_index": 59,
"end_token": 576
},
"short_answers": [
{
"start_token": 512,
"end_token": 514
}
],
"annotation_id": 14634796365152557000
}
] | https://en.wikipedia.org//w/index.php?title=List_of_National_Football_League_career_quarterback_wins_leaders&oldid=818143757 | 5,289,242,154,789,678,000 |
"Roanoke Colony - wikipedia <H1> Roanoke Colony </H1> Jump to : navigation , search `` Lost Colony '(...TRUNCATED) | [{"start_token":32,"top_level":true,"end_token":88},{"start_token":33,"top_level":false,"end_token":(...TRUNCATED) | what happened to the lost settlement of roanoke | [{"yes_no_answer":"NONE","long_answer":{"start_token":-1,"candidate_index":-1,"end_token":-1},"short(...TRUNCATED) | https://en.wikipedia.org//w/index.php?title=Roanoke_Colony&oldid=843591647 | 5,489,863,933,082,811,000 |
"List of regions of Africa - wikipedia <H1> List of regions of Africa </H1> <Table> <Tr> <Td> </Td> (...TRUNCATED) | [{"start_token":14,"top_level":true,"end_token":65},{"start_token":15,"top_level":false,"end_token":(...TRUNCATED) | what are the different regions of africa and how do they differ | [{"yes_no_answer":"NONE","long_answer":{"start_token":-1,"candidate_index":-1,"end_token":-1},"short(...TRUNCATED) | https://en.wikipedia.org//w/index.php?title=List_of_regions_of_Africa&oldid=846015670 | 3,411,244,446,249,505,000 |
"Pom Klementieff - wikipedia <H1> Pom Klementieff </H1> Jump to : navigation , search <Table> <Tr> <(...TRUNCATED) | [{"start_token":14,"top_level":true,"end_token":82},{"start_token":15,"top_level":false,"end_token":(...TRUNCATED) | who played mantis guardians of the galaxy 2 | [{"yes_no_answer":"NONE","long_answer":{"start_token":82,"candidate_index":7,"end_token":169},"short(...TRUNCATED) | https://en.wikipedia.org//w/index.php?title=Pom_Klementieff&oldid=829523540 | -2,500,044,561,429,484,500 |
"Frosty the Snowman ( film ) - wikipedia <H1> Frosty the Snowman ( film ) </H1> Jump to : navigation(...TRUNCATED) | [{"start_token":22,"top_level":true,"end_token":73},{"start_token":23,"top_level":false,"end_token":(...TRUNCATED) | who did the voice of the magician in frosty the snowman | [{"yes_no_answer":"NONE","long_answer":{"start_token":-1,"candidate_index":-1,"end_token":-1},"short(...TRUNCATED) | https://en.wikipedia.org//w/index.php?title=Frosty_the_Snowman_(film)&oldid=826437974 | 5,611,750,702,541,347,000 |
"History of the Acadians - wikipedia <H1> History of the Acadians </H1> Not to be confused with Hist(...TRUNCATED) | [{"start_token":23,"top_level":true,"end_token":96},{"start_token":96,"top_level":true,"end_token":2(...TRUNCATED) | what indian tribe did the acadians form friendships and alliances with | [{"yes_no_answer":"NONE","long_answer":{"start_token":562,"candidate_index":3,"end_token":695},"shor(...TRUNCATED) | https://en.wikipedia.org//w/index.php?title=History_of_the_Acadians&oldid=844900571 | 4,958,098,854,057,393,000 |
"Outer Banks - wikipedia <H1> Outer Banks </H1> Jump to : navigation , search The Outer Banks , sepa(...TRUNCATED) | [{"start_token":59,"top_level":true,"end_token":128},{"start_token":128,"top_level":true,"end_token"(...TRUNCATED) | what is considered the outer banks in north carolina | [{"yes_no_answer":"NONE","long_answer":{"start_token":-1,"candidate_index":-1,"end_token":-1},"short(...TRUNCATED) | https://en.wikipedia.org//w/index.php?title=Outer_Banks&oldid=843381612 | 8,796,576,945,844,451,000 |
End of preview.
No dataset card yet
- Downloads last month
- 343