0
stars
1
commits
Python
primary language
Feb 3, 2025
updated
This codebase is for "Sparse Autoencoders Can Interpret Randomly Initialized Transformers" and is heavily based on the following repositories:
Required packages:
pip install torch
pip install transformers
pip install datasets
pip install nnsight
pip install numpy
pip install pandas
pip install matplotlib
pip install seaborn
pip install scikit-learn
pip install orjson
Optional dependencies:
pip install bitsandbytes # For 8-bit model loading
The codebase is organized into several components:
sae/: Core sparse autoencoder implementationsae-auto-interp/: Automated interpretation tools and utilitiesSAEBench/: Evaluation and benchmarking toolsexperiments/: Scripts for running the training, evaluation and analysis experimentsAll experiment scripts are prefixed with "run_" in the experiments folder, with different configurations for various model sizes and settings.
1 commits
Python
91.3%
Jupyter Notebook
7.1%
Shell
1.6%
0
stars
1
commits
Python
primary language
Feb 3, 2025
updated
This codebase is for "Sparse Autoencoders Can Interpret Randomly Initialized Transformers" and is heavily based on the following repositories:
Required packages:
pip install torch
pip install transformers
pip install datasets
pip install nnsight
pip install numpy
pip install pandas
pip install matplotlib
pip install seaborn
pip install scikit-learn
pip install orjson
Optional dependencies:
pip install bitsandbytes # For 8-bit model loading
The codebase is organized into several components:
sae/: Core sparse autoencoder implementationsae-auto-interp/: Automated interpretation tools and utilitiesSAEBench/: Evaluation and benchmarking toolsexperiments/: Scripts for running the training, evaluation and analysis experimentsAll experiment scripts are prefixed with "run_" in the experiments folder, with different configurations for various model sizes and settings.
1 commits
Python
91.3%
Jupyter Notebook
7.1%
Shell
1.6%