LLM as Recommender
Collection
Datasets and models for the LLM as Recommender research project
•
10 items
•
Updated
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 2 new columns ({'42', 'Piano'}) and 1 missing columns ({'5fe2782ea134b3bc51f9449f7744b08d57cf69e9'}).
This happened while the csv dataset builder was generating data using
hf://datasets/OloriBern/tomplay-dataset/instruments.csv (at revision eacc614db7d8dedca5ade4fc3759971cda96498d)
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 1831, in _prepare_split_single
writer.write_table(table)
File "/src/services/worker/.venv/lib/python3.9/site-packages/datasets/arrow_writer.py", line 644, 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 2272, in table_cast
return cast_table_to_schema(table, schema)
File "/src/services/worker/.venv/lib/python3.9/site-packages/datasets/table.py", line 2218, in cast_table_to_schema
raise CastError(
datasets.table.CastError: Couldn't cast
42: int64
Piano: string
-- schema metadata --
pandas: '{"index_columns": [{"kind": "range", "name": null, "start": 0, "' + 471
to
{'5fe2782ea134b3bc51f9449f7744b08d57cf69e9': 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 1456, 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 1055, in convert_to_parquet
builder.download_and_prepare(
File "/src/services/worker/.venv/lib/python3.9/site-packages/datasets/builder.py", line 894, in download_and_prepare
self._download_and_prepare(
File "/src/services/worker/.venv/lib/python3.9/site-packages/datasets/builder.py", line 970, 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 1702, 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 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 2 new columns ({'42', 'Piano'}) and 1 missing columns ({'5fe2782ea134b3bc51f9449f7744b08d57cf69e9'}).
This happened while the csv dataset builder was generating data using
hf://datasets/OloriBern/tomplay-dataset/instruments.csv (at revision eacc614db7d8dedca5ade4fc3759971cda96498d)
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.
5fe2782ea134b3bc51f9449f7744b08d57cf69e9
string |
|---|
72ad9f532a7495767b18f4847b69d3d96d6e1463
|
1754398600.79687
|
b5b8ace168d665cf73e04803aa9527c9ec17e47ddcaf5f1ac97593186611f69f
|
1754398600.9923756
|
d4f1ebc80b030de2ceaf5c1fe1761d4e02f5664d
|
1754398600.9473536
|
64eacf8276e029d3f64bf015463cdd22085fcf5008979cc5c2ed4618d87a5f8b
|
1754398601.0352705
|
ff3c0a5a56d246a67ca681397b13a2f570bb7e22
|
1754398600.9473536
|
06ed875df77e790ce5522d7a5605496108ef8c48
|
1754398600.9543538
|
bbb13c6e4c5b2093afc39298f4e2b9cb6d2d53e8
|
1754398600.8310754
|
null |
null |
null |
null |
null |
null |
null |
null |
null |
null |
null |
null |
null |
null |
null |
null |
null |
null |
null |
null |
null |
null |
null |
null |
null |
null |
null |
null |
null |
null |
null |
null |
null |
null |
null |
null |
null |
null |
null |
null |
null |
null |
null |
null |
null |
null |
null |
null |
null |
null |
null |
null |
null |
null |
null |
null |
null |
null |
null |
null |
null |
null |
null |
null |
null |
null |
null |
null |
null |
null |
null |
null |
null |
null |
null |
null |
null |
null |
null |
null |
null |
null |
null |
null |
null |
null |