architectures
Positional Encoding
A method for injecting information about token position into transformer models, which otherwise have no inherent sense of order. Positional encodings can be fixed sinusoidal functions, learned embeddings, or relative position representations like RoPE.
In practice
Without positional encoding, the transformer would process 'dog bites man' and 'man bites dog' identically.