Skip to main content
grasp.study
About
Explore
Pricing
Log in
Try it for free
Back to course
👋
Welcome to a Grasp lesson
Create a free account
to keep studying and create your own study path.
Generative AI for Autonomous Driving
·
Module 2
The Attention Mechanism
1
Scaled Dot-Product Attention Calculation
Compute scaled dot-product attention given query, key, and value matrices
2
Softmax Scaling & Vanishing Gradients
Explain the role of the scaling factor in preventing vanishing gradients through softmax
3
Understanding Self-Attention
Describe self-attention and how it allows each token to attend to all other tokens in a sequence
4
Causal Self-Attention in Autoregressive Models
Explain causal (masked) self-attention and why it is required for autoregressive models
5
Multi-Head Attention: Understanding Subspace Representation
Describe multi-head attention and how it enables attending to different representation subspaces simultaneously
6
Projection Matrices in Multi-Head Attention
Explain the role of learned projection matrices W_Q, W_K, W_V, and W_O in multi-head attention
7
Understanding Sinusoidal Positional Encodings
Describe sinusoidal positional encodings and why position information must be explicitly injected
Previous module
Sequence Modeling Foundations
Next module
Transformer Architecture and LLM Basics