Instructions to use JaehaL/SAEonPolynomial with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- SAELens
How to use JaehaL/SAEonPolynomial with SAELens:
# pip install sae-lens from sae_lens import SAE sae, cfg_dict, sparsity = SAE.from_pretrained( release = "RELEASE_ID", # e.g., "gpt2-small-res-jb". See other options in https://github.com/jbloomAus/SAELens/blob/main/sae_lens/pretrained_saes.yaml sae_id = "SAE_ID", # e.g., "blocks.8.hook_resid_pre". Won't always be a hook point ) - Notebooks
- Google Colab
- Kaggle
Upload SAE blocks.3.hook_mlp_out
Browse files
blocks.3.hook_mlp_out/cfg.json
ADDED
|
@@ -0,0 +1 @@
|
|
|
|
|
|
|
| 1 |
+
{"architecture": "standard", "d_in": 512, "d_sae": 8192, "dtype": "float32", "device": "cuda", "model_name": "we_will_override", "hook_name": "blocks.3.hook_mlp_out", "hook_layer": 3, "hook_head_index": null, "activation_fn_str": "relu", "activation_fn_kwargs": {}, "apply_b_dec_to_input": false, "finetuning_scaling_factor": false, "sae_lens_training_version": "3.20.3", "prepend_bos": true, "dataset_path": "apollo-research/roneneldan-TinyStories-tokenizer-gpt2", "dataset_trust_remote_code": true, "context_size": 128, "normalize_activations": "none", "neuronpedia_id": null, "model_from_pretrained_kwargs": {"center_writing_weights": false}, "l1_coefficient": 5, "lp_norm": 1.0, "use_ghost_grads": false, "normalize_sae_decoder": false, "noise_scale": 0.0, "decoder_orthogonal_init": false, "init_encoder_as_decoder_transpose": true, "mse_loss_normalization": null, "decoder_heuristic_init": true, "scale_sparsity_penalty_by_decoder_norm": false}
|
blocks.3.hook_mlp_out/sae_weights.safetensors
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:881779baf67ac54a5149e79a728dd85a1ba551b13ac604823c60ca0e37e32512
|
| 3 |
+
size 33589560
|