| from pathlib import Path | |
| root=Path(r"C:/Users/Hadi Schumacher/.cache/huggingface/hub") | |
| for d in sorted(root.glob("models--*")): | |
| blobs=d/"blobs" | |
| total=sum(p.stat().st_size for p in blobs.glob("*") if p.is_file()) if blobs.exists() else 0 | |
| largest=max((p.stat().st_size for p in blobs.glob("*") if p.is_file()), default=0) | |
| print(f"{d.name} total={total} largest={largest}") | |
Xet Storage Details
- Size:
- 387 Bytes
- Xet hash:
- 219a1d5101b9e1cebb159c9badc9f6763cc5cb20c363756fd6bb8e0529daad9c
·
Xet efficiently stores files, intelligently splitting them into unique chunks and accelerating uploads and downloads. More info.