Local dataset loading issues

stulcrad
Wed, 21 Feb 2024 19:22:16 +0000

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

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

and it throws

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?