# Load dataset from files already downloaded

**URL:** </static-proxy?url=https%3A%2F%2Fdiscuss.huggingface.co%2Ft%2Fload-dataset-from-files-already-downloaded%2F85491%3E%5C
**Category:** 🤗Datasets\
**Created:** [May 6, 2024, 7:01pm UTC](/static-proxy?url=https%3A%2F%2Fdiscuss.huggingface.co%2Ft%2Fload-dataset-from-files-already-downloaded%2F85491 "2024-05-06T19:01:06Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![abnerguzman](https://avatars.discourse-cdn.com/v4/letter/a/ed8c4c/32.png) [@abnerguzman](/static-proxy?url=https%3A%2F%2Fdiscuss.huggingface.co%2Fu%2Fabnerguzman)%5C
**Post date:** [May 6, 2024, 7:01pm UTC](/static-proxy?url=https%3A%2F%2Fdiscuss.huggingface.co%2Ft%2Fload-dataset-from-files-already-downloaded%2F85491%2F1 "2024-05-06T19:01:07Z")

</div>

Hi. I’m having troubles loading the dolma dataset.

After downloading all files I try to load like this:

`dataset = load_dataset("allenai/dolma", split="train", data_dir='/nvmedata/dolma_files/', cache_dir="/nvmedata/cache")`

However, invariably, the load\_dataset function tries to download more data… it would seem like it does not want to use the files already dowloaded.

---

<div class="post-metadata">

**Author:** ![abnerguzman](https://avatars.discourse-cdn.com/v4/letter/a/ed8c4c/32.png) [@abnerguzman](/static-proxy?url=https%3A%2F%2Fdiscuss.huggingface.co%2Fu%2Fabnerguzman)%5C
**Post date:** [May 6, 2024, 7:02pm UTC](/static-proxy?url=https%3A%2F%2Fdiscuss.huggingface.co%2Ft%2Fload-dataset-from-files-already-downloaded%2F85491%2F2 "2024-05-06T19:02:18Z")

</div>

Files are all in one folder like this:

 ![Screenshot 2024-05-06 at 12.02.08 PM](https://us1.discourse-cdn.com/hellohellohello/original/3X/0/3/03eee7d7ce600a3ff1c46bc59fbd2076e73670a1.png)
