DatasetGenerationCastError: An error occurred while generating the dataset

#3
by Mohith7548 - opened

Hey, firstly I appreciate the effort that the Author had put in consolidating this dataset.
However, I recently tried to load the dataset with the datasets==2.18.0 and I got the below error:

DatasetGenerationCastError: An error occurred while generating the dataset

All the data files must have the same columns, but at some point there are 1 new columns ({'score'})

This happened while the json dataset builder was generating data using

/root/.cache/huggingface/datasets/downloads/extracted/b01f1e3e768480568bf99acadd433f9070a221b75ad6745903756fd0993fcb77/asm_train.json

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)

Kindly help.

Sign up or log in to comment