Views
No views yet
moonshotai/Kimi-K2.7-Codeweight_packed (the 4-bit weights, 7MB per expert) — fetch on-demand during inference1from huggingface_hub import snapshot_download
2import torch, numpy as np
3
4path = snapshot_download(
5 repo_id="gamansai/asteria-kimi-k27-brain-sparse",
6 allow_patterns="L01/E000/*"
7)
8
9raw = open(f"{path}/L01/E000/gate_proj_weight_scale.bin", "rb").read()
10u16 = np.frombuffer(raw, dtype=np.uint16)
11tensor = torch.from_numpy(u16.copy()).view(torch.bfloat16)
12print(f"Shape: {tensor.shape}")
13print(f"Mean: {tensor.float().mean():.6f}") # ~0.007