0:05 Introduction to the course and instructors
3:55 Course goals, target audience, and prerequisites
7:58 Class logistics, format, and exam structure
12:07 Course materials, resources, and communication channels
16:51 Historical context and evolution of LLMs
23:04 The rise of the transformer architecture and LLMs
33:46 Tokenization: word-level, character-level, and subword-level approaches
37:33 Subword tokenization with BPE and special tokens
39:40 Introduction to special tokens in tokenization
44:32 Vocabulary size and multilingual tokenizers
48:33 Limitations of one-hot encoding and need for meaningful representations
55:13 Word2Vec and proxy tasks for learning word embeddings
59:43 Limitations of Word2Vec and the rise of RNNs
1:01:51 Challenges of RNNs and the emergence of attention mechanisms
1:07:31 The concept of attention and self-attention in transformer models
1:10:10 Query, key, value framework and mathematical formulation of self-attention
1:13:50 Introduction to the Transformer and its foundation in machine translation
1:15:53 Encoder and decoder components in the Transformer architecture
1:17:31 Token and position embeddings in sequence representation
1:19:55 Self-attention mechanism and its role in token representation
1:22:01 Decoder operations and autoregressive generation in translation
1:24:35 Residual connections, layer normalization, and model training tricks
1:27:36 Multi-head attention, dropout, and label smoothing in practice
1:27:36 Detailed example of machine translation with the Transformer
1:27:36 Final overview and future directions of Transformer technology
This course, CME 295 at Stanford, provides a comprehensive technical foundation in Transformers and Large Language Models (LLMs). It covers the evolution of NLP from RNNs to the Transformer architecture, detailing the mechanics of tokenization, self-attention, and the encoder-decoder framework used in modern AI.