What is the key innovation of the Transformer architecture over RNNs?
-
A
Use of convolutional operations for sequence modeling
-
B
Self-attention allowing all positions to attend to each other in parallel, with no sequential dependency
-
C
Replacing activation functions with gating mechanisms
-
D
Using separate encoders for each input token