Datasets:

Languages:
English
ArXiv:
Dataset Preview
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 ({'idx', 'text', 'title'}) and 3 missing columns ({'question', 'answer', 'document'}).

This happened while the json dataset builder was generating data using

hf://datasets/osunlp/HippoRAG_2/narrativeqa_dev_10_doc_corpus.json (at revision 5ec05b38deecc3318bb432c69865959c56058990)

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 1871, in _prepare_split_single
                  writer.write_table(table)
                File "/src/services/worker/.venv/lib/python3.9/site-packages/datasets/arrow_writer.py", line 623, 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 2293, in table_cast
                  return cast_table_to_schema(table, schema)
                File "/src/services/worker/.venv/lib/python3.9/site-packages/datasets/table.py", line 2241, in cast_table_to_schema
                  raise CastError(
              datasets.table.CastError: Couldn't cast
              idx: string
              title: string
              text: string
              -- schema metadata --
              pandas: '{"index_columns": [], "column_indexes": [], "columns": [{"name":' + 426
              to
              {'document': {'end': Value(dtype='string', id=None), 'file_size': Value(dtype='int64', id=None), 'id': Value(dtype='string', id=None), 'kind': Value(dtype='string', id=None), 'start': Value(dtype='string', id=None), 'summary': {'text': Value(dtype='string', id=None), 'title': Value(dtype='string', id=None), 'tokens': Sequence(feature=Value(dtype='string', id=None), length=-1, id=None), 'url': Value(dtype='string', id=None)}, 'text': Value(dtype='string', id=None), 'url': Value(dtype='string', id=None), 'word_count': Value(dtype='int64', id=None)}, 'question': Value(dtype='string', id=None), 'answer': Sequence(feature=Value(dtype='string', id=None), length=-1, 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 1438, 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 1050, in convert_to_parquet
                  builder.download_and_prepare(
                File "/src/services/worker/.venv/lib/python3.9/site-packages/datasets/builder.py", line 925, in download_and_prepare
                  self._download_and_prepare(
                File "/src/services/worker/.venv/lib/python3.9/site-packages/datasets/builder.py", line 1001, 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 1742, 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 1873, 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 ({'idx', 'text', 'title'}) and 3 missing columns ({'question', 'answer', 'document'}).
              
              This happened while the json dataset builder was generating data using
              
              hf://datasets/osunlp/HippoRAG_2/narrativeqa_dev_10_doc_corpus.json (at revision 5ec05b38deecc3318bb432c69865959c56058990)
              
              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
sequence
{"end":". THE END","file_size":211827,"id":"4b30ab1c49b62dc59b9773954958d9ac6807a865","kind":"movie"(...TRUNCATED)
What is Mary Horowitz's job?
[ "She is a crossword writer for the Sacramento Herald.", "She is a crossword puzzle writer." ]
{"end":". THE END","file_size":211827,"id":"4b30ab1c49b62dc59b9773954958d9ac6807a865","kind":"movie"(...TRUNCATED)
Who is Mary's blind date, and what is his job?
[ "Steve Miller, a cameraman.", "Steve Miller, he is a cameraman" ]
{"end":". THE END","file_size":211827,"id":"4b30ab1c49b62dc59b9773954958d9ac6807a865","kind":"movie"(...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)
{"end":". THE END","file_size":211827,"id":"4b30ab1c49b62dc59b9773954958d9ac6807a865","kind":"movie"(...TRUNCATED)
Why did Mary get fired?
["She created a crossword entirely about Steve.","She created a crossword titled \"All About Steve\"(...TRUNCATED)
{"end":". THE END","file_size":211827,"id":"4b30ab1c49b62dc59b9773954958d9ac6807a865","kind":"movie"(...TRUNCATED)
Who does Mary cross the country with?
[ "Norm, Elizabeth, and Howard.", "Elizabeth and Howard" ]
{"end":". THE END","file_size":211827,"id":"4b30ab1c49b62dc59b9773954958d9ac6807a865","kind":"movie"(...TRUNCATED)
Who is trapped in the mine collapse?
[ "Deaf children.", "deaf children" ]
{"end":". THE END","file_size":211827,"id":"4b30ab1c49b62dc59b9773954958d9ac6807a865","kind":"movie"(...TRUNCATED)
Who rescues the one remaining deaf child?
[ "Mary, after falling in.", "Steve" ]
{"end":". THE END","file_size":211827,"id":"4b30ab1c49b62dc59b9773954958d9ac6807a865","kind":"movie"(...TRUNCATED)
Who gets the credit for saving the child?
[ "Hartman Hughes.", "Hartman" ]
{"end":". THE END","file_size":211827,"id":"4b30ab1c49b62dc59b9773954958d9ac6807a865","kind":"movie"(...TRUNCATED)
Who fell into the mine to save mary?
[ "Hartman Hughes, a tv reporter.", "Hartman" ]
{"end":". THE END","file_size":211827,"id":"4b30ab1c49b62dc59b9773954958d9ac6807a865","kind":"movie"(...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
232