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
Link model to paper
#6
by nielsr HF Staff - opened
Hi,
Niels here from the open-source team at HF. Would be great to link all Gemma-Scope models to https://huggingface.co/papers/2408.05147.
Cheers,
Niels
ArthurConmyGDM changed pull request status to merged