Founder and LLM research engineer at RAIR Lab
Sebastian Raschka
Profile
Sebastian Raschka occupies a niche almost nobody else fills well: he is the person who shows you the code. While much of the AI commentariat traffics in benchmark charts and vibes, Raschka’s default move is to reimplement the thing in plain PyTorch, on a laptop, with every tensor shape annotated. That discipline is why Build a Large Language Model (From Scratch) became the standard on-ramp for developers who wanted to stop treating transformers as a black box — and why its companion repo, rasbt/LLMs-from-scratch, has passed 100,000 GitHub stars, putting it in the same rarefied tier as Andrej Karpathy’s nanoGPT as a canonical teaching artifact.
The path here was unusually circuitous. Raschka did his PhD in computational biology at Michigan State, wrote Python Machine Learning in 2015 as a grad student — a book that quietly became a bestseller and spawned the still-excellent Machine Learning with PyTorch and Scikit-Learn — and spent years as an assistant professor of statistics at the University of Wisconsin–Madison. He also built mlxtend, a scikit-learn-adjacent utility library that a lot of people used without knowing whose it was. In 2022 he joined Lightning AI as an LLM research engineer and eventually resigned the professorship outright. He now runs RAIR Lab (Raschka AI Research), his own independent research-and-consulting shop, which is the rare case of an educator monetizing without diluting: the free material stayed free and got better.
The other half of his output is Ahead of AI, a newsletter read by well over 150,000 people that has become the closest thing the field has to a trustworthy quarterly review. Pieces like The Big LLM Architecture Comparison — a side-by-side dissection of what actually differs between DeepSeek, Llama, Qwen, Gemma and GPT-OSS at the block level — do the work that most model announcements deliberately avoid. He is consistently more interested in which components changed and why than in leaderboard placement, and he’s willing to say when a widely hyped technique is a marginal delta. His 2026 writing has followed the field into reasoning models, RLVR/GRPO, and local coding agents, again with runnable implementations attached.
For a developer learning AI today, the argument for Raschka is simple. Most explanations sit at one of two altitudes: a blog post with an analogy, or a paper with no code. He lives in between, and he is honest about the gap between a clean from-scratch implementation and what a production training run actually requires. Read him alongside Aurélien Géron for classical ML foundations, and treat his repos as the thing you type out yourself rather than clone. His 2026 follow-up, Build a Reasoning Model (From Scratch), does the same trick for inference-time scaling, GRPO, and distillation — the machinery behind the reasoning models that now dominate the frontier.
Books
Key Articles & Papers
The Big LLM Architecture Comparison Understanding Reasoning LLMs Understanding Large Language Models Understanding and Coding the Self-Attention Mechanism From Scratch Practical Tips for Finetuning LLMs Using LoRA Understanding Multimodal LLMs The State Of LLMs 2025: Progress, Problems, and Predictions Components of A Coding Agent Recent Developments in LLM Architectures Model Evaluation, Model Selection, and Algorithm Selection in Machine LearningVideos
Notes on what I verified and what I’d flag:
- Video IDs:
quh7z1q7-uc(3-hour workshop),kPGTx4wcm_w(Developing an LLM),nDl6Aj9aPAI(PyTorch Conference 2025), andEV7WhVT270Q(Lex Fridman #490, with Nathan Lambert) are confirmed across multiple sources. The last four — Vanishing Gradients, MAD Podcast, TWIML, and the Manning author interview — came from single search-index results with matching titles. Drop any of them if your script’s API check fails. - No Controversies section: I found no notable public controversy. He’s a low-drama figure; the closest thing is ordinary technical disagreement in his newsletter comments.
- RAIR Lab has no standalone domain — the canonical page is
sebastianraschka.com/rair-lab/, which is what I linked.
Spotify Podcasts
YouTube