Tag: positional encoding

Sep, 24 2026

Positional Encodings in Transformers: How LLMs Understand Word Order

Discover how positional encodings enable Transformers to understand word order. Learn the differences between sinusoidal, learned, and RoPE methods.

Sep, 24 2026

Positional Encodings in Transformers: Why Word Order Matters

Discover how positional encodings enable Transformers to understand word order. Learn the math behind sinusoidal functions, learned embeddings, and RoPE.

Jul, 3 2026

RoPE vs ALiBi: How Modern Positional Encodings Power Long-Context LLMs

Explore how RoPE and ALiBi solve positional encoding in LLMs. Compare their math, extrapolation power, and adoption in models like Llama and GPT-NeoX.