AI ATLASAn interactive field guide
CONCEPT 55 / Language and Transformers / Interactive study

Sequence-to-sequence translation.

Watch an Encoder read an English sentence and a Decoder translate it word by word while spotlighting the matching source words.

Encoder reader → Attention bridge → Step-by-step Decoder

Begin with the loaded example. Change one control and watch the diagram and numbers update together.

55 / LIVE LABORATORYLoaded example
All calculations shown here run in the browser from the visible controls and bundled examples.

Inside the calculation

Why it matters

The decoder looks back across the whole source sentence at every step, even when languages put words in different orders.

All calculations shown here run in the browser from the visible controls and bundled examples.