Instructions to use suchitg/sae-compression-gpt-2-small-pruned-sae-openwebtext_0.5 with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- SAELens
How to use suchitg/sae-compression-gpt-2-small-pruned-sae-openwebtext_0.5 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.6.attn.hook_z
Browse files
blocks.6.attn.hook_z/cfg.json
ADDED
|
@@ -0,0 +1 @@
|
|
|
|
|
|
|
| 1 |
+
{"architecture": "standard", "d_in": 768, "d_sae": 24576, "dtype": "float32", "device": "cuda:0", "model_name": "gpt2-small", "hook_name": "blocks.6.attn.hook_z", "hook_layer": 6, "hook_head_index": null, "activation_fn_str": "relu", "activation_fn_kwargs": {}, "apply_b_dec_to_input": true, "finetuning_scaling_factor": false, "sae_lens_training_version": null, "prepend_bos": true, "dataset_path": "Skylion007/openwebtext", "dataset_trust_remote_code": true, "context_size": 128, "normalize_activations": "none", "neuronpedia_id": "gpt2-small/6-att-kk", "model_from_pretrained_kwargs": {}, "seqpos_slice": [null]}
|
blocks.6.attn.hook_z/sae_weights.safetensors
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:7ef4ccf15f75b15cafea4aa45a72f61403cf551a715d033c558424840d515660
|
| 3 |
+
size 151096640
|