Calculating the size of all LFS files in a repo

from blog Simon Willison TIL, | ↗ original
I wanted to know how large the deepseek-ai/DeepSeek-V3-Base repo on Hugging Face was without actually downloading all of the files. With some help from Claude, here's the recipe that worked. First, clone the repo without having Git LFS download the files: GIT_LFS_SKIP_SMUDGE=1 git clone https://huggingface.co/deepseek-ai/DeepSeek-V3-Base cd...