Theory: the paper, section by section
Vaswani, Shazeer, Parmar, Uszkoreit, Jones, Gomez, Kaiser, Polosukhin, Attention Is All You Need, NeurIPS 2017, arXiv:1706.03762.
Open the paper beside this tab and follow it section by section.
arXiv page(opens in a new tab)
A companion to the paper, in its own order, for the moment you open the PDF and want to follow the original.
Each section of the paper gets one page: what it says in plain words, its key sentences quoted briefly, every symbol explained, its figure or table redrawn and interactive, a simulation wherever one is possible, and three questions to check yourself.
-
Abstract
Open
- 1
Introduction
Open
- 2
Background
Open
- 3
Model architectureWatch it now: a whole translation, step by step
Open
- 3.1
Encoder and decoder stacks
Open
- 3.2
Attention
Open
- 3.2.1
Scaled dot-product attention
Open
- 3.2.2
Multi-head attention
Open
- 3.2.3
Applications of attention in the model
Open
- 3.3
Position-wise feed-forward networks
Open
- 3.4
Embeddings and softmax
Open
- 3.5
Positional encoding
Open
- 4
Why self-attention
Open
- 5.1
Training data and batching
Open
- 5.2
Hardware and schedule
Open
- 5.3
Optimizer
Open
- 5.4
Regularisation
Open
- 6.1
Machine translation
Open
- 6.2
Model variations
Open
- 6.3
English constituency parsing
Open
- 7
Conclusion
Open
-
Appendix: attention visualisations
Open