SilverSight/scripts/download_leanstral.py
allaun fa8f6a2586 chore: commit utility scripts, MCP backend source, and archived data
Utility scripts:
- download_leanstral.py: HuggingFace model download for autoproof
- download_leanstral_urllib.py: stdlib-only variant
- prime_slos_explore.py: spectral signature exploration for primes

Infrastructure:
- scripts/mcp_backend/: Rust MCP backend (src + Cargo.toml/lock, target/ gitignored)

Data:
- .openresearch/artifacts/slos_checkpoints/: 128K checkpoint data
- archive/dead_code_2026-07-03/: 360K archived dead code
2026-07-04 02:06:51 -05:00

14 lines
505 B
Python

#!/usr/bin/env python3
"""Download Leanstral 1.5 NVFP4 GGUF from Hugging Face."""
import os
from huggingface_hub import hf_hub_download
os.makedirs(os.path.expanduser("~/models/leanstral"), exist_ok=True)
path = hf_hub_download(
repo_id="Frosty40/Leanstral-1.5-119B-A6B-GGUF-NVFP4",
filename="Leanstral-1.5-119B-A6B-NVFP4.gguf",
local_dir=os.path.expanduser("~/models/leanstral"),
)
size_gb = os.path.getsize(path) / (1024**3)
print(f"Downloaded to: {path}")
print(f"Size: {size_gb:.1f} GB")