Building a full LLM from scratch over weekends with Stanford's CS336

stanfordnlp · x · 2026-09-11

Shared via Stanford NLP's account: the author spent several weekends building an end-to-end language model from scratch using Stanford's CS336 course.

Despite having seen attention and transformers explained countless times, constructing the entire system with no details spared proved a very different experience; details are expanded in the thread.

Original post →

More from coding & agent

coding & agent channel →