Instructions to use jbloom/GPT2-Small-SAEs-Reformatted with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- SAELens
How to use jbloom/GPT2-Small-SAEs-Reformatted 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
Ctrl+K
- blocks.0.hook_resid_pre
- blocks.1.hook_resid_pre
- blocks.10.hook_resid_pre
- blocks.11.hook_resid_post
- blocks.11.hook_resid_pre
- blocks.2.hook_resid_pre
- blocks.3.hook_resid_pre
- blocks.4.hook_resid_pre
- blocks.5.hook_resid_pre
- blocks.6.hook_resid_pre
- blocks.7.hook_resid_pre
- blocks.8.hook_resid_pre
- blocks.9.hook_resid_pre
- 1.52 kB
- 43 Bytes