Explain it in 60 seconds
How LLMs generate text
Machine Learning · LLM Fundamentals · Beginner
How does an LLM generate a response?
What a strong answer covers
Your AI report card counts how many of these ideas you cover.
- Input is tokenized and processed by the model.
- Model outputs a probability distribution over the next token.
- A token is chosen (sampling or greedy).
- Token is appended and the process repeats.
- Stops at an end token or length limit.
Practise this topic
Start without signing up. Sign in free to get an AI report card on your answer.