What it does
This skill provides guidance for performing causal interventions on PyTorch models with pyvene's declarative intervention framework. It covers the intervention approach itself rather than a standalone tool.
It is intended for researchers and developers who need to conduct causal tracing, activation patching, or interchange intervention training, or who want to test causal hypotheses about how a model behaves. The resource is released under the MIT license.
Safety
Our team has not reviewed this resource. Only automated rules checked it; resources with high-risk signals are not published. These are signals, not a guarantee that installing it is safe. Try it in a sandbox project first.
- Runs code or changes an assistant's behaviour
Sources
- AI Templates (aitmpl) first seen 13 Nov 2026 · last seen 18 Nov 2026 · its page on the source · figures reported by the source: aitmpl downloads 27
mechanistic-interpretability-pyvene
Provides guidance for performing causal interventions on PyTorch models using pyvene's declarative intervention framework. Use when conducting causal tracing, activation patching, interchange intervention training, or testing causal hypotheses about model behavior.
v1.0.0As shown on www.aitmpl.com when we last read it