Dataset Preview
Viewer
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 6 new columns ({'annotations', 'document_url', 'document_text', 'example_id', 'question_text', 'long_answer_candidates'}) and 2 missing columns ({'data', 'version'}).

This happened while the json dataset builder was generating data using

hf://datasets/YuWangX/KnowledgeRetention/nq/v1.0-simplified_simplified-nq-train.jsonl (at revision c609067a4b7464dc4bf949cbb31996e47dd9be5a)

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
              document_text: string
              long_answer_candidates: list<item: struct<start_token: int64, top_level: bool, end_token: int64>>
                child 0, item: struct<start_token: int64, top_level: bool, end_token: int64>
                    child 0, start_token: int64
                    child 1, top_level: bool
                    child 2, end_token: int64
              question_text: string
              annotations: list<item: struct<yes_no_answer: string, long_answer: struct<start_token: int64, candidate_index: int64, end_token: int64>, short_answers: list<item: struct<start_token: int64, end_token: int64>>, annotation_id: double>>
                child 0, item: struct<yes_no_answer: string, long_answer: struct<start_token: int64, candidate_index: int64, end_token: int64>, short_answers: list<item: struct<start_token: int64, end_token: int64>>, annotation_id: double>
                    child 0, yes_no_answer: string
                    child 1, long_answer: struct<start_token: int64, candidate_index: int64, end_token: int64>
                        child 0, start_token: int64
                        child 1, candidate_index: int64
                        child 2, end_token: int64
                    child 2, short_answers: list<item: struct<start_token: int64, end_token: int64>>
                        child 0, item: struct<start_token: int64, end_token: int64>
                            child 0, start_token: int64
                            child 1, end_token: int64
                    child 3, annotation_id: double
              document_url: string
              example_id: int64
              to
              {'version': Value(dtype='string', id=None), 'data': [{'title': Value(dtype='string', id=None), 'paragraphs': [{'qas': [{'question': Value(dtype='string', id=None), 'id': Value(dtype='string', id=None), 'answers': [{'text': Value(dtype='string', id=None), 'answer_start': Value(dtype='int64', id=None)}], 'is_impossible': Value(dtype='bool', id=None), 'plausible_answers': [{'text': Value(dtype='string', id=None), 'answer_start': Value(dtype='int64', 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 1572, 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 1136, in stream_convert_to_parquet
                  builder._prepare_split(
                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 6 new columns ({'annotations', 'document_url', 'document_text', 'example_id', 'question_text', 'long_answer_candidates'}) and 2 missing columns ({'data', 'version'}).
              
              This happened while the json dataset builder was generating data using
              
              hf://datasets/YuWangX/KnowledgeRetention/nq/v1.0-simplified_simplified-nq-train.jsonl (at revision c609067a4b7464dc4bf949cbb31996e47dd9be5a)
              
              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? Open a discussion for direct support.

version
string
data
list
document_text
string
long_answer_candidates
list
question_text
string
annotations
list
document_url
string
example_id
int64
v2.0
[{"title":"Beyoncé","paragraphs":[{"qas":[{"question":"When did Beyonce start becoming popular?","i(...TRUNCATED)
null
null
null
null
null
null
null
null
"Email marketing - Wikipedia <H1> Email marketing </H1> Jump to : navigation , search <Table> <Tr> <(...TRUNCATED)
[{"start_token":14,"top_level":true,"end_token":170},{"start_token":15,"top_level":false,"end_token"(...TRUNCATED)
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},"s(...TRUNCATED)
https://en.wikipedia.org//w/index.php?title=Email_marketing&amp;oldid=814071202
5,655,493,461,695,504,000
null
null
"The Mother ( How I Met Your Mother ) - wikipedia <H1> The Mother ( How I Met Your Mother ) </H1> Ju(...TRUNCATED)
[{"start_token":28,"top_level":true,"end_token":212},{"start_token":29,"top_level":false,"end_token"(...TRUNCATED)
how i.met your mother who is the mother
[{"yes_no_answer":"NONE","long_answer":{"start_token":212,"candidate_index":15,"end_token":310},"sho(...TRUNCATED)
https://en.wikipedia.org//w/index.php?title=The_Mother_(How_I_Met_Your_Mother)&amp;oldid=802354471
5,328,212,470,870,865,000
null
null
"Human fertilization - wikipedia <H1> Human fertilization </H1> Jump to : navigation , search <Table(...TRUNCATED)
[{"start_token":14,"top_level":true,"end_token":225},{"start_token":15,"top_level":false,"end_token"(...TRUNCATED)
what type of fertilisation takes place in humans
[{"yes_no_answer":"NONE","long_answer":{"start_token":319,"candidate_index":24,"end_token":438},"sho(...TRUNCATED)
https://en.wikipedia.org//w/index.php?title=Human_fertilization&amp;oldid=831042507
4,435,104,480,114,867,700
null
null
"List of National Football League career quarterback wins leaders - wikipedia <H1> List of National (...TRUNCATED)
[{"start_token":28,"top_level":true,"end_token":469},{"start_token":29,"top_level":false,"end_token"(...TRUNCATED)
who had the most wins in the nfl
[{"yes_no_answer":"NONE","long_answer":{"start_token":509,"candidate_index":59,"end_token":576},"sho(...TRUNCATED)
https://en.wikipedia.org//w/index.php?title=List_of_National_Football_League_career_quarterback_wins_leaders&amp;oldid=818143757
5,289,242,154,789,678,000
null
null
"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&amp;oldid=843591647
5,489,863,933,082,811,000
null
null
"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&amp;oldid=846015670
3,411,244,446,249,505,000
null
null
"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&amp;oldid=829523540
-2,500,044,561,429,484,500
null
null
"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)&amp;oldid=826437974
5,611,750,702,541,347,000
null
null
"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&amp;oldid=844900571
4,958,098,854,057,393,000
End of preview.

No dataset card yet

New: Create and edit this dataset card directly on the website!

Contribute a Dataset Card
Downloads last month
0