We can't find the internet
Attempting to reconnect
Something went wrong!
Attempting to reconnect
← All PyTorch tracks
Causal Attention Lab
PyTorchBuild a causal attention pipeline and inspect which earlier tokens each position uses.
Build · inspect · experiment
What you’ll build
- Project a sequence into queries, keys and values.
- Apply a causal mask and stable row-wise softmax.
- Inspect the attention map and test future-token leakage.
Prerequisites: Matrix multiplication, stable softmax and attention shapes. CPU-friendly; a GPU is optional.
Try the other framework →
0
/ 1 solved
- 1. Not solved yet. Causal Attention Lab