OSError: Consistency check failed: file should be of size 0 but has size 5017 (story_cloze.py).

#4
by armeriaw - opened

When I try to download this dataset using hf-cli, it shows the error below:

File "/usr/local/lib/python3.10/dist-packages/huggingface_hub/file_download.py", line 1492, in hf_hub_download
    http_get(
  File "/usr/local/lib/python3.10/dist-packages/huggingface_hub/file_download.py", line 575, in http_get
    raise EnvironmentError(
OSError: Consistency check failed: file should be of size 0 but has size 5017 (story_cloze.py).
We are sorry for the inconvenience. Please retry download and pass `force_download=True, resume_download=False` as argument.
If the issue persists, please let us know by opening an issue on https://github.com/huggingface/huggingface_hub.

My command is:
huggingface-cli download --repo-type dataset --local-dir data_cache/storycloze LSDSem/story_cloze --force-download

version info:

huggingface-hub               0.21.4
transformers                  4.38.2
datasets                      2.19.1

Sign up or log in to comment