Lesson summary · 5 min video
How a language model predicts the next word
Have you ever typed Thank you for your into an email and watched a suggestion appear? Your tool makes a guess at the next word, and you press tab to accept it. Now picture the same kind of guessing, at huge scale, writing a summary of a twenty-page report one word at a time. By the end of this lesson, you will be able to explain how it chooses each word, and why it can sound certain when it is wrong.
Key points
- Predicts the next token
- Each candidate gets a probability
- Adds the token and repeats
- Context changes the chances
- Practice: compare two lists
Questions and answers
What is How a language model predicts the next word about?
Have you ever typed Thank you for your into an email and watched a suggestion appear? Your tool makes a guess at the next word, and you press tab to accept it. Now picture the same kind of guessing, at huge scale, writing a summary of a twenty-page report one word at a time. By the end of this lesson, you will be able to explain how it chooses each word, and why it can sound certain when it is wrong.
What are the key points of How a language model predicts the next word?
Predicts the next token. Each candidate gets a probability. Adds the token and repeats. Context changes the chances. Practice: compare two lists.
How can I practise How a language model predicts the next word?
Watch the lesson, read it, then answer its quiz in the course "AI for Everyone: From Zero to Confident Use".