Save this video free

CMU Introduction To Deep Learning 11-785, Fall 2026: Lecture 19

Carnegie Mellon University Deep Learning · 1:23:38 · Watch on YouTube

These notes were made with YouTube Collector. Paste any YouTube link and get the same: a summary, chapters and a searchable transcript.

CMU Introduction To Deep Learning 11-785, Fall 2026: Lecture 19 Watch on YouTube →

Overview

Transformers replace the sequential information flow of RNNs with parallel self-attention, allowing each token to build a contextual representation from other tokens while positional methods such as RoPE encode order. The lecture connects the architecture’s components to training and deployment: next-token pre-training, instruction tuning, LoRA and DPO post-training, Mixture of Experts, and token representations for text, images, and audio.

Key takeaways

Chapters

0:00 Lecture Setup and the Transformer Roadmap
6:35 Contextual Embeddings and the RNN Bottleneck
11:44 The Transformer’s Encoder, Decoder, and Core Components
16:09 Self-Attention, Multi-Head Attention, and QKV
21:30 Scaled Dot-Product Attention and Why Scaling Matters
25:34 Feed-Forward Networks, Residuals, and Causal Masks
32:10 Sinusoidal and Learned Absolute Positional Encodings
36:20 Relative Positions and Rotary Position Embeddings
40:07 Autoregressive Decoding, Sampling, and the KV Cache
45:05 BERT, GPT, T5, and Next-Token Pre-Training
50:25 Supervised Fine-Tuning and Instruction Tuning
55:00 LoRA and Direct Preference Optimization
1:04:27 Mixture of Experts and Sparse Feed-Forward Routing
1:13:16 Tokenization and Shared Transformer Inputs
1:16:10 Vision Transformers, Audio Features, and Whisper
1:20:00 LLaVA and the Multimodal Assistant Pipeline

Keep these chapters and the full searchable transcript in your own library.

Transcript excerpt

0:08 Middle East and all of you like to managing that infrastructure. Check check check.

1:18 Yeah, two. doesn't want to change. >> So she said, >> "Yeah, Good luck.

2:45 I got it already. >> Check. Check. >> Okay. Let's just >> You have an HDMI on the other side. >> Uh, >> nope. One second. Sorry. Okay. Good. You're sharing another meeting. It

3:51 should be. >> Yeah. >> Actually, let me You mind if I put the mic closer? All right. >> Okay. Thank you. >> Okay. So let's start. So good morning everyone. >> Um today we're going to talk about the

4:40 architecture behind some of the most powerful AI models you've used such as Chad GPT Gemini Llama Whisper and the vision models behind the image search. So they're built on the same fundamental idea which is the transformers. So what makes this architecture so powerful and why has it has it become the foundation of modern AI? So that's what we're going to understand today. So here's our road map five parts and each answers one question. So the first part is why do we need uh transformers? What were the limitations of earlier architectures

5:26 and how do transformers process sequences differently? Part two, how do transformers work? We'll unpack the architecture, attention, positional encoding and how the model generates during the inference. So this would be the biggest uh part of the lecture. Um and then the third part is how do transformers learn and we'll start with pre-training on row text. Then we will explore how post- trainining turns a language model into an assistant through supervised fine-tuning instruction tuning. We will uh talk about Laura and preference learning. Part four we will learn how do transformers scale. will introduce mixture of experts. A technique that

This is the start of the transcript. Save this video free for the whole transcript, searchable and time-coded.

Related notes

Summary, takeaways, and chapters were generated by AI from the video's transcript and may contain errors. The video belongs to its creator, Carnegie Mellon University Deep Learning.

Want the full transcript?

Save this video in YouTube Collector to get its complete searchable transcript, your own AI summaries, and a library that keeps every video you collect in one place.