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 4 new columns ({'profile', 'input', 'user_id', 'id'}) and 2 missing columns ({'golds', 'task'}).

This happened while the json dataset builder was generating data using

hf://datasets/Hannahisme/LaMP_2_time-based/train_questions.json (at revision 2cb19e310f3f282ffb2fe4331320938c3eba8d52)

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 1831, in _prepare_split_single
                  writer.write_table(table)
                File "/usr/local/lib/python3.12/site-packages/datasets/arrow_writer.py", line 714, in write_table
                  pa_table = table_cast(pa_table, self._schema)
                             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
                File "/usr/local/lib/python3.12/site-packages/datasets/table.py", line 2272, in table_cast
                  return cast_table_to_schema(table, schema)
                         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
                File "/usr/local/lib/python3.12/site-packages/datasets/table.py", line 2218, in cast_table_to_schema
                  raise CastError(
              datasets.table.CastError: Couldn't cast
              id: string
              input: string
              profile: list<item: struct<date: string, description: string, id: string, tag: string>>
                child 0, item: struct<date: string, description: string, id: string, tag: string>
                    child 0, date: string
                    child 1, description: string
                    child 2, id: string
                    child 3, tag: string
              user_id: int64
              -- schema metadata --
              pandas: '{"index_columns": [], "column_indexes": [], "columns": [{"name":' + 546
              to
              {'task': Value('string'), 'golds': {'id': Value('string'), 'output': 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 1455, 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 1054, in convert_to_parquet
                  builder.download_and_prepare(
                File "/usr/local/lib/python3.12/site-packages/datasets/builder.py", line 894, in download_and_prepare
                  self._download_and_prepare(
                File "/usr/local/lib/python3.12/site-packages/datasets/builder.py", line 970, in _download_and_prepare
                  self._prepare_split(split_generator, **prepare_split_kwargs)
                File "/usr/local/lib/python3.12/site-packages/datasets/builder.py", line 1702, 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 1833, 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 4 new columns ({'profile', 'input', 'user_id', 'id'}) and 2 missing columns ({'golds', 'task'}).
              
              This happened while the json dataset builder was generating data using
              
              hf://datasets/Hannahisme/LaMP_2_time-based/train_questions.json (at revision 2cb19e310f3f282ffb2fe4331320938c3eba8d52)
              
              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.

task
string
golds
dict
LaMP_2
{ "id": "800", "output": "thought-provoking" }
LaMP_2
{ "id": "801", "output": "classic" }
LaMP_2
{ "id": "802", "output": "classic" }
LaMP_2
{ "id": "803", "output": "classic" }
LaMP_2
{ "id": "804", "output": "dystopia" }
LaMP_2
{ "id": "805", "output": "dystopia" }
LaMP_2
{ "id": "806", "output": "psychology" }
LaMP_2
{ "id": "807", "output": "dystopia" }
LaMP_2
{ "id": "808", "output": "dystopia" }
LaMP_2
{ "id": "809", "output": "dystopia" }
LaMP_2
{ "id": "8010", "output": "violence" }
LaMP_2
{ "id": "8011", "output": "dystopia" }
LaMP_2
{ "id": "8012", "output": "dark comedy" }
LaMP_2
{ "id": "8013", "output": "dark comedy" }
LaMP_2
{ "id": "8014", "output": "comedy" }
LaMP_2
{ "id": "8015", "output": "comedy" }
LaMP_2
{ "id": "8016", "output": "classic" }
LaMP_2
{ "id": "8017", "output": "classic" }
LaMP_2
{ "id": "8018", "output": "classic" }
LaMP_2
{ "id": "8019", "output": "comedy" }
LaMP_2
{ "id": "8020", "output": "classic" }
LaMP_2
{ "id": "8021", "output": "classic" }
LaMP_2
{ "id": "8022", "output": "comedy" }
LaMP_2
{ "id": "8023", "output": "action" }
LaMP_2
{ "id": "8024", "output": "action" }
LaMP_2
{ "id": "8025", "output": "social commentary" }
LaMP_2
{ "id": "8026", "output": "romance" }
LaMP_2
{ "id": "8027", "output": "dark comedy" }
LaMP_2
{ "id": "8028", "output": "comedy" }
LaMP_2
{ "id": "8029", "output": "action" }
LaMP_2
{ "id": "8030", "output": "comedy" }
LaMP_2
{ "id": "8031", "output": "classic" }
LaMP_2
{ "id": "8032", "output": "twist ending" }
LaMP_2
{ "id": "8033", "output": "comedy" }
LaMP_2
{ "id": "8034", "output": "twist ending" }
LaMP_2
{ "id": "8035", "output": "dark comedy" }
LaMP_2
{ "id": "8036", "output": "social commentary" }
LaMP_2
{ "id": "8037", "output": "action" }
LaMP_2
{ "id": "8038", "output": "twist ending" }
LaMP_2
{ "id": "8039", "output": "violence" }
LaMP_2
{ "id": "8040", "output": "sci-fi" }
LaMP_2
{ "id": "8041", "output": "comedy" }
LaMP_2
{ "id": "8042", "output": "romance" }
LaMP_2
{ "id": "8043", "output": "true story" }
LaMP_2
{ "id": "8044", "output": "comedy" }
LaMP_2
{ "id": "8045", "output": "dark comedy" }
LaMP_2
{ "id": "8046", "output": "dark comedy" }
LaMP_2
{ "id": "8047", "output": "based on a book" }
LaMP_2
{ "id": "8048", "output": "classic" }
LaMP_2
{ "id": "8049", "output": "dark comedy" }
LaMP_2
{ "id": "8050", "output": "action" }
LaMP_2
{ "id": "8051", "output": "dark comedy" }
LaMP_2
{ "id": "8052", "output": "comedy" }
LaMP_2
{ "id": "8053", "output": "comedy" }
LaMP_2
{ "id": "8054", "output": "dystopia" }
LaMP_2
{ "id": "8055", "output": "fantasy" }
LaMP_2
{ "id": "8056", "output": "comedy" }
LaMP_2
{ "id": "8057", "output": "comedy" }
LaMP_2
{ "id": "8058", "output": "action" }
LaMP_2
{ "id": "8059", "output": "comedy" }
LaMP_2
{ "id": "8060", "output": "comedy" }
LaMP_2
{ "id": "8061", "output": "romance" }
LaMP_2
{ "id": "8062", "output": "comedy" }
LaMP_2
{ "id": "8063", "output": "comedy" }
LaMP_2
{ "id": "8064", "output": "comedy" }
LaMP_2
{ "id": "8065", "output": "romance" }
LaMP_2
{ "id": "8066", "output": "comedy" }
LaMP_2
{ "id": "8067", "output": "comedy" }
LaMP_2
{ "id": "8068", "output": "comedy" }
LaMP_2
{ "id": "8069", "output": "romance" }
LaMP_2
{ "id": "8070", "output": "comedy" }
LaMP_2
{ "id": "8071", "output": "comedy" }
LaMP_2
{ "id": "8072", "output": "comedy" }
LaMP_2
{ "id": "8073", "output": "violence" }
LaMP_2
{ "id": "8074", "output": "comedy" }
LaMP_2
{ "id": "8075", "output": "dark comedy" }
LaMP_2
{ "id": "8076", "output": "comedy" }
LaMP_2
{ "id": "8077", "output": "comedy" }
LaMP_2
{ "id": "8078", "output": "action" }
LaMP_2
{ "id": "8079", "output": "dark comedy" }
LaMP_2
{ "id": "8080", "output": "comedy" }
LaMP_2
{ "id": "8081", "output": "comedy" }
LaMP_2
{ "id": "8082", "output": "based on a book" }
LaMP_2
{ "id": "8083", "output": "action" }
LaMP_2
{ "id": "8084", "output": "dark comedy" }
LaMP_2
{ "id": "8085", "output": "comedy" }
LaMP_2
{ "id": "8086", "output": "dark comedy" }
LaMP_2
{ "id": "8087", "output": "sci-fi" }
LaMP_2
{ "id": "8088", "output": "violence" }
LaMP_2
{ "id": "8089", "output": "comedy" }
LaMP_2
{ "id": "8090", "output": "action" }
LaMP_2
{ "id": "8091", "output": "action" }
LaMP_2
{ "id": "8092", "output": "action" }
LaMP_2
{ "id": "8093", "output": "action" }
LaMP_2
{ "id": "8094", "output": "comedy" }
LaMP_2
{ "id": "8095", "output": "comedy" }
LaMP_2
{ "id": "8096", "output": "twist ending" }
LaMP_2
{ "id": "8097", "output": "action" }
LaMP_2
{ "id": "8098", "output": "comedy" }
LaMP_2
{ "id": "8099", "output": "comedy" }
End of preview.

No dataset card yet

Downloads last month
18