SpinTheMic
Pro

Explain it in 60 seconds

Positional encodings

Machine Learning · Deep Learning · Experienced

Why do transformers need positional encodings, and what types exist?

What a strong answer covers

Your AI report card counts how many of these ideas you cover.

  • Self-attention ignores token order without position information.
  • Sinusoidal (fixed) and learned absolute embeddings.
  • Relative position methods.
  • RoPE (rotary embeddings) used in most modern LLMs.
  • Choices affect context length extension.
Practise this topic

Start without signing up. Sign in free to get an AI report card on your answer.

See all topics