Models take all ubuntu free space
I use ubuntu 20.04, and it seems that after I’m using some models, the free space is just disappear. (250 GB)where does the models cache are saved to?is there some command to clean them?thanks!
2021-05-12T12:59:48Z
Models are cached in the~/.cache/huggingface/transformersdirectory (from your home directory)
2021-05-13T06:55:01Z
thanks!wow, 180GB got free.
2021-05-17T11:40:40Z
If its not strictly required, try the distill versions of models, they are typically smaller and you can use them interchangeably inmost cases.You can select for them in the models’ page like thisHugging Face – The AI community building the future.typically distill models also outperform full models in resource constrained environments