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 3 new columns ({'title', 'idx', 'text'}) and 3 missing columns ({'document', 'answer', 'question'}).

This happened while the json dataset builder was generating data using

hf://datasets/g7haha/HippoRAG_2/narrativeqa_dev_10_doc_corpus.json (at revision e1e5cce3a2927b519a2a34fcf746f98650697e72), [/tmp/hf-datasets-cache/medium/datasets/60241781783415-config-parquet-and-info-g7haha-HippoRAG_2-24556fe3/hub/datasets--g7haha--HippoRAG_2/snapshots/e1e5cce3a2927b519a2a34fcf746f98650697e72/narrativeqa_dev_10_doc.json (origin=hf://datasets/g7haha/HippoRAG_2@e1e5cce3a2927b519a2a34fcf746f98650697e72/narrativeqa_dev_10_doc.json), /tmp/hf-datasets-cache/medium/datasets/60241781783415-config-parquet-and-info-g7haha-HippoRAG_2-24556fe3/hub/datasets--g7haha--HippoRAG_2/snapshots/e1e5cce3a2927b519a2a34fcf746f98650697e72/narrativeqa_dev_10_doc_corpus.json (origin=hf://datasets/g7haha/HippoRAG_2@e1e5cce3a2927b519a2a34fcf746f98650697e72/narrativeqa_dev_10_doc_corpus.json)], ['hf://datasets/g7haha/HippoRAG_2@e1e5cce3a2927b519a2a34fcf746f98650697e72/narrativeqa_dev_10_doc.json', 'hf://datasets/g7haha/HippoRAG_2@e1e5cce3a2927b519a2a34fcf746f98650697e72/narrativeqa_dev_10_doc_corpus.json']

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 1800, in _prepare_split_single
                  writer.write_table(table)
                File "/usr/local/lib/python3.12/site-packages/datasets/arrow_writer.py", line 765, in write_table
                  self._write_table(pa_table, writer_batch_size=writer_batch_size)
                File "/usr/local/lib/python3.12/site-packages/datasets/arrow_writer.py", line 773, in _write_table
                  pa_table = table_cast(pa_table, self._schema)
                             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
                File "/usr/local/lib/python3.12/site-packages/datasets/table.py", line 2321, in table_cast
                  return cast_table_to_schema(table, schema)
                         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
                File "/usr/local/lib/python3.12/site-packages/datasets/table.py", line 2249, in cast_table_to_schema
                  raise CastError(
              datasets.table.CastError: Couldn't cast
              idx: string
              title: string
              text: string
              to
              {'document': {'id': Value('string'), 'kind': Value('string'), 'url': Value('string'), 'file_size': Value('int64'), 'word_count': Value('int64'), 'start': Value('string'), 'end': Value('string'), 'summary': {'text': Value('string'), 'tokens': List(Value('string')), 'url': Value('string'), 'title': Value('string')}, 'text': Value('string')}, 'question': Value('string'), 'answer': List(Value('string'))}
              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 1347, 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 980, in convert_to_parquet
                  builder.download_and_prepare(
                File "/usr/local/lib/python3.12/site-packages/datasets/builder.py", line 882, in download_and_prepare
                  self._download_and_prepare(
                File "/usr/local/lib/python3.12/site-packages/datasets/builder.py", line 943, in _download_and_prepare
                  self._prepare_split(split_generator, **prepare_split_kwargs)
                File "/usr/local/lib/python3.12/site-packages/datasets/builder.py", line 1646, 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 1802, 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 ({'title', 'idx', 'text'}) and 3 missing columns ({'document', 'answer', 'question'}).
              
              This happened while the json dataset builder was generating data using
              
              hf://datasets/g7haha/HippoRAG_2/narrativeqa_dev_10_doc_corpus.json (at revision e1e5cce3a2927b519a2a34fcf746f98650697e72), [/tmp/hf-datasets-cache/medium/datasets/60241781783415-config-parquet-and-info-g7haha-HippoRAG_2-24556fe3/hub/datasets--g7haha--HippoRAG_2/snapshots/e1e5cce3a2927b519a2a34fcf746f98650697e72/narrativeqa_dev_10_doc.json (origin=hf://datasets/g7haha/HippoRAG_2@e1e5cce3a2927b519a2a34fcf746f98650697e72/narrativeqa_dev_10_doc.json), /tmp/hf-datasets-cache/medium/datasets/60241781783415-config-parquet-and-info-g7haha-HippoRAG_2-24556fe3/hub/datasets--g7haha--HippoRAG_2/snapshots/e1e5cce3a2927b519a2a34fcf746f98650697e72/narrativeqa_dev_10_doc_corpus.json (origin=hf://datasets/g7haha/HippoRAG_2@e1e5cce3a2927b519a2a34fcf746f98650697e72/narrativeqa_dev_10_doc_corpus.json)], ['hf://datasets/g7haha/HippoRAG_2@e1e5cce3a2927b519a2a34fcf746f98650697e72/narrativeqa_dev_10_doc.json', 'hf://datasets/g7haha/HippoRAG_2@e1e5cce3a2927b519a2a34fcf746f98650697e72/narrativeqa_dev_10_doc_corpus.json']
              
              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
dict
question
string
answer
list
{"id":"4b30ab1c49b62dc59b9773954958d9ac6807a865","kind":"movie","url":"http://www.imsdb.com/scripts/(...TRUNCATED)
What is Mary Horowitz's job?
[ "She is a crossword writer for the Sacramento Herald.", "She is a crossword puzzle writer." ]
{"id":"4b30ab1c49b62dc59b9773954958d9ac6807a865","kind":"movie","url":"http://www.imsdb.com/scripts/(...TRUNCATED)
Who is Mary's blind date, and what is his job?
[ "Steve Miller, a cameraman.", "Steve Miller, he is a cameraman" ]
{"id":"4b30ab1c49b62dc59b9773954958d9ac6807a865","kind":"movie","url":"http://www.imsdb.com/scripts/(...TRUNCATED)
What is Steve's excuse to not see Mary?
["He claims he is needed to cover a story out of town.","Fake a phone call about covering a story ou(...TRUNCATED)
{"id":"4b30ab1c49b62dc59b9773954958d9ac6807a865","kind":"movie","url":"http://www.imsdb.com/scripts/(...TRUNCATED)
Why did Mary get fired?
["She created a crossword entirely about Steve.","She created a crossword titled \"All About Steve\"(...TRUNCATED)
{"id":"4b30ab1c49b62dc59b9773954958d9ac6807a865","kind":"movie","url":"http://www.imsdb.com/scripts/(...TRUNCATED)
Who does Mary cross the country with?
[ "Norm, Elizabeth, and Howard.", "Elizabeth and Howard" ]
{"id":"4b30ab1c49b62dc59b9773954958d9ac6807a865","kind":"movie","url":"http://www.imsdb.com/scripts/(...TRUNCATED)
Who is trapped in the mine collapse?
[ "Deaf children.", "deaf children" ]
{"id":"4b30ab1c49b62dc59b9773954958d9ac6807a865","kind":"movie","url":"http://www.imsdb.com/scripts/(...TRUNCATED)
Who rescues the one remaining deaf child?
[ "Mary, after falling in.", "Steve" ]
{"id":"4b30ab1c49b62dc59b9773954958d9ac6807a865","kind":"movie","url":"http://www.imsdb.com/scripts/(...TRUNCATED)
Who gets the credit for saving the child?
[ "Hartman Hughes.", "Hartman" ]
{"id":"4b30ab1c49b62dc59b9773954958d9ac6807a865","kind":"movie","url":"http://www.imsdb.com/scripts/(...TRUNCATED)
Who fell into the mine to save mary?
[ "Hartman Hughes, a tv reporter.", "Hartman" ]
{"id":"4b30ab1c49b62dc59b9773954958d9ac6807a865","kind":"movie","url":"http://www.imsdb.com/scripts/(...TRUNCATED)
What can Mary not stop talking about?
[ "Vocabulary.", "Vocabulary" ]
End of preview.

HippoRAG 2 is a powerful memory framework for LLMs that enhances their ability to recognize and utilize connections in new knowledge—mirroring a key function of human long-term memory.

Downloads last month
61

Papers for g7haha/HippoRAG_2