Sigurdur/icebreaker
Text Generation
•
Updated
•
2.34k
Error code: DatasetGenerationError Exception: CastError Message: Couldn't cast input_ids: list<item: int32> child 0, item: int32 attention_mask: list<item: int8> child 0, item: int8 -- schema metadata -- huggingface: '{"info": {"features": {"input_ids": {"feature": {"dtype": "' + 139 to {'indices': Value(dtype='uint64', id=None)} because column names don't match Traceback: Traceback (most recent call last): File "/src/services/worker/.venv/lib/python3.9/site-packages/datasets/builder.py", line 1995, in _prepare_split_single for _, table in generator: File "/src/services/worker/.venv/lib/python3.9/site-packages/datasets/packaged_modules/arrow/arrow.py", line 71, in _generate_tables yield f"{file_idx}_{batch_idx}", self._cast_table(pa_table) File "/src/services/worker/.venv/lib/python3.9/site-packages/datasets/packaged_modules/arrow/arrow.py", line 59, in _cast_table pa_table = table_cast(pa_table, self.info.features.arrow_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 input_ids: list<item: int32> child 0, item: int32 attention_mask: list<item: int8> child 0, item: int8 -- schema metadata -- huggingface: '{"info": {"features": {"input_ids": {"feature": {"dtype": "' + 139 to {'indices': Value(dtype='uint64', id=None)} because column names don't match The above exception was the direct cause of the following exception: Traceback (most recent call last): File "/src/services/worker/src/worker/job_runners/config/parquet_and_info.py", line 1529, 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 1154, 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 2038, in _prepare_split_single raise DatasetGenerationError("An error occurred while generating the dataset") from e datasets.exceptions.DatasetGenerationError: An error occurred while generating the dataset
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.
indices
uint64 |
---|
231,903 |
97,180 |
363,442 |
296,224 |
182,470 |
121,252 |
55,396 |
329,393 |
338,075 |
123,715 |
135,659 |
24,838 |
359,114 |
361,836 |
134,192 |
189,151 |
173,820 |
87,603 |
318,128 |
314,782 |
89,630 |
45,711 |
367,310 |
56,506 |
274,938 |
318,673 |
185,313 |
200,779 |
52,841 |
322,519 |
167,500 |
177,573 |
70,467 |
354,925 |
125,044 |
227,919 |
87,760 |
328,009 |
164,460 |
346,656 |
63,539 |
359,927 |
239,020 |
24,233 |
42,546 |
367,132 |
178,766 |
257,585 |
349,140 |
33,114 |
322,826 |
307,232 |
92,262 |
103,454 |
295,809 |
74,482 |
347,363 |
337,007 |
160,035 |
161,138 |
62,189 |
135,710 |
173,759 |
263,787 |
306,467 |
3,682 |
287,610 |
177,997 |
2,693 |
177,497 |
194,333 |
141,420 |
145,473 |
186,758 |
257,879 |
86,308 |
355,595 |
120,005 |
351,920 |
231,472 |
25,142 |
241,300 |
207,866 |
308,844 |
261,715 |
12,087 |
344,274 |
224,906 |
122,893 |
17,350 |
18,467 |
207,468 |
8,781 |
211,150 |
276,465 |
353,106 |
313,840 |
174,732 |
115,015 |
119,323 |