# Load dataset from HF datasets

**URL:** </static-proxy?url=https%3A%2F%2Fdiscuss.huggingface.co%2Ft%2Fload-dataset-from-hf-datasets%2F38105%3E%5C
**Category:** Beginners\
**Created:** [April 29, 2023, 10:06am UTC](/static-proxy?url=https%3A%2F%2Fdiscuss.huggingface.co%2Ft%2Fload-dataset-from-hf-datasets%2F38105 "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](/static-proxy?url=https%3A%2F%2Fdiscuss.huggingface.co%2Fu%2Faman01ymca)%5C
**Post date:** [April 29, 2023, 10:06am UTC](/static-proxy?url=https%3A%2F%2Fdiscuss.huggingface.co%2Ft%2Fload-dataset-from-hf-datasets%2F38105%2F1 "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](/static-proxy?url=https%3A%2F%2Fdiscuss.huggingface.co%2Fu%2Fmariosasko)%5C
**Post date:** [May 2, 2023, 2:13pm UTC](/static-proxy?url=https%3A%2F%2Fdiscuss.huggingface.co%2Ft%2Fload-dataset-from-hf-datasets%2F38105%2F2 "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](/static-proxy?url=https%3A%2F%2Fdiscuss.huggingface.co%2Fu%2Falbertvillanova)%5C
**Post date:** [February 22, 2024, 3:40pm UTC](/static-proxy?url=https%3A%2F%2Fdiscuss.huggingface.co%2Ft%2Fload-dataset-from-hf-datasets%2F38105%2F3 "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.
