CONCEPT 58 / Language and Transformers / Interactive study
Multi-head attention.
Run four attention heads side by side so the model tracks grammar, pronouns, and meaning at the same time.
Four parallel attention lenses → Combined output
Begin with the loaded example. Change one control and watch the diagram and numbers update together.
58 / LIVE LABORATORYLoaded example
All calculations shown here run in the browser from the visible controls and bundled examples.
Inside the calculation
Why it matters
One head might link a pronoun to a noun while another links a verb to its object.
All calculations shown here run in the browser from the visible controls and bundled examples.