Positional embeddings in modern LLMs: from GPT-2 to RoPE and beyond | LavX News
News
Skip to content News English Positional embeddings in modern LLMs: from GPT-2 to RoPE and beyond #LLMs # Positional embeddings in modern LLMs: from GPT-2 to RoPE and beyond • Elena Varga Elena Varga •7 min read Share this article Advertisement Advertise on LavX NewsSee options Sebastian Raschka, PhD, published a technical walkthrough on positional embeddings in large language models on Ahead of AI on Nov. 15, 2026, covering classic methods and RoPE alongside 2026 architecture trends. It includes diagrams, a small PyTorch implementation, and a survey of 2025 and 2026 open-weight architectures. [...] Raschka groups LLM Architecture Gallery entries by listed release date and compares 2025 with 2026 releases. Each gallery card counts once, so variants of an architecture can contribute to the results. RoPE in all softmax attention layers remains the most common choice, but its share fell from 2025 to 2026 and again in the latter half of 2026. Models that mix RoPE and NoPE grew. NoPE-only entries were recurrent hybrids with softmax attention layers that use no explicit positional encoding. The other category contains xLSTM 7B from 2025 and Inkling from 2026. Among models that use RoPE, partial RoPE moved from a minority in 2025 to a majority in both 2026 groups. Full-width RoPE rotates all query and key features in each layer that uses RoPE. ## Final thoughts [...] Sebastian Raschka, PhD, published a technical walkthrough on positional embeddings in large language models on Ahead of AI on Nov. 15, 2026, covering classic methods and RoPE alongside 2026 architecture trends. The article treats position information as a building block for a broader architecture analysis. It assumes readers know basic transformer mechanics and directs readers who need a refresher to Raschka's earlier self-attention walkthrough. ## Where position information enters an LLM
阅读原文