# Remove dataset downloaded by dataset library from local computer

**URL:** <https://discuss.huggingface.co/t/remove-dataset-downloaded-by-dataset-library-from-local-computer/3051>\
**Category:** Beginners\
**Created:** [January 4, 2021, 3:04pm UTC](https://discuss.huggingface.co/t/remove-dataset-downloaded-by-dataset-library-from-local-computer/3051 "2021-01-04T15:04:22Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![guiaria](https://avatars.discourse-cdn.com/v4/letter/g/db5fbb/32.png) [@guiaria](https://discuss.huggingface.co/u/guiaria)\
**Post date:** [January 4, 2021, 3:04pm UTC](https://discuss.huggingface.co/t/remove-dataset-downloaded-by-dataset-library-from-local-computer/3051/1 "2021-01-04T15:04:22Z")

</div>

Hi ,  
Currently I have downloaded dataset “wmt19” with python library dataset in my WSL2 Ubuntu distro but now I want to delete this dataset but I cannot find where it located.

Could somebody tell me where is the dataset locate, or did it have function for remove dataset from local.  
Also I accidently delete cache data in .cache/huggingface. I’m not sure it will be any consequence here ?

---

<div class="post-metadata">

**Author:** ![guiaria](https://avatars.discourse-cdn.com/v4/letter/g/db5fbb/32.png) [@guiaria](https://discuss.huggingface.co/u/guiaria)\
**Post date:** [January 5, 2021, 7:31am UTC](https://discuss.huggingface.co/t/remove-dataset-downloaded-by-dataset-library-from-local-computer/3051/2 "2021-01-05T07:31:13Z")

</div>

I just found that It was a problem with WSL unable to reclaim space after delete file.

---

<div class="post-metadata">

**Author:** ![Shayne](https://avatars.discourse-cdn.com/v4/letter/s/5fc32e/32.png) [@Shayne](https://discuss.huggingface.co/u/Shayne)\
**Post date:** [April 25, 2023, 11:29pm UTC](https://discuss.huggingface.co/t/remove-dataset-downloaded-by-dataset-library-from-local-computer/3051/3 "2023-04-25T23:29:58Z")

</div>

Also dealing with this. Was it ever resolved?

Currently, to free up space I’m having to just run `rm -rf ~/.cache/huggingface/datasets/downloads/`. Is there a better way to do this / will it cause problems?

---

<div class="post-metadata">

**Author:** ![mariosasko](https://sea2.discourse-cdn.com/hellohellohello/user_avatar/discuss.huggingface.co/mariosasko/32/31548_2.png) [@mariosasko](https://discuss.huggingface.co/u/mariosasko)\
**Post date:** [May 2, 2023, 4:26pm UTC](https://discuss.huggingface.co/t/remove-dataset-downloaded-by-dataset-library-from-local-computer/3051/4 "2023-05-02T16:26:39Z")

</div>

It’s OK to run this command. Also, we plan to switch to `huggingface_hub`’s cache control soon to make deleting/inspecting cached artifacts easier.
