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 3 new columns ({'ctxs', 'answers', 'question'}) and 2 missing columns ({'data', 'stats'}). This happened while the json dataset builder was generating data using zip://moqa-data/dev_dpr-all_pred.json::/tmp/hf-datasets-cache/medium/datasets/30870948120446-config-parquet-and-info-princeton-nlp-MoQA-106ca0a5/downloads/1008859a9c1bfe94ab103dbb9d5b89e519089d62a00b57b494d222d70cc985f6 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 ctxs: list<item: struct<has_answer: bool, id: string, score: string, text: string, title: string>> child 0, item: struct<has_answer: bool, id: string, score: string, text: string, title: string> child 0, has_answer: bool child 1, id: string child 2, score: string child 3, text: string child 4, title: string answers: list<item: string> child 0, item: string question: string to {'data': [{'id': Value(dtype='string', id=None), 'question': Value(dtype='string', id=None), 'answers': Sequence(feature=Value(dtype='string', id=None), length=-1, id=None), 'long_answers': Sequence(feature=Value(dtype='string', id=None), length=-1, id=None), 'long_answers_from_natural_paragraph': Sequence(feature=Value(dtype='bool', id=None), length=-1, id=None), 'yes_no_answer': Sequence(feature=Value(dtype='string', id=None), length=-1, id=None), 'titles': Sequence(feature=Value(dtype='string', id=None), length=-1, id=None), 'question_type': Value(dtype='string', id=None), 'gold_passages': Sequence(feature=Value(dtype='string', id=None), length=-1, id=None), 'long_answer_start_end_characters': Sequence(feature=Sequence(feature=Value(dtype='int64', id=None), length=-1, id=None), length=-1, id=None)}], 'stats': {'short': Value(dtype='int64', id=None), 'medium': Value(dtype='int64', id=None), 'null': Value(dtype='int64', id=None), 'long': Value(dtype='int64', id=None), 'yesno': 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 1321, 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 935, in convert_to_parquet builder.download_and_prepare( File "/src/services/worker/.venv/lib/python3.9/site-packages/datasets/builder.py", line 1027, in download_and_prepare self._download_and_prepare( File "/src/services/worker/.venv/lib/python3.9/site-packages/datasets/builder.py", line 1122, 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 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 3 new columns ({'ctxs', 'answers', 'question'}) and 2 missing columns ({'data', 'stats'}). This happened while the json dataset builder was generating data using zip://moqa-data/dev_dpr-all_pred.json::/tmp/hf-datasets-cache/medium/datasets/30870948120446-config-parquet-and-info-princeton-nlp-MoQA-106ca0a5/downloads/1008859a9c1bfe94ab103dbb9d5b89e519089d62a00b57b494d222d70cc985f6 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.
data
list | stats
dict | question
string | ctxs
list | answers
sequence |
---|---|---|---|---|
[{"id":"4399451317010923095","question":"who plays percy in the lost city of z","answers":["Charlie (...TRUNCATED) | {
"short": 8757,
"medium": 1853,
"null": 14405,
"long": 2169,
"yesno": 351
} | null | null | null |
null | null | who plays percy in the lost city of z | [{"has_answer":true,"id":"wiki:12824342","score":"84.00917","text":"The Lost City of Z (film) The Lo(...TRUNCATED) | [
"Charlie Hunnam"
]
|
null | null | when did israel adopt the star of david | [{"has_answer":true,"id":"wiki:1670671","score":"88.04195","text":"of United States Army private Hal(...TRUNCATED) | [
"October 28, 1948"
]
|
null | null | when does the diary of a wimpy kid the getaway come out | [{"has_answer":false,"id":"wiki:19739682","score":"83.107864","text":"are replaced by a new cast. It(...TRUNCATED) | [
"November 7, 2017"
]
|
null | null | which of the following is the slowest tempo indication adagio andante allegro vivace | [{"has_answer":true,"id":"wiki:2015782","score":"80.931305","text":"for a Baroque fugue. Immediately(...TRUNCATED) | [
"Adagio"
]
|
null | null | medical term for a blood test to measure the levels of oxygen in the blood | [{"has_answer":false,"id":"wiki:2188424","score":"85.20829","text":"Blood test A blood test is a lab(...TRUNCATED) | [
"blood gas test"
]
|
null | null | who wrote the words to my country tis of thee | [{"has_answer":false,"id":"wiki:1281547","score":"89.0445","text":"1831, while he was a student at t(...TRUNCATED) | [
"Samuel Francis Smith"
]
|
null | null | which city was known as porkopolis after its slaughterhouse district | [{"has_answer":false,"id":"wiki:5956372","score":"79.60841","text":"railroad workers grew along Colu(...TRUNCATED) | [
"Cincinnati, Ohio"
]
|
null | null | when did the fight for women's right to vote began | [{"has_answer":false,"id":"wiki:1494722","score":"80.85897","text":"Women's suffrage Women's suffrag(...TRUNCATED) | [
"1868"
]
|
null | null | who sang what a difference a day makes first | [{"has_answer":true,"id":"wiki:9152356","score":"79.1169","text":"What a Diff'rence a Day Made \"Wha(...TRUNCATED) | [
"Dinah Washington",
"María Grever"
]
|
End of preview.
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.