How to get list of downloaded models names?
I need to get list of downloaded models names.There is location for downloaded models but it does not show proper name. It show only numbers and words random name. Location -~/.cache/huggingface/transformersHow can get list of downloaded models names which I used previously using Transformers?
2022-09-12T13:02:49Z
If you take a peek at the main version (which will be released tomorrow or Wednesday) the cache migrates to another format where you can quickly see the repo names
2022-09-12T14:53:12Z
That is good news but how to do it today?
2022-09-20T04:54:57Z
Any news for this question?
2023-08-28T03:16:49Z
+1 for original poster, any updates?
2023-08-28T03:24:25Z
Found a way to do it:First:pip install 'huggingface_hub[cli]'Then:huggingface-cli delete-cacheWhich will show you a list of models you can select/deselect for deletion.Source:Remove downloaded tensorflow and pytorch(Hugging face) models - Stack Overflow
2024-05-24T13:44:28Z
I believe the best way to do it right now would be:huggingface-cli scan-cacheif you then wish to do delete somethingpip install huggingface_hub[cli]

 huggingface-cli delete-cachewill pop-up a cool cli to do it