English
snae commited on
Commit
6ac1f2a
·
verified ·
1 Parent(s): c8f4f3a

Create configs.apertus.matching_pursuit.layer16.yaml

Browse files
sae_mp/layer16/apertus_mid16_8x/configs.apertus.matching_pursuit.layer16.yaml ADDED
@@ -0,0 +1,28 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ collect_activations: false
2
+ sae_train: true
3
+
4
+ sae:
5
+ out_dir: # directory containing acts_*.npy
6
+ sae_save_dir: #where to save the sae
7
+ sae_variant: mpsae
8
+ sae_expansion: 8.0 # d_sae = d_in * 8 (same as experiment2 for comparison)
9
+ sae_steps: 300000
10
+ sae_lr: 0.001
11
+ sae_lr_warmup: 1000
12
+ sae_lr_decay_every: 20000
13
+ sae_lr_decay_factor: 0.9
14
+ sae_min_lr: 0.000001
15
+ sae_mpsae_threshold: 5.0 #paper uses 0.05 for normalized activations, but our activations are not normalized and have higher L2 norms, so we use a higher threshold.. if sparsity to high, increase. if reconstruction to poor, decrease
16
+ sae_mpsae_max_iter: 50 # safeguard: max greedy steps per forward pass
17
+ sae_batch_size: 4096
18
+ sae_num_workers: 4
19
+ sae_prefetch_factor: 2
20
+ sae_checkpoint_interval: 10000
21
+ sae_keep_checkpoints: 5
22
+ sae_append_timestamp: false
23
+ sae_resume_from: null
24
+ sae_auto_resume: true
25
+ sae_eval_interval: 2500
26
+ sae_eval_batches: 20
27
+ sae_eval_batch_size: 4096
28
+ sae_eval_num_workers: 2