biointerp
Mechanistic interpretability experiments for protein language models: CETT error-neuron extraction, probing, causal interventions, and variant-effect analysis.
Research alpha. APIs and configs may change.
Install
git clone https://github.com/huseyincavusbi/biointerp.git
cd biointerp
uv sync
Python 3.11+. Models download from Hugging Face on first use.
Quickstart
uv run biointerp list models
uv run biointerp list experiments
uv run biointerp run probing_classifier --model esm2_8m --set n=50
Results go to outputs/<experiment>/<timestamp>/.
Models and experiments
Models live in conf/model/*.yaml (ESM-2, ESMC, ProtGPT2, ProGen2). There are 34 experiment modules under src/biointerp/experiments/; configured runs live in conf/experiment/.
Protein LMs only for now; DNA support is in progress.
License
MIT
Metadata
Release files for biointerp 0.1.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| biointerp-0.1.0.tar.gz | 358.6 kB | Without provenance | Details for biointerp-0.1.0.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| biointerp-0.1.0-py3-none-any.whl | Python 3 | none | any | Details for biointerp-0.1.0-py3-none-any.whl |
Total release size: 463.0 kB
Release files / biointerp-0.1.0.tar.gz
| Download URL | biointerp-0.1.0.tar.gz |
|---|---|
| Size | 358.6 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
f809f7046822e5d17a911faacaa751cf0c0dcc27a61fddb4209535e61bd4abc7
|
|
BLAKE2b-256 checksum How to use checksums |
796a12ae57041240cd0c6a66bdd77ca682f28dff6deafc01890bf0f093abc4a9
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
uv/0.13.6 {"installer":{"name":"uv","version":"0.13.6","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"24.04","id":"noble","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}
|
Release files / biointerp-0.1.0-py3-none-any.whl
| Download URL | biointerp-0.1.0-py3-none-any.whl |
|---|---|
| Size | 104.4 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
c9dbf620afca498926daa8cfde932903b20f83ad4b65244612e7bf4f21c8d0dd
|
|
BLAKE2b-256 checksum How to use checksums |
937f46d4f68b7c14f14a7e047005f5056da557309e38a3f3ea4861f1628542b8
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
uv/0.13.6 {"installer":{"name":"uv","version":"0.13.6","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"24.04","id":"noble","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}
|
Security for biointerp 0.1.0
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.