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.2.0.tar.gz (11.1 kB view hashes)

Uploaded Source

Built Distribution

nnterp-0.2.0-py3-none-any.whl (12.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