Do I need the objects under .git/lfs if I just want to use current version of models?
The model files in huggingface are very large and they all require rungit clone lfsbefore actuallygit clone. I found .git/lfs has many large objects. Are those objects pertaining to old files/models only?I removed the objects under .git/lfs and still can load the model from the local downloaded repo folder. So this makes me wonder if I just want to use current version of models, can the objects under .git/lfs safely be removed to save some disk space?
2023-03-06T12:31:19Z
Yes that should work – or you could also just download the current version of the model withhuggingface_hub’ssnapshot_downloadmethod(cc@wauplin)Hope this helps,Julien
2023-03-06T13:25:09Z
Yes exactly. Agree with Julien thatsnapshot_downloadis the good solution to save disk usage. Here is thedocumentation guideon how to download.