Instructions to use google/gemma-scope-2 with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- SAELens
How to use google/gemma-scope-2 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
Commit History
-
Update README.md (#1)
Verified signature- Update README.md (cf18faed38fa12307b58781e59fbc72b2097b061) Co-authored-by: Arthur Conmy (GDM Account) <[email protected]>dfb54a8 -
Upload README.md with huggingface_hub
Verified signaturea531b81 -
Upload README.md with huggingface_hub
Verified signaturedc90a65 -
Upload RENAME.md with huggingface_hub
Verified signature91fd129
-
initial commit
Verified signaturec50cb36