← All lab updates

How a transformer reads: attention, step by step, with real numbers

In "the animal didn't cross the street because it was too tired", you know "it" is the animal. A language model works it out with a mechanism called attention. We follow it step by step inside a real open model, Qwen2.5-0.5B, with the numbers it actually computes. Part 1 of our series on how transformers work.