Skip to content

TushaarGVS/sae

Repository files navigation

Sparse autoencoder

cd $HOME/sae
# Poetry creates a venv if not already in a specific conda env:
# https://stackoverflow.com/a/77807639/6907625.
poetry install

Note. The package uses triton-3.0.0 which needs to be installed from the source.


Running

cd $HOME/sae

# Extract activations for a huggingface dataset. See `submit.sh` file for
# exact calling args.
python scripts/get_recurrentgemma_activations.py

# Runs the app on `localhost:8000`.
python visualization/app.py

About

Sparse autoencoder for recurrentgemma

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published