Sparse Autoencoder for Mechanistic Interpretability
Project description
Sparse Autoencoder
A sparse autoencoder for mechanistic interpretability research.
pip install sparse_autoencoder
Demo
Check out the demo notebook for a guide to using this library.
Contributing
This project uses Poetry for dependency management, and
PoeThePoet for scripts. After checking out the repo,
we recommend setting poetry's config to create the .venv
in the root directory (note this is a
global setting) and then installing with the dev and demos dependencies.
poetry config virtualenvs.in-project true
poetry install --with dev,demos
Checks
For a full list of available commands (e.g. test
or typecheck
), run this in your terminal
(assumes the venv is active already).
poe
Pre-Commit Hooks
You can install the pre-commit hooks, to automatically check for common issues before you commit, as follows:
poe precommit-setup
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Hashes for sparse_autoencoder-0.6.0-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 583934b22eda9d90ec5f66c6722a3b8ae7c73518f787a0abe7a00908eccf7e43 |
|
MD5 | e0ca550bc50fc54f50e594f0599e54fd |
|
BLAKE2b-256 | 50fca9683da54bb18820db98a13c8d576aa818d1f3e2cdeaa2236464a17e90e6 |