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/popqa-train-dev/FiD-DPRNeg-popqa-train-evidence.jsonl (at revision b1e51a15f29de9b9d740970a72c0efe76c44ab95)

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<id: string, title: string, text: string, score: string, has_answer: bool>>
                child 0, item: struct<id: string, title: string, text: string, score: string, has_answer: bool>
                    child 0, id: string
                    child 1, title: string
                    child 2, text: string
                    child 3, score: string
                    child 4, has_answer: bool
              positive_ctx: struct<id: string, title: string, text: string, score: string, has_answer: bool>
                child 0, id: string
                child 1, title: string
                child 2, text: string
                child 3, score: string
                child 4, has_answer: bool
              evidence: string
              ctxs_dpr: list<item: struct<id: string, title: string, text: string, score: string, has_answer: bool>>
                child 0, item: struct<id: string, title: string, text: string, score: string, has_answer: bool>
                    child 0, id: string
                    child 1, title: string
                    child 2, text: string
                    child 3, score: string
                    child 4, has_answer: bool
              ctxs: list<item: struct<id: string, title: string, text: string, score: string, has_answer: bool>>
                child 0, item: struct<id: string, title: string, text: string, score: string, has_answer: bool>
                    child 0, id: string
                    child 1, title: string
                    child 2, text: string
                    child 3, score: string
                    child 4, has_answer: bool
              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': [{'id': Value(dtype='string', id=None), 'title': Value(dtype='string', id=None), 'text': Value(dtype='string', id=None), 'score': Value(dtype='string', id=None), 'has_answer': Value(dtype='bool', id=None)}], 'positive_ctx': {'id': Value(dtype='string', id=None), 'title': Value(dtype='string', id=None), 'text': Value(dtype='string', id=None), 'score': Value(dtype='string', id=None), 'has_answer': Value(dtype='bool', id=None)}, 'evidence': Value(dtype='string', id=None), 'ctxs_dpr': [{'id': Value(dtype='string', id=None), 'title': Value(dtype='string', id=None), 'text': Value(dtype='string', id=None), 'score': Value(dtype='string', id=None), 'has_answer': Value(dtype='bool', id=None)}], 'ctxs': [{'id': Value(dtype='string', id=None), 'title': Value(dtype='string', id=None), 'text': Value(dtype='string', id=None), 'score': Value(dtype='string', id=None), 'has_answer': Value(dtype='bool', 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/popqa-train-dev/FiD-DPRNeg-popqa-train-evidence.jsonl (at revision b1e51a15f29de9b9d740970a72c0efe76c44ab95)
              
              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_dpr
list
ctxs
list
id
int64
Who was the screenwriter for Meantime?
[ "Mike Leigh" ]
Mike Leigh
[ { "id": "wiki:9739509", "title": "Meantime (film)", "text": "Meantime (film) Meantime is a 1983 made for television comedy drama film directed by Mike Leigh, produced by Central Television for Channel 4. It was shown in 1983 at the London Film Festival and on Channel 4 and at the 1984 Berlin Internation...
{ "id": "wiki:9739509", "title": "Meantime (film)", "text": "Meantime (film) Meantime is a 1983 made for television comedy drama film directed by Mike Leigh, produced by Central Television for Channel 4. It was shown in 1983 at the London Film Festival and on Channel 4 and at the 1984 Berlin International Film Festival. According to the critic Michael Coveney: \"The sapping, debilitating and demeaning state of unemployment, the futile sense of waste, has not been more poignantly, or poetically, expressed in any other film of the period.\" The film unfolds in brief episodes, detailing the travails of the working-class Pollock family, who live in a shabby flat in", "score": "74.846985", "has_answer": true }
Meantime is a 1983 made for television comedy drama film directed by Mike Leigh
[ { "id": "wiki:9739510", "title": "Meantime (film)", "text": "a tower block in London's East End. They are struggling to stay afloat during the recession under Prime Minister Margaret Thatcher's premiership. Only the nagging, put-upon mother Mavis (Pam Ferris) is working; the bitter, feckless father Fran...
[ { "id": "wiki:9739509", "title": "Meantime (film)", "text": "Meantime (film) Meantime is a 1983 made for television comedy drama film directed by Mike Leigh, produced by Central Television for Channel 4. It was shown in 1983 at the London Film Festival and on Channel 4 and at the 1984 Berlin Internation...
0
Who was the screenwriter for Alarm?
[ "Gerard Stembridge", "Gerry Stembridge" ]
Gerard Stembridge
[{"id":"wiki:17771004","title":"Alarm (2008 film)","text":"Alarm (2008 film) Alarm is a 2008 Irish t(...TRUNCATED)
{"id":"wiki:17771004","title":"Alarm (2008 film)","text":"Alarm (2008 film) Alarm is a 2008 Irish th(...TRUNCATED)
Alarm is a 2008 Irish thriller film written and directed by Gerard Stembridge.
[{"id":"wiki:17771004","title":"Alarm (2008 film)","text":"Alarm (2008 film) Alarm is a 2008 Irish t(...TRUNCATED)
[{"id":"wiki:17771004","title":"Alarm (2008 film)","text":"Alarm (2008 film) Alarm is a 2008 Irish t(...TRUNCATED)
1
Who is the author of And did those feet in ancient time?
[ "William Blake", "W. Blake", "Uil'iam Bleik", "Blake" ]
William Blake
[{"id":"wiki:31802","title":"And did those feet in ancient time","text":"the first Verve song influe(...TRUNCATED)
{"id":"wiki:31802","title":"And did those feet in ancient time","text":"the first Verve song influen(...TRUNCATED)
"And did those feet in ancient time" is a poem by William Blake
[{"id":"wiki:31802","title":"And did those feet in ancient time","text":"the first Verve song influe(...TRUNCATED)
[{"id":"wiki:31802","title":"And did those feet in ancient time","text":"the first Verve song influe(...TRUNCATED)
2
What is Deggendorf the capital of?
[ "Deggendorf" ]
Deggendorf
[{"id":"wiki:4436867","title":"Deggendorf","text":"Deggendorf Deggendorf is a town in Bavaria, capit(...TRUNCATED)
{"id":"wiki:4436867","title":"Deggendorf","text":"Deggendorf Deggendorf is a town in Bavaria, capita(...TRUNCATED)
Deggendorf is a town in Bavaria, capital of the Deggendorf district.
[{"id":"wiki:16735496","title":"Ed Daein","text":"Ed Daein El Daein (also spelt Ad Du'ayn, Ad Da'en (...TRUNCATED)
[{"id":"wiki:4436867","title":"Deggendorf","text":"Deggendorf Deggendorf is a town in Bavaria, capit(...TRUNCATED)
3
Who is the author of So Disdained?
[ "Nevil Shute", "Nevil Shute Norway" ]
Nevil Shute
[{"id":"wiki:10052228","title":"So Disdained","text":"pieces of slang\", may indicate that he decide(...TRUNCATED)
{"id":"wiki:10052228","title":"So Disdained","text":"pieces of slang\", may indicate that he decided(...TRUNCATED)
So Disdained is the second published novel by British author, Nevil Shute (N.S. Norway).
[{"id":"wiki:10052228","title":"So Disdained","text":"pieces of slang\", may indicate that he decide(...TRUNCATED)
[{"id":"wiki:10052228","title":"So Disdained","text":"pieces of slang\", may indicate that he decide(...TRUNCATED)
4
Who was the producer of Taxi?
[ "Jafar Panahi" ]
Jafar Panahi
[{"id":"wiki:18537940","title":"Taxi (2015 film)","text":"Taxi (2015 film) Taxi (full title Jafar Pa(...TRUNCATED)
{"id":"wiki:18537940","title":"Taxi (2015 film)","text":"Taxi (2015 film) Taxi (full title Jafar Pan(...TRUNCATED)
"Taxi (full title Jafar Panahi's Taxi; ), also known as Taxi Tehran, is a 2015 Iranian docufiction s(...TRUNCATED)
[{"id":"wiki:995497","title":"Taxi (TV series)","text":"Taxi (TV series) Taxi is an American sitcom (...TRUNCATED)
[{"id":"wiki:18537940","title":"Taxi (2015 film)","text":"Taxi (2015 film) Taxi (full title Jafar Pa(...TRUNCATED)
5
What genre is Grass?
["documentary film","documentary movie","doc","film documentary","motion picture documentary","docum(...TRUNCATED)
documentary film
[{"id":"wiki:8010546","title":"Grass (1999 film)","text":"Grass (1999 film) Grass: History of Mariju(...TRUNCATED)
{"id":"wiki:8010546","title":"Grass (1999 film)","text":"Grass (1999 film) Grass: History of Marijua(...TRUNCATED)
Grass: History of Marijuana is a 1999 Canadian documentary film directed by Ron Mann
[{"id":"wiki:7856173","title":"The Grass Is Green","text":"The Grass Is Green \"The Grass Is Green\"(...TRUNCATED)
[{"id":"wiki:8010546","title":"Grass (1999 film)","text":"Grass (1999 film) Grass: History of Mariju(...TRUNCATED)
6
Who was the director of Face to Face?
[ "Michael Rymer" ]
Michael Rymer
[{"id":"wiki:15807561","title":"Face to Face (2011 film)","text":"Face to Face (2011 film) Face to F(...TRUNCATED)
{"id":"wiki:15807561","title":"Face to Face (2011 film)","text":"Face to Face (2011 film) Face to Fa(...TRUNCATED)
"Face to Face (2011) is an independent Australian film directed by Michael Rymer, based on the play (...TRUNCATED)
[{"id":"wiki:4817036","title":"Face to Face (UK TV programme)","text":"Face to Face (UK TV programme(...TRUNCATED)
[{"id":"wiki:15807561","title":"Face to Face (2011 film)","text":"Face to Face (2011 film) Face to F(...TRUNCATED)
7
What is the religion of Peter?
[ "Christianity", "Christian faith" ]
Christianity
[{"id":"wiki:4946865","title":"Letter of Peter to Philip","text":"as one of the acts of the apostles(...TRUNCATED)
{"id":"wiki:4946865","title":"Letter of Peter to Philip","text":"as one of the acts of the apostles.(...TRUNCATED)
"In early Christianity, there was a conflict between the traditions associated with Peter and Philip(...TRUNCATED)
[{"id":"wiki:4946865","title":"Letter of Peter to Philip","text":"as one of the acts of the apostles(...TRUNCATED)
[{"id":"wiki:4946865","title":"Letter of Peter to Philip","text":"as one of the acts of the apostles(...TRUNCATED)
8
Who is the author of Through the Looking-Glass?
["Lewis Carroll","Charles Dodgson","Lewis Caroll","Lewis Carroll Dodgson","Charles Lutwidge Dodgson"(...TRUNCATED)
Lewis Carroll
[{"id":"wiki:430787","title":"Through the Looking-Glass","text":"Through the Looking-Glass Through t(...TRUNCATED)
{"id":"wiki:430787","title":"Through the Looking-Glass","text":"Through the Looking-Glass Through th(...TRUNCATED)
"Through the Looking-Glass, and What Alice Found There (1871) (also known as \"Alice through the Loo(...TRUNCATED)
[{"id":"wiki:430787","title":"Through the Looking-Glass","text":"Through the Looking-Glass Through t(...TRUNCATED)
[{"id":"wiki:430787","title":"Through the Looking-Glass","text":"Through the Looking-Glass Through t(...TRUNCATED)
9
End of preview.

No dataset card yet

Downloads last month
7