
What Is a Large Language Model?
A large language model is a pattern-prediction engine for language: it learns how words and ideas tend to follow one another, then uses that fluency to…
Read tutorialLook inside an LLM: tokens, context, transformers, next-token prediction, training, inference, fine-tuning, and the stages that shape model behavior.
Tutorials
Follow these lessons in order, or jump directly to the topic you need.

A large language model is a pattern-prediction engine for language: it learns how words and ideas tend to follow one another, then uses that fluency to…
Read tutorial
Large language models are not digital minds. They are probability engines that turn a conversation into a series of next-token guesses. The guesswork is…
Read tutorial
If you've tried to learn about large language models and felt like you hit a wall of unfamiliar jargon, you're not alone. LLM discussions can feel like…
Read tutorial
Large language models look like overnight magic, but they are the visible tip of decades of compounding engineering. If you want to use, trust, and build…
Read tutorial
Someone says "I built an app with NLP" when they really mean "I called the ChatGPT API." Someone else asks "which LLM should I use" when they're actually…
Read tutorial
You have probably already leaned on a large language model this week without naming it. That support chat that understood your question instead of forcing…
Read tutorial
You paste a long document into a chatbot and hit an error about a "token limit." Or you open an API pricing page and see costs quoted per token, with no…
Read tutorial
You tell a chatbot your name early in a conversation. Twenty messages later, it uses your name correctly. It feels like the model has been paying attention…
Read tutorial
You correct a chatbot's mistake and expect it to remember next time. It won't. You ask the same question twice and get two different answers, which makes…
Read tutorial
You keep hearing three answers to the same question: "Just prompt it better." "Add RAG." "Fine-tune the model." They get offered like interchangeable…
Read tutorial
You know an LLM predicts the next word. The real question is how it decides which word deserves to come next—and the answer lives in a design called the…
Read tutorial
You type a sentence into an AI chat window. The model reads it, thinks, and answers back. Somewhere in that exchange, your words get chopped into…
Read tutorial
You are comparing models and you see it everywhere: a name, a letter, and a number. Llama 3.1 8B. Mistral 7B. Qwen 72B. The reflex is almost automatic:…
Read tutorial
When you watch a large language model type out a response, it feels like the system thought through the whole answer before writing a single word. It…
Read tutorial
You fine-tune a model on your own documents, ask it a factual question about them, and watch it hallucinate anyway. The training ran. The loss curve looked…
Read tutorial
When someone says an LLM was "trained," they usually mean one thing. The people who build LLMs mean several. Each major stage of the modern training…
Read tutorial