Load error.
Hello, i tried load the dataset but get following error. How to fix it?
dataset = load_dataset("yuyijiong/Long-Instruction")
Generating train split: 1574 examples [00:04, 384.17 examples/s]
Traceback (most recent call last):
File "/root/miniconda3/envs/eval/lib/python3.10/site-packages/datasets/builder.py", line 2005, in _prepare_split_single
writer.write_table(table)
File "/root/miniconda3/envs/eval/lib/python3.10/site-packages/datasets/arrow_writer.py", line 584, in write_table
pa_table = table_cast(pa_table, self._schema)
File "/root/miniconda3/envs/eval/lib/python3.10/site-packages/datasets/table.py", line 2255, in table_cast
return cast_table_to_schema(table, schema)
File "/root/miniconda3/envs/eval/lib/python3.10/site-packages/datasets/table.py", line 2209, in cast_table_to_schema
raise CastError(
datasets.table.CastError: Couldn't cast
text: string
instruction: string
output: string
instructions_continue: string
outputs_continue: string
input_ids_len: int64
-- schema metadata --
pandas: '{"index_columns": [{"kind": "range", "name": null, "start": 0, "' + 1001
to
{'text': Value(dtype='string', id=None), 'instruction': Value(dtype='string', id=None), 'output': Value(dtype='string', id=None)}
because column names don't match
Thanks
directly download json file from "Files and versions"
There is no JSON file.
json files are in the .zip file