# Local dataset loading issues

**URL:** </static-proxy?url=https%3A%2F%2Fdiscuss.huggingface.co%2Ft%2Flocal-dataset-loading-issues%2F74190%3E%5C
**Category:** 🤗Datasets\
**Created:** [February 21, 2024, 7:22pm UTC](/static-proxy?url=https%3A%2F%2Fdiscuss.huggingface.co%2Ft%2Flocal-dataset-loading-issues%2F74190 "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](/static-proxy?url=https%3A%2F%2Fdiscuss.huggingface.co%2Fu%2Fstulcrad)%5C
**Post date:** [February 21, 2024, 7:22pm UTC](/static-proxy?url=https%3A%2F%2Fdiscuss.huggingface.co%2Ft%2Flocal-dataset-loading-issues%2F74190%2F1 "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](/static-proxy?url=https%3A%2F%2Fdiscuss.huggingface.co%2Fu%2Fstulcrad)%5C
**Post date:** [February 22, 2024, 7:29pm UTC](/static-proxy?url=https%3A%2F%2Fdiscuss.huggingface.co%2Ft%2Flocal-dataset-loading-issues%2F74190%2F2 "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](/static-proxy?url=https%3A%2F%2Fdiscuss.huggingface.co%2Fu%2FCameron-oos)%5C
**Post date:** [February 23, 2024, 9:47am UTC](/static-proxy?url=https%3A%2F%2Fdiscuss.huggingface.co%2Ft%2Flocal-dataset-loading-issues%2F74190%2F3 "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](/static-proxy?url=https%3A%2F%2Fdiscuss.huggingface.co%2Fu%2Fsystem)%5C
**Post date:** [March 26, 2024, 10:50pm UTC](/static-proxy?url=https%3A%2F%2Fdiscuss.huggingface.co%2Ft%2Flocal-dataset-loading-issues%2F74190%2F4 "2024-03-26T22:50:15Z")

</div>

Closed on March 26, 2024, 10:50pm UTC

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