Re:Intermediate Activations – The Forward Hook
by vinay427 on Sunday April 21, 2024 @02:01PM
(#40107782)
For those interested in playing with or doing research using model internals, the TransformerLens [1] project appears to be the leading open-source tooling in this area. It allows for loading dozens of different models, adding hooks, displaying activations in a format compatible with CircuitsVis, and other (mechanistic) interpretability work.
[1] https://github.com/neelnanda-io/TransformerLens
[2] https://github.com/alan-cooney/CircuitsVis
https://course.fast.ai/Lessons/lesson17.html