# Beginner needs help load\_dataset FileNotFoundError

**URL:** </static-proxy?url=https%3A%2F%2Fdiscuss.huggingface.co%2Ft%2Fbeginner-needs-help-load-dataset-filenotfounderror%2F47489%3E%5C
**Category:** Beginners\
**Created:** [July 20, 2023, 1:49pm UTC](/static-proxy?url=https%3A%2F%2Fdiscuss.huggingface.co%2Ft%2Fbeginner-needs-help-load-dataset-filenotfounderror%2F47489 "2023-07-20T13:49:54Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![RainerGa](https://avatars.discourse-cdn.com/v4/letter/r/ad7895/32.png) [@RainerGa](/static-proxy?url=https%3A%2F%2Fdiscuss.huggingface.co%2Fu%2FRainerGa)%5C
**Post date:** [July 20, 2023, 1:49pm UTC](/static-proxy?url=https%3A%2F%2Fdiscuss.huggingface.co%2Ft%2Fbeginner-needs-help-load-dataset-filenotfounderror%2F47489%2F1 "2023-07-20T13:49:54Z")

</div>

Hello Everybody,

I am an absolute beginner and I hope you can help me.

I created the RainerGa/openassistant-guanaco-de for finetuning Falcon with only german Language.

But I am getting an Error.

I hope you can help me find my mistake. Thanks a lot!

Rainer

from datasets import load\_dataset  
dataset\_name = “RainerGa/openassistant-guanaco-de”

dataset = load\_dataset(dataset\_name, split=“train”)

* * *

FileNotFoundError Traceback (most recent call last)

in \<cell line: 8\>()  
6 # dataset = load\_dataset(dataset\_name, split=“train”)  
7 dataset\_name = “RainerGa/openassistant-guanaco-de”  
----\> 8 dataset = load\_dataset(dataset\_name, split=“train”)  
9

2 frames

/usr/local/lib/python3.10/dist-packages/datasets/load.py in dataset\_module\_factory(path, revision, download\_config, download\_mode, dynamic\_modules\_path, data\_dir, data\_files, \*\*download\_kwargs)  
1225 raise e1 from None  
1226 if isinstance(e1, FileNotFoundError):  
 → 1227 raise FileNotFoundError(  
1228 f"Couldn’t find a dataset script at {relative\_to\_absolute\_path(combined\_path)} or any data file in the same directory. "  
1229 f"Couldn’t find ‘{path}’ on the Hugging Face Hub either: {type(e1). **name** }: {e1}"

FileNotFoundError: Couldn’t find a dataset script at /content/RainerGa/openassistant-guanaco-de/openassistant-guanaco-de.py or any data file in the same directory. Couldn’t find ‘RainerGa/openassistant-guanaco-de’ on the Hugging Face Hub either: FileNotFoundError: Dataset ‘RainerGa/openassistant-guanaco-de’ doesn’t exist on the Hub. If the repo is private or gated, make sure to log in with `huggingface-cli login`.

---

<div class="post-metadata">

**Author:** ![univanxx](https://sea2.discourse-cdn.com/hellohellohello/user_avatar/discuss.huggingface.co/univanxx/32/39595_2.png) [@univanxx](/static-proxy?url=https%3A%2F%2Fdiscuss.huggingface.co%2Fu%2Funivanxx)%5C
**Post date:** [July 20, 2023, 2:14pm UTC](/static-proxy?url=https%3A%2F%2Fdiscuss.huggingface.co%2Ft%2Fbeginner-needs-help-load-dataset-filenotfounderror%2F47489%2F2 "2023-07-20T14:14:37Z")

</div>

Hello, looks like load\_dataset() script can’t find your dataset/loading script directory. Are you loading a dataset from a folder or using a script? Anyway, datasets library has a good [documentation](https://huggingface.co/docs/datasets/loading) for that purpose. Hope this can help!

---

<div class="post-metadata">

**Author:** ![GangTu](https://avatars.discourse-cdn.com/v4/letter/g/8491ac/32.png) [@GangTu](/static-proxy?url=https%3A%2F%2Fdiscuss.huggingface.co%2Fu%2FGangTu)%5C
**Post date:** [September 14, 2024, 9:22am UTC](/static-proxy?url=https%3A%2F%2Fdiscuss.huggingface.co%2Ft%2Fbeginner-needs-help-load-dataset-filenotfounderror%2F47489%2F3 "2024-09-14T09:22:59Z")

</div>

I recommend you to download the dataset and use datasets.load\_from\_disk instead.
