Instructions to use google/gemma-scope with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- SAELens
How to use google/gemma-scope 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
Update README.md
Browse files
README.md
CHANGED
|
@@ -60,4 +60,16 @@ https://huggingface.co/google/gemma-scope-2b-pt-res/tree/main/layer_20/width_16k
|
|
| 60 |
|
| 61 |
# Citation
|
| 62 |
|
| 63 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 60 |
|
| 61 |
# Citation
|
| 62 |
|
| 63 |
+
```
|
| 64 |
+
@misc{lieberum2024gemmascopeopensparse,
|
| 65 |
+
title={Gemma Scope: Open Sparse Autoencoders Everywhere All At Once on Gemma 2},
|
| 66 |
+
author={Tom Lieberum and Senthooran Rajamanoharan and Arthur Conmy and Lewis Smith and Nicolas Sonnerat and Vikrant Varma and János Kramár and Anca Dragan and Rohin Shah and Neel Nanda},
|
| 67 |
+
year={2024},
|
| 68 |
+
eprint={2408.05147},
|
| 69 |
+
archivePrefix={arXiv},
|
| 70 |
+
primaryClass={cs.LG},
|
| 71 |
+
url={https://arxiv.org/abs/2408.05147},
|
| 72 |
+
}
|
| 73 |
+
```
|
| 74 |
+
|
| 75 |
+
Paper link: https://arxiv.org/abs/2408.05147
|