# Load dataset from HF datasets

**URL:** <https://discuss.huggingface.co/t/load-dataset-from-hf-datasets/38105>\
**Category:** Beginners\
**Created:** [April 29, 2023, 10:06am UTC](https://discuss.huggingface.co/t/load-dataset-from-hf-datasets/38105 "2023-04-29T10:06:10Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![aman01ymca](https://avatars.discourse-cdn.com/v4/letter/a/90ced4/32.png) [@aman01ymca](https://discuss.huggingface.co/u/aman01ymca)\
**Post date:** [April 29, 2023, 10:06am UTC](https://discuss.huggingface.co/t/load-dataset-from-hf-datasets/38105/1 "2023-04-29T10:06:10Z")

</div>

I am not able to download this dataset which is part of the tokenizer tutorial-raw\_datasets = load\_dataset(“code\_search\_net”, “python”). I get the following error- NotADirectoryError: [Errno 20] Not a directory: ‘/root/.cache/huggingface/datasets/downloads/25ceeb4c25ab737d688bd56ea92bfbb1f199fe572470456cf2d675479f342ac7/python/final/jsonl/train’

---

<div class="post-metadata">

**Author:** ![mariosasko](https://sea2.discourse-cdn.com/hellohellohello/user_avatar/discuss.huggingface.co/mariosasko/32/31548_2.png) [@mariosasko](https://discuss.huggingface.co/u/mariosasko)\
**Post date:** [May 2, 2023, 2:13pm UTC](https://discuss.huggingface.co/t/load-dataset-from-hf-datasets/38105/2 "2023-05-02T14:13:11Z")

</div>

Hi! This issue has already been reported here: [code\_search\_net · Source data files are not accessible: 403 Forbidden error](https://huggingface.co/datasets/code_search_net/discussions/3). We are working on the fix.

(cc @albertvillanova)

---

<div class="post-metadata">

**Author:** ![albertvillanova](https://sea2.discourse-cdn.com/hellohellohello/user_avatar/discuss.huggingface.co/albertvillanova/32/26537_2.png) [@albertvillanova](https://discuss.huggingface.co/u/albertvillanova)\
**Post date:** [February 22, 2024, 3:40pm UTC](https://discuss.huggingface.co/t/load-dataset-from-hf-datasets/38105/3 "2024-02-22T15:40:54Z")

</div>

Issue was fixed on 11th May 2023: [code\_search\_net · Host data files](https://huggingface.co/datasets/code_search_net/discussions/7)

You can now load the dataset as usual.
