I wrote an article that attempts to explain attention in a more intuitive manner, without any PyTorch or other deep learning specific context: https://jaykmody.com/blog/attention-intuition/
4 karma · joined May 10, 2020
And also a related blog post: https://news.ycombinator.com/item?id=34726115
Although this is for a decoder-only transformer (aka GPT) and doesnt include the encoder part.