PYQ.shelf
← Deep Learning

Encoder-Decoder, Attention & Transformers

encoder-decoder models, attention, attention over images, hierarchical attention, transformers

About this topic · 6.9% of all exam questions · ↗ rising
How it has usually been asked (across all papers, approximate)
  • Compute attention scores / weights / context vector from given hidden states · asked ~16 times, 4 of 13 terms
  • Transformer shapes and parameter counts (multi-head, d_model, FFN) · asked ~22 times, 5 of 13 terms
  • Encoder–decoder / transformer concept statements (self vs cross attention, masking, RNN vs transformer) · asked ~33 times, 7 of 13 terms

Tip: The fastest-growing topic. Know the pipeline: score → softmax → weights α → context c = Σ αh, and for transformers softmax(QKᵀ/√d_k)·V. Multi-head parameter counts come from the four d_model×d_model-type matrices.

Appeared in 8/13 terms.

Loading questions…