
Explore decoder and attention-based models, including global, local, and hierarchical attention, with examples in machine translation, plus context-sensitive embeddings like Elmo and their training and use.
Explore encoder-decoder models for sequence-to-sequence tasks like machine translation, with context vectors guiding decoding, start and end symbols, and beam search for best hypotheses.
Explore global, local, and hierarchical attention in encoder-decoder models, which compute context vectors from all encoder states to align source sentences with target translations.
Explore variants of attention: global, local, and hierarchical, showing how context vectors influence decoder outputs, and apply cross-attention for sentence pairs using attention-based CNN architectures.
Elmo trains forward and backward language models to produce context-sensitive word embeddings, giving different vectors for bank in different contexts, combined into a task-specific representation for downstream models.
Summarize core NLP models from encoder-decoder architectures with attention, exploring self-attention, hierarchical and local variants, two-sentence inputs, and Elmo embeddings. Next, the course shifts to transforming based models.
Explore the GLUE benchmark and neural architectures like transformers, including self-attention, multi-head attention, and positional encoding. Learn about transformer decoders and encoders such as BART for end-to-end NLP tasks.
Explore the GLUE benchmark, a collection of nine English language understanding tasks, covering single-sentence similarity, paraphrase, sentiment analysis, and various inference tasks.
Explore transformers' encoder-decoder architecture with six encoder and six decoder layers, embeddings, and positional encoding, plus self-attention and multi-head attention shaping word representations via Q, K, V.
Explore transformer architecture details, including position encodings, self-attention, and residual connections; compare encoder and decoder flows and the use of masked self-attention in the decoder.
Examine how the GPT family uses a decoder-only transformer for next-word prediction, pretraining on large unlabeled text and zero/few-shot in-context learning, then task-specific fine-tuning for NLP tasks.
Explore BERT, a bidirectional transformer encoder for natural language understanding, with base and large configurations, pretraining on masked language modeling and next sentence prediction, followed by task-specific fine-tuning.
The lecture surveys transformer-based models, detailing decoder and encoder-decoder attention, multiheaded self-attention, and positional encoding. It covers BERT variants, training regimes, fine-tuning, in-context learning, and model compression.
This course is a part of "Deep Learning for NLP" Series. In this course, I will introduce concepts like Encoder-decoder attention models, ELMo, GLUE, Transformers, GPT and BERT. These concepts form the base for good understanding of advanced deep learning models for modern Natural Language Processing.
The course consists of two main sections as follows.
In the first section, I will talk about Encoder-decoder models in the context of machine translation and how beam search decoder works. Next, I will talk about the concept of encoder-decoder attention. Further, I will elaborate on different types of attention like Global attention, local attention, hierarchical attention, and attention for sentence pairs using CNNs as well as LSTMs. We will also talk about attention visualization. Finally, we will discuss ELMo which is a way of using recurrent models to compute context sensitive word embeddings.
In the second section, I will talk about details about the various tasks which are a part of the GLUE benchmark and details about other benchmark NLP datasets across tasks. Then we will start our modern NLP journey with understanding different parts of an encoder-decoder Transformer model. We will delve into details of Transformers in terms of concepts like self attention, multi-head attention, positional embeddings, residual connections, and masked attention. After that I will talk about two most popular Transformer models: GPT and BERT. In the GPT part, we will discuss how is GPT trained and what are differences in variants like GPT2 and GPT3. In the BERT part, we will discuss how BERT is different from GPT, how it is pretrained using the masked language modeling and next sentence prediction tasks. We will also quickly talk about finetuning for BERT and multilingual BERT.