Skip to main content

Utils and mechanistic interpretability intervensions using nnsight

Project description

nnterp

This might become a real package at some point, for now it's just a package in which I dump my nnsight code.

nnsight_utils.py basically allows you to deal with TL and HF models in a similar way.

interventions.py is a module that contains tools like logit lens, patchscope lens and other interventions.

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

nnterp-0.1.0.tar.gz (8.7 kB view hashes)

Uploaded Source

Built Distributions

nnterp-0.1.0-py3-none-any.whl (1.5 kB view hashes)

Uploaded Python 3

nnterp-0.1.0-1-py3-none-any.whl (8.8 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