Instructions to use google/gemma-scope-2-4b-it with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- SAELens
How to use google/gemma-scope-2-4b-it 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
File size: 134 Bytes
59e4f36 | 1 2 3 4 | version https://git-lfs.github.com/spec/v1
oid sha256:206e0ac6cd6317ab8f680fc8ae83c5de14b2839c52cf952399351ae4dbdb3b59
size 335686016
|