Conditional probability and the next token
The chance of the next letter depends on the letters before it. A probability that depends on context is exactly what a language model computes.
9 minute read3 things to try6 questionsFree
Read the whole lesson free
Make a free account to read on, try the interactive parts, answer the 6 practice questions and keep your progress.
What this lesson covers
- is the probability of once you know happened.
- The next letter or word depends on context, so language is modelled with conditional probabilities.
- A language model is a function that outputs .