LexFrame
pypi.org- Category
- Developer Tools
- Rank
- No. 3527Tools index
- Type
- TOOL
- Date
About
LexFrame is a Python toolkit for interpreting language model hidden states. It passes a hidden state through the model's own remaining layers, lets it attend to its prefix, and reads the result in the model's vocabulary. This lets users read, attribute and steer predictions at every layer, including middle layers where fixed-frame lenses such as the logit lens often miss what the model already knows.
Tags
interpretabilityllmpythontransformersresidual-streamresearch
Comments (0)
No comments yet
Editorially curated, with community endorsements as a secondary signal. Corrections welcome.