paperswithcode / galai

Model API for GALACTICA
Apache License 2.0
2.67k stars 275 forks source link

How to remove models #61

Closed yratof closed 1 year ago

yratof commented 1 year ago

I wanted to test huge, but i ran it on the wrong drive, can't seem to see where the files are stored - is there a method of removing models?

yratof commented 1 year ago

Answer: /home/username/.cache/huggingface/hub/model_name

mkardas commented 1 year ago

Yes, see https://huggingface.co/docs/transformers/v4.25.1/en/installation#cache-setup for more details and other operating systems. You can change the download location by setting TRANSFORMERS_CACHE environment variable accordingly.