Week 3: Attention and transformers

DATA 443/643 · Week 3

Module 1 — Attention and transformers

Notes

Labs

Videos

Additional readings

Discussion

  • Path length 1 versus cost T squared: which one is the reason we left RNNs, and which one is the reason Week 7 exists?
  • Why mix values rather than keys? What goes wrong in Lab 3 if you softmax over the wrong axis?
  • GPT versus BERT: which mask, which loss, and which one would you pick if the demo must stream tokens?
  • If you drop positional encodings, which two sentences become the same set? Why is that fatal for language?