Multi-head attention
Several attention heads process different representations of the same sequence in parallel.
Practical example
Different heads may capture syntax and long-range relationships.
Several attention heads process different representations of the same sequence in parallel.
Different heads may capture syntax and long-range relationships.