Learning how LLMs work from the inside
I use language models, but I want to understand what is happening inside them. So I’ve just started trying to build my own LLM from scratch.
I’m at the beginning of that work. I don’t have a finished model or a polished tutorial to share yet. What I do have is a question I want to keep following: what are the pieces inside a language model, and how do they fit together to produce text?
This blog will be my notebook as I work toward an answer. I’ll write down what I learn, where my mental model changes, and the parts I still find confusing. I’d rather make the learning visible than pretend I understood everything on day one.
I also plan to share these notes on LinkedIn as I go. If you’re learning about LLMs too, I hope the explanations are useful—and that you’ll point out where I can make them clearer.