Skip to main content

Sparse Autoencoder for Mechanistic Interpretability

Project description

Sparse Autoencoder

PyPI PyPI - License Checks Release

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


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

sparse_autoencoder-0.4.0.tar.gz (31.0 kB view hashes)

Uploaded Source

Built Distribution

sparse_autoencoder-0.4.0-py3-none-any.whl (46.0 kB view hashes)

Uploaded Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page