NotADirectoryError: [Errno 20] Not a directory

#4
by liaoch - opened

WARNING:datasets.builder:No config specified, defaulting to: code_search_net/all
Downloading and preparing dataset code_search_net/all to /root/.cache/huggingface/datasets/code_search_net/all/1.0.0/80a244ab541c6b2125350b764dc5c2b715f65f00de7a56107a28915fac173a27...
Downloading data files: 100%
6/6 [00:00<00:00, 479.53it/s]
Extracting data files: 100%
6/6 [00:00<00:00, 322.09it/s]

NotADirectoryError Traceback (most recent call last)
in <cell line: 25>()
---> 25 dataset = load_dataset("code_search_net")

8 frames
/usr/local/lib/python3.9/dist-packages/datasets/download/streaming_download_manager.py in xlistdir(path, use_auth_token)
522 main_hop, *rest_hops = _as_str(path).split("::")
523 if is_local_path(main_hop):
--> 524 return os.listdir(path)
525 else:
526 # globbing inside a zip in a private repo requires authentication

NotADirectoryError: [Errno 20] Not a directory: '/root/.cache/huggingface/datasets/downloads/25ceeb4c25ab737d688bd56ea92bfbb1f199fe572470456cf2d675479f342ac7/python/final/jsonl/train'

code-search-net org

Thanks for reporting, @liaoch .

This is a known issue: the source data files are no longer accessible.

We have contacted the authors to try to find a solution.

See: #3

  • Let's continue the discussion there
albertvillanova changed discussion status to closed

Hi. This is happening again. Have the files gone missing again?

code-search-net org

No, @fasterinnerlooper , the data files are hosted in this repository.

Sign up or log in to comment