Causal mask
An attention constraint preventing positions from seeing future tokens during autoregressive generation.
Practical example
When predicting the next word, the model cannot see the answer in advance.
An attention constraint preventing positions from seeing future tokens during autoregressive generation.
When predicting the next word, the model cannot see the answer in advance.