Chapter 11
Attention and Transformers: the revolutionQuestion 1 of 10Chapter 11Intermediate
Positional encoding — why sin and cos
The sinusoidal positional encoding uses $\sin$ and $\cos$ at varied frequencies. What mathematical properties does this construction guarantee?