# Accessing local data files

**URL:** </static-proxy?url=https%3A%2F%2Fdiscuss.huggingface.co%2Ft%2Faccessing-local-data-files%2F23299%3E%5C
**Category:** 🤗Datasets\
**Created:** [September 18, 2022, 12:21pm UTC](/static-proxy?url=https%3A%2F%2Fdiscuss.huggingface.co%2Ft%2Faccessing-local-data-files%2F23299 "2022-09-18T12:21:53Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![PremDeep](https://sea2.discourse-cdn.com/hellohellohello/user_avatar/discuss.huggingface.co/premdeep/32/6106_2.png) [@PremDeep](/static-proxy?url=https%3A%2F%2Fdiscuss.huggingface.co%2Fu%2FPremDeep)%5C
**Post date:** [September 18, 2022, 12:21pm UTC](/static-proxy?url=https%3A%2F%2Fdiscuss.huggingface.co%2Ft%2Faccessing-local-data-files%2F23299%2F1 "2022-09-18T12:21:53Z")

</div>

Instead of accessing the dataset files from local machine. Is there a way it could be uploaded to huggingspace files and access it from there?

---

<div class="post-metadata">

**Author:** ![lhoestq](https://sea2.discourse-cdn.com/hellohellohello/user_avatar/discuss.huggingface.co/lhoestq/32/64813_2.png) [@lhoestq](/static-proxy?url=https%3A%2F%2Fdiscuss.huggingface.co%2Fu%2Flhoestq)%5C
**Post date:** [September 23, 2022, 4:58pm UTC](/static-proxy?url=https%3A%2F%2Fdiscuss.huggingface.co%2Ft%2Faccessing-local-data-files%2F23299%2F2 "2022-09-23T16:58:16Z")

</div>

You can upload your dataset on the Hugging Face Hub indeed, see [Share a dataset to the Hub](https://huggingface.co/docs/datasets/upload_dataset)

Then you can load your dataset locally using `datasets` (either download it completely or load it in streaming mode) using `load_dataset()`
