QUESTION 7 OF 15

Why must transformers represent token position?

Reveal the answer and explore the explanation.

07
Medium

Why must transformers represent token position?

Answer
Answer

Represents sequence order because content-only attention is permutation equivariant.

Practical example

Distinguish the ordering of words in a sentence.

Reference: Further reading ↗

Last 30 min revisionHigh-yield interview Q&As