Transformer-lens

Latest version: v2.11.0

Safety actively analyzes 701990 Python packages for vulnerabilities to keep your Python projects secure.

Scan your dependencies

Page 9 of 9

1.1.0

New release with a bunch of quality of life improvements, including attention patching utils and early stopping

What's Changed
* Tracr demo by neelnanda-io in https://github.com/neelnanda-io/TransformerLens/pull/142
* Added option to stop running the model at an earlier layer by neelnanda-io in https://github.com/neelnanda-io/TransformerLens/pull/143
* Arthur/loss per token by neelnanda-io in https://github.com/neelnanda-io/TransformerLens/pull/144
* Make project versioning clearer by alan-cooney in https://github.com/neelnanda-io/TransformerLens/pull/146
* let 'get_dataset' function pass kwargs by afspies in https://github.com/neelnanda-io/TransformerLens/pull/141
* Fix deps by jas-ho in https://github.com/neelnanda-io/TransformerLens/pull/149
* Fix OPT BOS Prepending issue by afspies in https://github.com/neelnanda-io/TransformerLens/pull/154
* Induction heads phase changes demo by ckkissane in https://github.com/neelnanda-io/TransformerLens/pull/148
* Add helper enum for torch typing by dkamm in https://github.com/neelnanda-io/TransformerLens/pull/145
* In run_with_hooks, remove hooks, even when an error is thrown. by joelburget in https://github.com/neelnanda-io/TransformerLens/pull/156
* Correct incorrect equation by epurdy in https://github.com/neelnanda-io/TransformerLens/pull/159
* add hook tokens by callummcdougall in https://github.com/neelnanda-io/TransformerLens/pull/147
* Update pythia-19m to 70m by ArthurConmy in https://github.com/neelnanda-io/TransformerLens/pull/162
* Added Utilities for Activation Patching + A Demo of how to use them by neelnanda-io in https://github.com/neelnanda-io/TransformerLens/pull/165

New Contributors
* afspies made their first contribution in https://github.com/neelnanda-io/TransformerLens/pull/141
* jas-ho made their first contribution in https://github.com/neelnanda-io/TransformerLens/pull/149
* ckkissane made their first contribution in https://github.com/neelnanda-io/TransformerLens/pull/148
* dkamm made their first contribution in https://github.com/neelnanda-io/TransformerLens/pull/145
* epurdy made their first contribution in https://github.com/neelnanda-io/TransformerLens/pull/159
* callummcdougall made their first contribution in https://github.com/neelnanda-io/TransformerLens/pull/147

**Full Changelog**: https://github.com/neelnanda-io/TransformerLens/compare/v1.0.0...v1.1.0

1.0.0

Creating a new version to represent the library being fairly stable!

What's Changed
* Add devcontainer support by alan-cooney in https://github.com/neelnanda-io/TransformerLens/pull/122
* Added sample_datapoint, get_dataset and token truncation by default by neelnanda-io in https://github.com/neelnanda-io/TransformerLens/pull/131
* Added code to load in fine-tuned versions of SoLU 1L and SoLU 4L on 4.8B tokens of wikipedia by neelnanda-io in https://github.com/neelnanda-io/TransformerLens/pull/133
* Implement permanent hooks by derpyplops in https://github.com/neelnanda-io/TransformerLens/pull/117
* Typing Checks by neelnanda-io in https://github.com/neelnanda-io/TransformerLens/pull/137
* Bump ws-action-parse-semver by alan-cooney in https://github.com/neelnanda-io/TransformerLens/pull/140

New Contributors
* derpyplops made their first contribution in https://github.com/neelnanda-io/TransformerLens/pull/117

**Full Changelog**: https://github.com/neelnanda-io/TransformerLens/compare/v0.2.0...v1.0.0

0.2.0

Initial release to PyPi

Page 9 of 9

© 2025 Safety CLI Cybersecurity Inc. All Rights Reserved.