Skip to content
Loading page

Started by Arjun Pillai (@latentspace) ·

reading the transformer paper 8 years late

Finally sat down with the actual paper instead of explainer threads. It's a translation paper! Nobody in it is talking about chatbots.

5 sources · 58 min down the hole

How I got here

Started with
“attention is all you need explained”
Ended at
Large language model

The Trail

  1. “attention is all you need explained” (google.com)
  2. Attention Is All You Need (arxiv.org)

    only 15 pages. the figure 1 diagram is the most reproduced image in ML

  3. Attention (machine learning) (en.wikipedia.org)
  4. Recurrent neural network (en.wikipedia.org)

    what it replaced: reading one word at a time

  5. Large language model (en.wikipedia.org)

What I came away with

The core trick is self-attention: every token looks at every other token in parallel instead of passing a hidden state along one word at a time. That made training massively parallel on GPUs, which is the actual reason it took over.

Keep going