Developer on learning LLMs by building from scratch with Raschka's book

rasbt · x · 2026-11-12

Developer brianreyx says building things from scratch taught him the most about how LLMs work, and he's currently working through Sebastian Raschka's Build a Large Language Model (From Scratch).

His study notes show the book's explanation that self-attention has no notion of token position and the embedding layer maps the same token ID to the same vector regardless of location, so positional information must be injected separately — alongside a Jupyter notebook combining token and position embeddings.

Original post →

More from Companies & People

Companies & People channel →