LLM Landscape
One Diagram, the Whole Picture
LLMs come with a lot of vocabulary — and most of it gets used loosely. This diagram organises every key concept into a single map so you always know what something is, where it fits, and how it relates to everything else. The lessons in this module each go deep on one area. This lesson is the overview that ties them together.
- LLM mechanics: pre-training, inference, tokens, context windows, embeddings, and sampling — covered in lesson 2
- Guardrails and hallucinations: the safety layer around every deployment — covered in lesson 3
- LLM techniques: prompt engineering, RAG, fine-tuning, and RLHF — covered in lesson 4
- Infrastructure: how models reach users safely at enterprise scale — covered in lesson 5
Pre-Training vs Inference: Two Distinct Phases
Every LLM goes through two distinct phases. Pre-training is a one-time process where the model reads enormous amounts of text and learns to predict what comes next — that is how it acquires general knowledge. It costs tens of millions of dollars for frontier models and is entirely vendor territory. Inference is what happens every time someone sends a message — the model uses what it learned to generate a response. This is where enterprise cost, latency, and deployment decisions live.
- Pre-training: next-token prediction at scale — the model learns patterns from billions of examples; never a customer responsibility
- Inference: running the model on new inputs — happens on every query; the cost compounds at enterprise scale
- Fine-tuning sits between the two: you continue training on your data, but starting from a pre-trained checkpoint — much cheaper than training from scratch, but still requires ML infrastructure
Watch the model choose the next word, one at a time.
Prefer slides, quizzes, and saved progress? Read this lesson in the library — free, no sign-up.