Glossary · Phase 5 · Transformers
Positional encoding
Extra numbers that tell the model where each token sits in the sequence.
Learn it properly
Positional encodings · Tell the model where each token sits. About 30 minutes.
Other terms from the same lesson
- RoPE: Rotary position embeddings: marking word order by turning each query and key by an angle that grows with position, so attention scores depend on how far apart two tokens are. Most modern open models use it.