Instructions to use google/gemma-scope-2b-pt-res with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- SAELens
How to use google/gemma-scope-2b-pt-res 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
Download layer_18/width_16k/average_l0_74/params.npz from google/gemma-scope-2b-pt-res: direct link, hf CLI and curl.
- Browser
- Download file 302 MB
-
https://huggingface.co/google/gemma-scope-2b-pt-res/resolve/main/layer_18/width_16k/average_l0_74/params.npz
- Command line
-
hf download hf://google/gemma-scope-2b-pt-res/layer_18/width_16k/average_l0_74/params.npz
-
curl -L -o params.npz https://huggingface.co/google/gemma-scope-2b-pt-res/resolve/main/layer_18/width_16k/average_l0_74/params.npz
302 MB
- Xet hash:
- 4203e89f0bf239cf3c28bab3e6d7eb5f0efbde599d4dbb1818809804cc524e39
- Size of remote file:
- 302 MB
- SHA256:
- 6779e94af81ea79f631c2a0c27cb0e78c08bfdda5037ea3381112e9d714991d6
·
Xet efficiently stores Large Files inside Git, intelligently splitting files into unique chunks and accelerating uploads and downloads. More info.