Sebastian Raschka
@rasbtAuthor of Build a Large Language Model (From Scratch)
Author of Ahead of AI & LLMs-from-scratch, bridging frontier research papers and PyTorch code.
Chronicle & Landmark Works
2024 to present · 22 entries- 20:10SubstackEssaySource: Ahead of AI · Substackmagazine.sebastianraschka.com
Understanding Positional Embeddings in Modern LLMs
The Methods Behind How LLMs Represent Token Positions
- 19:14SubstackTutorialSource: Ahead of AI · Substackmagazine.sebastianraschka.com
Building Reasoning Models from the Ground Up: A Full Video Course
Over 11 hours of coding videos on evaluation, inference-time scaling, reinforcement learning, and distillation, with Python and PyTorch.
- 18:50SubstackTutorialSource: Ahead of AI · Substackmagazine.sebastianraschka.com
Language Models for Text Classification: From Bag-of-Words to Jev
A Visual Guide to RNNs, CNNs, Transformers, and Calibration, with Hands-On Experiments on Accuracy and Efficiency
- 19:14SubstackEssaySource: Ahead of AI · Substackmagazine.sebastianraschka.com
GPT-6 Astra, Looped Transformers, and Hidden Reasoning
A Look at Recurrent Depth, Hidden Chains of Thought, and Recent Research on Looping Transformer Blocks
- 19:11SubstackTutorialSource: Ahead of AI · Substackmagazine.sebastianraschka.com
How Claude Watermarks AI-Generated Text
A 48-minute video walkthrough of token sampling, watermark detection, and removal
- 19:54SubstackTutorialSource: Ahead of AI · Substackmagazine.sebastianraschka.com
Building an AI Text Detector From Scratch
An End-to-End Project With Dataset Construction, Model Training, Local Deployment, and RLVR
- 19:16SubstackEssaySource: Ahead of AI · Substackmagazine.sebastianraschka.com
Controlling Reasoning Effort in LLMs
How LLMs Learn Low-, Medium-, and High-Effort Reasoning Modes
- 19:21SubstackEssaySource: Ahead of AI · Substackmagazine.sebastianraschka.com
Using Local Coding Agents
Using Open-Weight Models in Local Coding Harnesses as an Alternative to Claude Code and Codex Subscriptions
- 19:16SubstackEssaySource: Ahead of AI · Substackmagazine.sebastianraschka.com
LLM Research Papers: The 2026 List (January to May)
A curated roundup of notable LLM research papers that came out this year
- 19:33SubstackEssaySource: Ahead of AI · Substackmagazine.sebastianraschka.com
Recent Developments in LLM Architectures: KV Sharing, mHC, and Compressed Attention
From Gemma 4 to DeepSeek V4, How New Open-Weight LLMs Are Reducing Long-Context Costs
- 19:24SubstackEssaySource: Ahead of AI · Substackmagazine.sebastianraschka.com
My Workflow for Understanding LLM Architectures
A learning-oriented workflow for understanding new open-weight model releases
- 19:45SubstackEssaySource: Ahead of AI · Substackmagazine.sebastianraschka.com
Components of A Coding Agent
How coding agents use tools, memory, and repo context to make LLMs work better in practice
- 19:55SubstackTutorialSource: Ahead of AI · Substackmagazine.sebastianraschka.com
A Visual Guide to Attention Variants in Modern LLMs
From MHA and GQA to MLA, sparse attention, and hybrid architectures
- 21:26SubstackEssaySource: Ahead of AI · Substackmagazine.sebastianraschka.com
A Dream of Spring for Open-Weight LLMs: 10 Architectures from Jan-Feb 2026
A Round Up And Comparison of 10 Open-Weight LLM Releases in Spring 2026
- 19:23SubstackEssaySource: Ahead of AI · Substackmagazine.sebastianraschka.com
Categories of Inference-Time Scaling for Improved LLM Reasoning
And an Overview of Recent Inference-Scaling Papers
- 20:22SubstackEssaySource: Ahead of AI · Substackmagazine.sebastianraschka.com
The State Of LLMs 2025: Progress, Problems, and Predictions
A 2025 review of large language models, from DeepSeek R1 and RLVR to inference-time scaling, benchmarks, architectures, and predictions for 2026.
- 20:15SubstackEssaySource: Ahead of AI · Substackmagazine.sebastianraschka.com
LLM Research Papers: The 2025 List (July to December)
In June, I shared a bonus article with my curated and bookmarked research paper lists to the paid subscribers who make this Substack possible.
- 20:03SubstackEssaySource: Ahead of AI · Substackmagazine.sebastianraschka.com
From DeepSeek V3 to V3.2: Architecture, Sparse Attention, and RL Updates
Understanding How DeepSeek's Flagship Open-Weight Models Evolved
- 21:06SubstackEssaySource: Ahead of AI · Substackmagazine.sebastianraschka.com
Beyond Standard LLMs
Linear Attention Hybrids, Text Diffusion, Code World Models, and Small Recursive Transformers
- 19:12SubstackTutorialSource: Ahead of AI · Substackmagazine.sebastianraschka.com
Understanding the 4 Main Approaches to LLM Evaluation (From Scratch)
Multiple-Choice Benchmarks, Verifiers, Leaderboards, and LLM Judges with Code Examples