Views
No views yet
lc0/BT4-1024x15x32h.L0 to L14. Every layer folder includes the layer config and the distributed checkpoint shards needed by SparseAutoEncoder.from_pretrained(...).k_30_e_16k_30_e_32k_60_e_16k_60_e_32k_90_e_16k_90_e_321<combo_id>/
2 L0/
3 config.json
4 sae_weights.safetensors
5 L1/
6 ...
7 ...
8 L14/1k_30_e_16/L13/config.json
2k_30_e_16/L13/sae_weights.safetensorsconfig.json includes fields such as:d_model = 1024act_fn = topkhook_point_in = blocks.<layer>.resid_mid_after_lnhook_point_out = blocks.<layer>.hook_mlp_out1from huggingface_hub import hf_hub_download
2
3config_path = hf_hub_download(
4 repo_id="JacklE0niden/lc0-BT4-tc",
5 filename="k_30_e_16/L13/config.json",
6)
7weights_path = hf_hub_download(
8 repo_id="JacklE0niden/lc0-BT4-tc",
9 filename="k_30_e_16/L13/sae_weights.safetensors",
10)1from huggingface_hub import snapshot_download
2from lm_saes.sae import SparseAutoEncoder
3
4local_dir = snapshot_download(
5 repo_id="JacklE0niden/lc0-BT4-tc",
6 allow_patterns="k_30_e_16/L13/*",
7)
8
9tc = SparseAutoEncoder.from_pretrained(
10 f"{local_dir}/k_30_e_16/L13"
11)k in the combo name refers to the top-k sparsity setting.e in the combo name is the expansion factor: the ratio of the feature dimension to that of the original residual stream.