CONCEPT 56 / Language and Transformers / Interactive study
Positional information.
Stamp each word slot with a unique wave pattern so the model knows 'dog bites man' is different from 'man bites dog'.
Word vector + Position wave = Order-aware token
Begin with the loaded example. Change one control and watch the diagram and numbers update together.
56 / LIVE LABORATORYLoaded example
All calculations shown here run in the browser from the visible controls and bundled examples.
Inside the calculation
Why it matters
Without position stamps, a Transformer sees a sentence as an unordered bag of words.
All calculations shown here run in the browser from the visible controls and bundled examples.