See this Colab for a demo.
callummcdougall/path_patching
Implementation of path patching & activation patching (will eventually add to TransformerLens).
Python
Implementation of path patching & activation patching (will eventually add to TransformerLens).
Python
See this Colab for a demo.