Causal Language Model
Quick definition
A language model trained to predict future tokens using earlier tokens without reading future positions.
A language model trained to predict future tokens using earlier tokens without reading future positions.
Why it matters: Causal attention prevents leakage from later tokens during ordinary left-to-right prediction.
Practical example: A system learns to complete a sentence from its opening words.
Common use cases: Chat LLM pretraining and sequential generation.
Examples
- A system learns to complete a sentence from its opening words.
Use cases
- Chat LLM pretraining and sequential generation.
Frequently asked questions
What is Causal Language Model?
A language model trained to predict future tokens using earlier tokens without reading future positions.
What should I know before using Causal Language Model?
Causal attention prevents leakage from later tokens during ordinary left-to-right prediction. Example: A system learns to complete a sentence from its opening words.