The Transformer architecture replaces recurrence and convolutions with
- Stacked self-attention and feed-forward layers
- A single dense layer per token in the sequence
- Hand-crafted phrase-structure grammar rules
- A recurrent neural network at every layer
Show answer and solution
Correct answer: A. Stacked self-attention and feed-forward layers
The Transformer is built entirely from stacked self-attention sub-layers and position-wise feed-forward sub-layers, plus residual connections and layer normalisation.
No recurrence, no convolution.