Unseal: A collection of infrastructure and tools for research in transformer interpretability.
Project description
Unseal - Mechanistic Interpretability for Transformers
Prerequisites
Unseal requires python 3.6+.
Installation
For its visualizations interfaces, Unseal uses this fork of the PySvelte library, which can be installed via pip:
git clone git@github.com:TomFrederik/PySvelte.git
cd PySvelte
pip install -e .
In order to run PySvelte, you will also need to install npm
via your package manager.
The hooking functionality of Unseal should still work without PySvelte, but we can't give any guarantees
Install Unseal via pip
pip install unseal
Usage
We refer to our documentation for tutorials and usage guides:
Notebooks
Here are some notebooks that also showcase Unseal's functionalities.
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
File details
Details for the file Unseal-0.2.1.tar.gz
.
File metadata
- Download URL: Unseal-0.2.1.tar.gz
- Upload date:
- Size: 16.3 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.8.0 pkginfo/1.8.2 readme-renderer/34.0 requests/2.27.1 requests-toolbelt/0.9.1 urllib3/1.26.8 tqdm/4.62.3 importlib-metadata/4.8.2 keyring/23.5.0 rfc3986/2.0.0 colorama/0.4.4 CPython/3.9.6
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 5dadb5201621cf1dbd4817eb435276cb804a5e8cb0960f758443809379810206 |
|
MD5 | c9abf6875a82c709f3f9589f8ea6fc2c |
|
BLAKE2b-256 | 30b1d79725fc40fd54626f915510d7df4aa5ab5a20517317b28db1b3a42dafa3 |
File details
Details for the file Unseal-0.2.1-py3-none-any.whl
.
File metadata
- Download URL: Unseal-0.2.1-py3-none-any.whl
- Upload date:
- Size: 22.8 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.8.0 pkginfo/1.8.2 readme-renderer/34.0 requests/2.27.1 requests-toolbelt/0.9.1 urllib3/1.26.8 tqdm/4.62.3 importlib-metadata/4.8.2 keyring/23.5.0 rfc3986/2.0.0 colorama/0.4.4 CPython/3.9.6
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 156d0781e3a6b97a989c556597d9c15203a5f55557ad273db4bdafdd0220a938 |
|
MD5 | 01f54d856f2e08f12cd2f7c5783527a3 |
|
BLAKE2b-256 | aca18673f782cbbf3e4b5fbf813f428683af99f591917651e6c31a54cb03237a |