Error while loading the dataset: 403 Forbidden error from source data URLs

#2
by CM - opened

When I run the command load_dataset('code_x_glue_ct_code_to_text', 'go', split='train'), there is an error. The error message is as follows:
File "/anaconda3/envs/chatgpt/lib/python3.8/site-packages/datasets/builder.py", line 1646, in _prepare_split_single
raise DatasetGenerationError("An error occurred while generating the dataset") from e.

My datasets version is 2.11.0

Thanks for reporting, @CM .

Apparently, there is an issue with the links to the source data files: https://s3.amazonaws.com/code-search-net/CodeSearchNet/v2/go.zip

  • It gives a 403 Forbidden error

We are contacting the dataset authors.

albertvillanova changed discussion title from Error while loading the dataset to Error while loading the dataset: 403 Forbidden error from source data URLs

We are finally hosting the CodeSearchNet data files in the Hugging Face Hub. See: https://huggingface.co/datasets/code_search_net/discussions/7

This issue has been fixed by: #3

albertvillanova changed discussion status to closed

Sign up or log in to comment