mirror of
https://github.com/allaunthefox/SilverSight.git
synced 2026-07-30 17:16:16 +00:00
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
14 lines
505 B
Python
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")
|