Home Projects tuned-lens
tuned-lens
Python

tuned-lens

Tools for understanding how transformer predictions are built layer-by-layer

by AlignmentResearch · GitHub
Stars
Forks
License
Created
Last commit
Language
machine-learningpytorchtransformersMITPython
View on GitHub
In plain words

Explore how predictions are made in transformer models by analyzing their layers.

You maintain this project?

Claim its page: indexed whatever its rank, translated into six languages, and enriched with what you write yourself.

Claim this page →
tuned-lens — GitHub preview card
📈 Star history
604603
2026-07-202026-08-31
📈 Track tuned-lens

Get an email alert on its next release or when it starts trending — never miss the moment.

Free · no card · unsubscribe anytime
Get email alerts →
📄 About

Tools for understanding how transformer predictions are built layer-by-layer

tuned-lens has 603 stars on GitHub. It has been forked 72 times. tuned-lens is written mainly in Python. It has been in active development since 2022. tuned-lens is available under the MIT license. Its main topics are machine-learning, pytorch, transformers.

Frequently asked questions

What is tuned-lens?

Tools for understanding how transformer predictions are built layer-by-layer

Is tuned-lens open source?

tuned-lens is an open-source project. It is released under the MIT license.

Is tuned-lens free?

Yes. tuned-lens is free and open source — you can use, modify and self-host it.

What license does tuned-lens use?

tuned-lens is available under the MIT license.

What language is tuned-lens written in?

tuned-lens is written mainly in Python.

🏅 Maintainer of this project?
olud.ai badge — tuned-lens

Add this live badge to your README — your GitHub stars and directory rank, refreshed daily.

[![olud.ai](https://olud.ai/badge.php?tool=alignmentresearch-tuned-lens)](https://olud.ai/project/alignmentresearch-tuned-lens.html)
More badge options →
🧬 Shares DNA with

Measured from GitHub topics shared by both projects, weighted by how rare each topic is.