# Local dataset loading issues

**URL:** <https://discuss.huggingface.co/t/local-dataset-loading-issues/74190>\
**Category:** 🤗Datasets\
**Created:** [February 21, 2024, 7:22pm UTC](https://discuss.huggingface.co/t/local-dataset-loading-issues/74190 "2024-02-21T19:22:16Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![stulcrad](https://avatars.discourse-cdn.com/v4/letter/s/4bbf92/32.png) [@stulcrad](https://discuss.huggingface.co/u/stulcrad)\
**Post date:** [February 21, 2024, 7:22pm UTC](https://discuss.huggingface.co/t/local-dataset-loading-issues/74190/1 "2024-02-21T19:22:16Z")

</div>

Hello,

I have a small issue, I would like to ask someone for a help.  
I wrote a loading script for my local dataset, which is not on hugging face, but is in my local folder in .conll format.  
When I want to load my dataset, it throws a ModuleNotFoundError, which is obvious, since it tries to load my dataset as a module

I try to load the dataset with load\_dataset

```auto
dataset = load_dataset("CNEC/cnec2.0_extended", trust_remote_code=True)

```

and it throws

```auto
ModuleNotFoundError: No module named 'datasets_modules.datasets.cnec2'

```

do I have to first upload the dataset to the hugging face, or am I doing something wrong?

---

<div class="post-metadata">

**Author:** ![stulcrad](https://avatars.discourse-cdn.com/v4/letter/s/4bbf92/32.png) [@stulcrad](https://discuss.huggingface.co/u/stulcrad)\
**Post date:** [February 22, 2024, 7:29pm UTC](https://discuss.huggingface.co/t/local-dataset-loading-issues/74190/2 "2024-02-22T19:29:07Z")

</div>

The issue was, that the hugging face load\_dataset does not like the dot ‘.’ in the name of the file, I changed the name to one without a dot and the dataset was loaded.

---

<div class="post-metadata">

**Author:** ![Cameron-oos](https://sea2.discourse-cdn.com/hellohellohello/user_avatar/discuss.huggingface.co/cameron-oos/32/23127_2.png) [@Cameron-oos](https://discuss.huggingface.co/u/Cameron-oos)\
**Post date:** [February 23, 2024, 9:47am UTC](https://discuss.huggingface.co/t/local-dataset-loading-issues/74190/3 "2024-02-23T09:47:55Z")

</div>

Yeah the **dot** was definitely the issue. It is not good naming convention to put periods in names. These normally indicate the start of the file extension.

---

<div class="post-metadata">

**Author:** ![system](https://us1.discourse-cdn.com/hellohellohello/original/2X/d/de4155eb4aa4108ecb32a1389d7cc37ae69f88b7.png) [@system](https://discuss.huggingface.co/u/system)\
**Post date:** [March 26, 2024, 10:50pm UTC](https://discuss.huggingface.co/t/local-dataset-loading-issues/74190/4 "2024-03-26T22:50:15Z")

</div>

This topic was automatically closed 12 hours after the last reply. New replies are no longer allowed.
