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 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 1 missing columns ({'id'})

This happened while the json dataset builder was generating data using

hf://datasets/kv-fusion/nq-train-dev/FiD-DPRNeg-nq-train-evidence.jsonl (at revision dc52dc2d643d1071fa7571d887180b75eb425e47)

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 2013, 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
              answers: list<item: string>
                child 0, item: string
              answer: string
              positive_ctxs: list<item: struct<title: string, text: string, score: double, title_score: int64, passage_id: string>>
                child 0, item: struct<title: string, text: string, score: double, title_score: int64, passage_id: string>
                    child 0, title: string
                    child 1, text: string
                    child 2, score: double
                    child 3, title_score: int64
                    child 4, passage_id: string
              positive_ctx: struct<title: string, text: string, score: double, title_score: int64, passage_id: string>
                child 0, title: string
                child 1, text: string
                child 2, score: double
                child 3, title_score: int64
                child 4, passage_id: string
              evidence: string
              ctxs: list<item: struct<title: string, text: string, score: double, title_score: int64, passage_id: string, id: string>>
                child 0, item: struct<title: string, text: string, score: double, title_score: int64, passage_id: string, id: string>
                    child 0, title: string
                    child 1, text: string
                    child 2, score: double
                    child 3, title_score: int64
                    child 4, passage_id: string
                    child 5, id: string
              to
              {'question': Value(dtype='string', id=None), 'answers': Sequence(feature=Value(dtype='string', id=None), length=-1, id=None), 'answer': Value(dtype='string', id=None), 'positive_ctxs': [{'title': Value(dtype='string', id=None), 'text': Value(dtype='string', id=None), 'score': Value(dtype='float64', id=None), 'title_score': Value(dtype='int64', id=None), 'passage_id': Value(dtype='string', id=None)}], 'positive_ctx': {'title': Value(dtype='string', id=None), 'text': Value(dtype='string', id=None), 'score': Value(dtype='float64', id=None), 'title_score': Value(dtype='int64', id=None), 'passage_id': Value(dtype='string', id=None)}, 'evidence': Value(dtype='string', id=None), 'ctxs': [{'title': Value(dtype='string', id=None), 'text': Value(dtype='string', id=None), 'score': Value(dtype='float64', id=None), 'title_score': Value(dtype='int64', id=None), 'passage_id': Value(dtype='string', id=None), 'id': Value(dtype='string', id=None)}], 'id': Value(dtype='int64', 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 1396, 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 1045, in convert_to_parquet
                  builder.download_and_prepare(
                File "/src/services/worker/.venv/lib/python3.9/site-packages/datasets/builder.py", line 1029, in download_and_prepare
                  self._download_and_prepare(
                File "/src/services/worker/.venv/lib/python3.9/site-packages/datasets/builder.py", line 1124, 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 1884, 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 2015, 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 1 missing columns ({'id'})
              
              This happened while the json dataset builder was generating data using
              
              hf://datasets/kv-fusion/nq-train-dev/FiD-DPRNeg-nq-train-evidence.jsonl (at revision dc52dc2d643d1071fa7571d887180b75eb425e47)
              
              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
answers
sequence
answer
string
positive_ctxs
list
positive_ctx
dict
evidence
string
ctxs
list
id
int64
who signed the charter of rights and freedoms
[ "Queen Elizabeth II of Canada" ]
Queen Elizabeth II of Canada
[ { "title": "Canadian Charter of Rights and Freedoms", "text": "Canadian Charter of Rights and Freedoms The Canadian Charter of Rights and Freedoms (), in Canada often simply the Charter, is a bill of rights entrenched in the Constitution of Canada. It forms the first part of the \"Constitution Act, 1982\". ...
{ "title": "Canadian Charter of Rights and Freedoms", "text": "Canadian Charter of Rights and Freedoms The Canadian Charter of Rights and Freedoms (), in Canada often simply the Charter, is a bill of rights entrenched in the Constitution of Canada. It forms the first part of the \"Constitution Act, 1982\". The Charter guarantees certain political rights to Canadian citizens and civil rights of everyone in Canada from the policies and actions of all areas and levels of the government. It is designed to unify Canadians around a set of principles that embody those rights. The Charter was signed into law by Queen Elizabeth II of Canada on April 17,", "score": 1000, "title_score": 1, "passage_id": "1181430" }
The Charter was signed into law by Queen Elizabeth II of Canada on April 17,
[ { "title": "Canadian Charter of Rights and Freedoms", "text": "Canadian Charter of Rights and Freedoms The Canadian Charter of Rights and Freedoms (), in Canada often simply the Charter, is a bill of rights entrenched in the Constitution of Canada. It forms the first part of the \"Constitution Act, 1982\". ...
41,905
who are the members of the band disturbed
[ "guitarist Dan Donegan", "bassist John Moyer", "drummer Mike Wengren", "vocalist David Draiman" ]
guitarist Dan Donegan
[ { "title": "Disturbed (band)", "text": "Disturbed (band) Disturbed is an American heavy metal band from Chicago, Illinois, formed in 1994. The band includes vocalist David Draiman, bassist John Moyer, guitarist/keyboardist Dan Donegan, and drummer Mike Wengren. Former band members are vocalist Erich Awalt a...
{ "title": "Disturbed (band)", "text": "released one live album, \"Disturbed: Live at Red Rocks\" on November 18, 2016, which was recorded on August 18, 2016 at Red Rocks Amphitheater in Morrison, Colorado, located about 10 miles west of Denver, Colorado. Their seventh studio album, \"Evolution\", was released on October 19, 2018. Before David Draiman joined Disturbed, guitarist Dan Donegan, drummer Mike Wengren, and bassist Steve \"Fuzz\" Kmak were in a band called Brawl with vocalist Erich Awalt. Before changing their name to \"Brawl\", however, Donegan mentioned in the band's DVD, \"Decade of Disturbed\", that the name was originally going to be \"Crawl\"; they switched it", "score": 8.643051, "title_score": 0, "passage_id": "1503581" }
Before David Draiman joined Disturbed, guitarist Dan Donegan, drummer Mike Wengren, and bassist Steve "Fuzz" Kmak were in a band called Brawl with vocalist Erich Awalt.
[ { "title": "Disturbed (band)", "text": "released one live album, \"Disturbed: Live at Red Rocks\" on November 18, 2016, which was recorded on August 18, 2016 at Red Rocks Amphitheater in Morrison, Colorado, located about 10 miles west of Denver, Colorado. Their seventh studio album, \"Evolution\", was relea...
7,296
how many floors are there in trump tower
[ "58" ]
58
[ { "title": "Trump Tower", "text": "of 13 office floors, 40 condominium floors, and two floors for mechanical uses, but this was later amended. The base was to be made of limestone, while the building's elevators were to be in a separate glass structure outside the main tower. The final plan called for the b...
{ "title": "Trump Tower", "text": "of 13 office floors, 40 condominium floors, and two floors for mechanical uses, but this was later amended. The base was to be made of limestone, while the building's elevators were to be in a separate glass structure outside the main tower. The final plan called for the building to contain 58 stories. The lowest six floors were to be occupied by the atrium, followed by 13 office floors above it, and 39 condominium floors above the office floors. While creating the final design for Trump Tower, Scutt studied the designs of other skyscrapers, almost all having a similar architectural", "score": 1000, "title_score": 1, "passage_id": "4292927" }
The final plan called for the building to contain 58 stories.
[ { "title": "Trump Tower", "text": "of 13 office floors, 40 condominium floors, and two floors for mechanical uses, but this was later amended. The base was to be made of limestone, while the building's elevators were to be in a separate glass structure outside the main tower. The final plan called for the b...
1,639
when did the aluminum f 150 come out
[ "2015 model year" ]
2015 model year
[{"title":"Ford F-Series","text":"on the Ford Motor Company website listed Ford F-250 Super Duty as (...TRUNCATED)
{"title":"Ford F-Series","text":"on the Ford Motor Company website listed Ford F-250 Super Duty as t(...TRUNCATED)
The thirteenth-generation Ford F-Series was introduced for the 2015 model year.
[{"title":"Ford F-Series","text":"on the Ford Motor Company website listed Ford F-250 Super Duty as (...TRUNCATED)
18,024
when did peacock became national bird of india
[ "1963" ]
1963
[{"title":"Indian peafowl","text":"a problem in gardens and homes where they damage plants, attack t(...TRUNCATED)
{"title":"Indian peafowl","text":"a problem in gardens and homes where they damage plants, attack th(...TRUNCATED)
"Prominent in many cultures, the peacock has been used in numerous iconic representations, including(...TRUNCATED)
[{"title":"Indian peafowl","text":"a problem in gardens and homes where they damage plants, attack t(...TRUNCATED)
16,049
when was the original charlie and the chocolate factory made
[ "1971" ]
1971
[{"title":"Willy Wonka & the Chocolate Factory","text":"Willy Wonka & the Chocolate Factory Willy Wo(...TRUNCATED)
{"title":"Willy Wonka & the Chocolate Factory","text":"Willy Wonka & the Chocolate Factory Willy Won(...TRUNCATED)
"Willy Wonka & the Chocolate Factory is a 1971 American musical fantasy family film directed by Mel (...TRUNCATED)
[{"title":"Willy Wonka & the Chocolate Factory","text":"Willy Wonka & the Chocolate Factory Willy Wo(...TRUNCATED)
14,628
where did the bristol stool chart come from
[ "Scandinavian Journal of Gastroenterology", "England", "Dr. Stephen Lewis", "Dr. Ken Heaton" ]
Scandinavian Journal of Gastroenterology
[{"title":"Bristol stool scale","text":"be validated. The Bristol stool scale is also very sensitive(...TRUNCATED)
{"title":"Bristol stool scale","text":"be validated. The Bristol stool scale is also very sensitive (...TRUNCATED)
"it was suggested by the authors as a clinical assessment tool in 1997 in the journal \"Scandinavian(...TRUNCATED)
[{"title":"Bristol stool scale","text":"be validated. The Bristol stool scale is also very sensitive(...TRUNCATED)
9,144
what was the name of the first band sting played in
[ "Phoenix Jazzmen", "Newcastle Big Band", "Last Exit" ]
Phoenix Jazzmen
[{"title":"Sting (musician)","text":"to 1974 and qualified as a teacher. He taught at St Paul's Firs(...TRUNCATED)
{"title":"Sting (musician)","text":"to 1974 and qualified as a teacher. He taught at St Paul's First(...TRUNCATED)
He played with the Phoenix Jazzmen, Newcastle Big Band, and Last Exit.
[{"title":"Sting (musician)","text":"to 1974 and qualified as a teacher. He taught at St Paul's Firs(...TRUNCATED)
6,717
curvature of a circle of radius r is given by
[ "the reciprocal of the radius" ]
the reciprocal of the radius
[{"title":"Curvature","text":"direction of the acceleration is the unit normal vector , which is def(...TRUNCATED)
{"title":"Curvature","text":"direction of the acceleration is the unit normal vector , which is defi(...TRUNCATED)
"The radius of the circle is called the radius of curvature, and the curvature is the reciprocal of (...TRUNCATED)
[{"title":"Curvature","text":"direction of the acceleration is the unit normal vector , which is def(...TRUNCATED)
35,741
where did 12 years a slave take place
[ "New Orleans" ]
New Orleans
[{"title":"12 Years a Slave (film)","text":"him to a slave pen run by a man named Burch. Northup pro(...TRUNCATED)
{"title":"12 Years a Slave (film)","text":"him to a slave pen run by a man named Burch. Northup proc(...TRUNCATED)
Northup is later shipped to New Orleans along with other captive African Americans.
[{"title":"12 Years a Slave (film)","text":"him to a slave pen run by a man named Burch. Northup pro(...TRUNCATED)
5,697
End of preview.

No dataset card yet

Downloads last month
6