Module 1 of 15
LLM foundations
- Beginner
- 3 lessons
- 1 h 25 min
Chapter 1 · The Support Desk
You join the support team of a growing online store on the day it starts using an AI assistant, Aarav. He answers customers in clear, confident sentences, and he is sometimes wrong in exactly the same voice. In this chapter you see how a sentence is made one piece at a time, and why it can be wrong without anything being broken.
What you will be able to do
- Explain how an LLM generates text: attention, the KV-cache, tokenization and sampling.
- Choose sensible sampling settings and compare open and closed models.
Lessons
How LLMs workCompleted
Tokenization and embeddingsCompleted
Read first: How LLMs work
Sampling parameters and the model landscapeCompleted
Read first: How LLMs work
End of chapter 1 · The Support Desk
By Friday Aarav had stopped inventing offers, and everyone on the team could say why he had started.