Skip to content

Build a modern LLM from scratch. Every line commented. Explained like we are five.

924 B
Raw Blame

Contributing

This project is a personal learning exercise I'm sharing publicly. If you find a bug, a typo, or something unclear in the code or the chapters, I'd welcome your help.

Ways to contribute

  • Fix typos or unclear explanations in the chapter files
  • Fix bugs in the notebook code
  • Add more worked examples or visualizations
  • Improve the README or documentation
  • Suggest a better analogy for a concept that feels confusing

Before you open a PR

  • Keep the tone simple and human. No jargon. No buzzwords. Write like you're explaining to a friend.
  • Make sure any code you add runs without errors
  • Notebooks should stay self-contained. Each one should run top to bottom
  • If you're unsure about something, open an issue first and we can talk about it

Thanks for reading this far. This project started because I wanted to understand attention. If it helps you understand it too, that's the whole point.