Instructions to use dariuslimzh/test_SAE with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- SAELens
How to use dariuslimzh/test_SAE 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 README.md from dariuslimzh/test_SAE: direct link, hf CLI and curl.
- Browser
- Download file 283 Bytes
-
https://huggingface.co/dariuslimzh/test_SAE/resolve/main/README.md
- Command line
-
hf download hf://dariuslimzh/test_SAE/README.md
-
curl -L -o README.md https://huggingface.co/dariuslimzh/test_SAE/resolve/main/README.md
283 Bytes
metadata
library_name: saelens
SAEs for use with the SAELens library
This repository contains the following SAEs:
- blocks.0.hook_mlp_out
Load these SAEs using SAELens as below:
from sae_lens import SAE
sae = SAE.from_pretrained("dariuslimzh/test_SAE", "<sae_id>")