# Colab cannot find HuggingFace dataset

**URL:** </static-proxy?url=https%3A%2F%2Fdiscuss.huggingface.co%2Ft%2Fcolab-cannot-find-huggingface-dataset%2F63448%3E%5C
**Category:** 🤗Datasets\
**Created:** [November 24, 2023, 9:18pm UTC](/static-proxy?url=https%3A%2F%2Fdiscuss.huggingface.co%2Ft%2Fcolab-cannot-find-huggingface-dataset%2F63448 "2023-11-24T21:18:42Z")\
**Posts on this page:** 8\
**Page:** 1

<div class="post-metadata">

**Author:** ![lnxdx](https://sea2.discourse-cdn.com/hellohellohello/user_avatar/discuss.huggingface.co/lnxdx/32/20601_2.png) [@lnxdx](/static-proxy?url=https%3A%2F%2Fdiscuss.huggingface.co%2Fu%2Flnxdx)%5C
**Post date:** [November 24, 2023, 9:18pm UTC](/static-proxy?url=https%3A%2F%2Fdiscuss.huggingface.co%2Ft%2Fcolab-cannot-find-huggingface-dataset%2F63448%2F1 "2023-11-24T21:18:42Z")

</div>

When I try to run the following code to load a dataset from Hugging Face hub to google Colab, I get an error!

```auto
! pip install transformers datasets
from datasets import load_dataset
cv_13 = load_dataset("mozilla-foundation/common_voice_13_0", "en", split="train")

```

```auto
<ipython-input-9-4d772f75be89> in <cell line: 3>()
      1 from datasets import load_dataset
      2 
----> 3 cv_13 = load_dataset("mozilla-foundation/common_voice_13_0", "en", split="train")

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)
   1505 raise e1 from None
   1506 if isinstance(e1, FileNotFoundError):
-> 1507 raise FileNotFoundError(
   1508 f"Couldn't find a dataset script at {relative_to_absolute_path(combined_path)} or any data file in the same directory. "
   1509 f"Couldn't find '{path}' on the Hugging Face Hub either: {type(e1). __name__ }: {e1}"

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

```

The dataset exists in Huggingface hub and loads successfully in my local Jupiter Lab. What should I do?

---

<div class="post-metadata">

**Author:** ![julien-c](https://sea2.discourse-cdn.com/hellohellohello/user_avatar/discuss.huggingface.co/julien-c/32/41937_2.png) [@julien-c](/static-proxy?url=https%3A%2F%2Fdiscuss.huggingface.co%2Fu%2Fjulien-c)%5C
**Post date:** [November 27, 2023, 9:11am UTC](/static-proxy?url=https%3A%2F%2Fdiscuss.huggingface.co%2Ft%2Fcolab-cannot-find-huggingface-dataset%2F63448%2F2 "2023-11-27T09:11:00Z")

</div>

Which version of datasets are you using?

cc @lhoestq just in case

---

<div class="post-metadata">

**Author:** ![lhoestq](https://sea2.discourse-cdn.com/hellohellohello/user_avatar/discuss.huggingface.co/lhoestq/32/52888_2.png) [@lhoestq](/static-proxy?url=https%3A%2F%2Fdiscuss.huggingface.co%2Fu%2Flhoestq)%5C
**Post date:** [November 27, 2023, 10:00am UTC](/static-proxy?url=https%3A%2F%2Fdiscuss.huggingface.co%2Ft%2Fcolab-cannot-find-huggingface-dataset%2F63448%2F3 "2023-11-27T10:00:37Z")

</div>

The Common Voice dataset is a gated dataset, so you need to log in to access it.

Can you try to log in using `huggingface-cli login` or pass  
a [HF token](https://huggingface.co/settings/tokens) `load_dataset(..., token=...)` ?

---

<div class="post-metadata">

**Author:** ![lnxdx](https://sea2.discourse-cdn.com/hellohellohello/user_avatar/discuss.huggingface.co/lnxdx/32/20601_2.png) [@lnxdx](/static-proxy?url=https%3A%2F%2Fdiscuss.huggingface.co%2Fu%2Flnxdx)%5C
**Post date:** [November 27, 2023, 10:43am UTC](/static-proxy?url=https%3A%2F%2Fdiscuss.huggingface.co%2Ft%2Fcolab-cannot-find-huggingface-dataset%2F63448%2F5 "2023-11-27T10:43:06Z")

</div>

I logged in using `huggingface-cli login` and the dataset is currently being downloaded.  
datasets version is `datasets-2.15.0-py3-none-any.whl`.

---

<div class="post-metadata">

**Author:** ![lnxdx](https://sea2.discourse-cdn.com/hellohellohello/user_avatar/discuss.huggingface.co/lnxdx/32/20601_2.png) [@lnxdx](/static-proxy?url=https%3A%2F%2Fdiscuss.huggingface.co%2Fu%2Flnxdx)%5C
**Post date:** [November 27, 2023, 10:44am UTC](/static-proxy?url=https%3A%2F%2Fdiscuss.huggingface.co%2Ft%2Fcolab-cannot-find-huggingface-dataset%2F63448%2F6 "2023-11-27T10:44:07Z")

</div>

I logged in using huggingface-cli login and the dataset is currently being downloaded. Thank you!

---

<div class="post-metadata">

**Author:** ![wangguan1995](https://avatars.discourse-cdn.com/v4/letter/w/4bbf92/32.png) [@wangguan1995](/static-proxy?url=https%3A%2F%2Fdiscuss.huggingface.co%2Fu%2Fwangguan1995)%5C
**Post date:** [June 6, 2024, 6:55am UTC](/static-proxy?url=https%3A%2F%2Fdiscuss.huggingface.co%2Ft%2Fcolab-cannot-find-huggingface-dataset%2F63448%2F7 "2024-06-06T06:55:27Z")

</div>

#Dataset xxx doesn’t exist on the Hub or cannot be accessed  
Meet similar problem can load public dataset, not for private dataset

---

<div class="post-metadata">

**Author:** ![wangguan1995](https://avatars.discourse-cdn.com/v4/letter/w/4bbf92/32.png) [@wangguan1995](/static-proxy?url=https%3A%2F%2Fdiscuss.huggingface.co%2Fu%2Fwangguan1995)%5C
**Post date:** [June 6, 2024, 6:57am UTC](/static-proxy?url=https%3A%2F%2Fdiscuss.huggingface.co%2Ft%2Fcolab-cannot-find-huggingface-dataset%2F63448%2F8 "2024-06-06T06:57:47Z")

</div>

I tried the same things. It does not work. Mine is a private dataset.

---

<div class="post-metadata">

**Author:** ![elifyoldas](https://avatars.discourse-cdn.com/v4/letter/e/bbce88/32.png) [@elifyoldas](/static-proxy?url=https%3A%2F%2Fdiscuss.huggingface.co%2Fu%2Felifyoldas)%5C
**Post date:** [April 28, 2025, 10:36am UTC](/static-proxy?url=https%3A%2F%2Fdiscuss.huggingface.co%2Ft%2Fcolab-cannot-find-huggingface-dataset%2F63448%2F9 "2025-04-28T10:36:14Z")

</div>

it works, thank you
