hard20 pts · first answer countsattentiontransformers
What the causal mask prevents
During training, a decoder-only transformer processes a whole sequence in parallel. What does the causal attention mask do, and why is it needed?
Discussion 0
Join free to post in the discussion.
Related questions
- What LLM pretraining learnsAI Engineer (LLM & Generative AI)
- Why long contexts eat GPU memoryAI Engineer (LLM & Generative AI)
- Sizing the KV cacheAI Engineer (LLM & Generative AI)
- Why attention divides by sqrt(d_k)AI Engineer (LLM & Generative AI)
- Scaling factor in attentionMachine Learning Engineer
- Parameters in a multi-head attention blockMachine Learning Engineer
- Why RoPE encodes relative positionMachine Learning Engineer
- What FlashAttention changesMachine Learning Engineer