# Load dataset from files already downloaded

**URL:** <https://discuss.huggingface.co/t/load-dataset-from-files-already-downloaded/85491>\
**Category:** 🤗Datasets\
**Created:** [May 6, 2024, 7:01pm UTC](https://discuss.huggingface.co/t/load-dataset-from-files-already-downloaded/85491 "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](https://discuss.huggingface.co/u/abnerguzman)\
**Post date:** [May 6, 2024, 7:01pm UTC](https://discuss.huggingface.co/t/load-dataset-from-files-already-downloaded/85491/1 "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](https://discuss.huggingface.co/u/abnerguzman)\
**Post date:** [May 6, 2024, 7:02pm UTC](https://discuss.huggingface.co/t/load-dataset-from-files-already-downloaded/85491/2 "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)
