delete files downloaded by outlines python library

53 Views Asked by At
import outlines
model = outlines.models.transformers('mistralai/Mistal-7B-v0.1')

I had run the above code on my m1 macbook to try mistral llm, because of that 16 GB size of weights were downloaded on my system. Now I cant find where they were downloaded. I need to delete those files from system to free up my space. Please help me locate those files. Uninstalling the library also didnt help free up my space.

2

There are 2 best solutions below

0
Nick ODell On BEST ANSWER

It appears to be downloaded to the directory ~/.cache/huggingface/hub.

You can run cd ~/.cache/huggingface/hub in the terminal to change to this directory, or run open ~/.cache/huggingface/hub to open Finder in this directory.

Versions used: OSX 13.6.1, Python 3.10.10, outlines 0.0.32, and transformers 4.37.2.

2
j3ffyang On

You can run the following script in terminal to find out where the large files go

du -sh -- * | sort -rh