← Back to LLM Fundamentals

Foundations

How do LLMs work, start to finish in 10 minutes

A language model does four things in order: it cuts words into tokens, turns them into numbers, lets them listen to each other, and guesses the next word. This article walks one sentence through every step.

Start by reading the article for this lesson.

Read the articleOpens in a new tab

Check what you learned

Answer all 3 questions. You need at least 2 right to pass.

1. What are the four steps of a language model, in order?

2. What does attention do?

3. What is the one thing a language model actually does?