Datasets:

Languages:
English
Multilinguality:
monolingual
Size Categories:
10K<n<100K
Language Creators:
crowdsourced
found
Annotations Creators:
crowdsourced
Source Datasets:
original
ArXiv:
Tags:
License:

BadZipFile error

#5
by abcbdf - opened

datasets.load_dataset("piqa") will raise
File "***lib/python3.11/zipfile.py", line 1369, in _RealGetContents
raise BadZipFile("File is not a zip file")
zipfile.BadZipFile: File is not a zip file

Datasets Maintainers org

Thanks for reporting, @abcbdf .

We are investigating the issue.

Datasets Maintainers org

We can't reproduce the issue:

ds = load_dataset("piqa")
ds
DatasetDict({
    train: Dataset({
        features: ['goal', 'sol1', 'sol2', 'label'],
        num_rows: 16113
    })
    test: Dataset({
        features: ['goal', 'sol1', 'sol2', 'label'],
        num_rows: 3084
    })
    validation: Dataset({
        features: ['goal', 'sol1', 'sol2', 'label'],
        num_rows: 1838
    })
})

Maybe you had a temporary network issue and the ZIP file got corrupted while downloading it...

Could you please re-try by forcing the re-download of the data files?

ds = load_dataset("piqa", download_mode="force_redownload")

Sign up or log in to comment