Error occured when download the files
#1
by
sangryul
- opened
from datasets import load_dataset
dataset = load_dataset("PCEO-AI-CLUB/Ko-StrategyQA"
got below error
Generating train split: 0 examples [00:00, ? examples/s]Failed to read file '/userhomes/username/.cache/huggingface/datasets/downloads/f9969d8a59dcea945d3a77f1e62d5c27fe540a877ad027092d1dedcb1a5953f9' with error <class 'pyarrow.lib.ArrowInvalid'>: JSON parse error: Column(/b8677742616fef051f00/evidence/[]/[]/[]) changed from array to string in row 0
I think the dataset is not valid with json format
You have to download this dataset using hf_hub_download.
The example looks like this.
from huggingface_hub import hf_hub_download
hf_hub_download(repo_id=REPO_ID, filename="ko-strategy-qa_paragraphs.parquet", repo_type="dataset")
vkehfdl1
changed discussion status to
closed