This tutorial could not be loaded.
Loading tutorial...
Interactive tutorial
Discover how large language models turn text into tokens, use transformers to process context, and generate responses one token at a time. By the end, you will be able to explain training versus everyday use, distinguish a model from the tools around it, and recognize why fluent answers still need verification. No coding or advanced mathematics is required.
Step 1 of 9
2 min
The Core Idea: Predicting What Comes Next
Learn the core task behind text-generating LLMs: predicting what comes next, not automatically retrieving verified facts.
Step 2 of 9
2 min
From Text to Tokens and Numbers
Step 3 of 9
3 min
How Transformers Use Context
See how transformers use position information and self-attention to create representations that depend on preceding context.
Step 4 of 9
3 min
Generating a Response One Token at a Time
See how an LLM turns next-token probabilities into a response through a repeated selection-and-context loop.
Step 5 of 9
3 min
How Pretraining Changes the Model
See how pretraining uses feedback to change parameters, while ordinary inference generates with parameters that are already learned.
Step 6 of 9
2 min
From Text Continuation to Instruction Following
Learn why pretraining alone does not create reliable instruction following, and how post-training uses examples and preferences to shape behavior without guaranteeing truth.
Step 7 of 9
3 min
What the Model Can Access During a Chat
See how an assistant application supplies temporary context, memory, retrieved sources, and tool results to an LLM without changing its parameters.
Step 8 of 9
3 min
Why Fluent Answers Can Still Be Wrong
Learn why fluent LLM answers can be false or unsupported, and practice checking claims against available evidence.
Step 9 of 9
3 min
Put It Together: Explain and Check an LLM Response
Integrate the generation process with the distinction between training, retrieval, inference, and evidence-supported answers.
Video Courses
recommended
Ideal for beginners
Thousands of online courses in video, ebooks and audiobooks.
To test your knowledge during online courses
Generated directly from your cell phone's photo gallery and sent to your email
Download our app via QR Code or the links below:.
+ 10 million
students
Free and Valid
Certificate
60 thousand free
exercises
4.8/5 rating in
app stores
Free courses in
video and ebooks