Self-Attention can compare every token with every other token.
But there is a catch.
By itself, it does not know the order of tokens.
That is a serious problem because “dog bites man” and “man bites dog” use the same words but mean completely different things.
Core Idea







