Datasets:
Dataset Loader is not working
Dear Shared Task organziers,
I just tried out to download the dataset via load_dataset("alabnii/sciclaimeval-shared-task", split="task1") method from the HF SDK and got the following Error for both tasks:
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 ({'sample_id', 'evidence_id_2', 'evidence_id_1', 'question'}) and 4 missing columns ({'evi_path_original', 'claim_id_pair', 'evi_path', 'claim_id'}).
This happened while the json dataset builder was generating data using
hf://datasets/alabnii/sciclaimeval-shared-task/data/dev_task2_release.json (at revision 73b2074477204b8a0e3a2002b19f067c5bed1392), [[....]/.cache/huggingface/hub/datasets--alabnii--sciclaimeval-shared-task/snapshots/73b2074477204b8a0e3a2002b19f067c5bed1392/data/dev_task2_release.json (origin=hf://datasets/alabnii/sciclaimeval-shared-task@73b2074477204b8a0e3a2002b19f067c5bed1392/data/dev_task2_release.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)
Hi,
Thank you for your feedback.
We have updated our README. Please download the dataset as follows:
- task1_dataset = load_dataset("alabnii/sciclaimeval-shared-task", name="task1", split="dev")
- task2_dataset = load_dataset("alabnii/sciclaimeval-shared-task", name="task2", split="dev")
Perfect, thanks for the fix.
It works now :)