Self-Attention and Positional Encoding

https://d2l.ai/chapter_attention-mechanisms/self-attention-and-positional-encoding.html