Ask any question about EPFL courses, lectures, exercises, research, news, etc. or try the example questions below.
DISCLAIMER: The Graph Chatbot is not programmed to provide explicit or categorical answers to your questions. Rather, it transforms your questions into API requests that are distributed across the various IT services officially administered by EPFL. Its purpose is solely to collect and recommend relevant references to content that you can explore to help you answer your questions.
This lecture covers the transition from attention mechanisms to transformers in modern NLP. Starting with encoder-decoder models, the instructor explains the concept of attention and its enhancement through transformers. The lecture delves into the generation of sequences using decoding from sequence to sequence models. The attentive encoder-decoder model is introduced, highlighting the reduction of temporal bottlenecks and the use of attention to focus on different parts of the input. The attention function, including multiplicative, linear, and scaled dot product attention, is discussed. The lecture concludes with a detailed explanation of self-attention, masked multi-headed attention, and cross-attention in transformers.