Understanding Large Language Models: How They Actually Work
A plain-language look at how large language models turn text into predictions, one token at a time.

A space to connect knowledge, one line of code a day.
Discover tutorials, ideas, and notes from a learning journey.
A plain-language look at how large language models turn text into predictions, one token at a time.
Break down self-attention and feed-forward layers, the two building blocks behind every modern language model.
Compare two ways to adapt an AI model to your task, and learn when each one actually pays off.
Llama and Mistral ship their weights; GPT and Claude stay behind an API. Here's what that trade-off means in practice.
Every AI model has a limited memory span. Learn what a context window is and how it shapes what the model can do.
Learn how RAG lets a language model answer questions using information it was never trained on.
Stay curious. There is always something new to learn.
Writer and founder of Diary Coding — sharing notes, tutorials, and experiences about programming for anyone who wants to keep learning.