Advanced Natural Language Processing
沿着表示、生成与行动,学习语言模型的建模、训练、推断和评估。
关于这组笔记
个人自学讲义,参考 Spring 2026 公开 slides、阅读材料与论文,按 23 讲整理;正文为英文并附中文术语说明,配套实验为自行编写。
查看原课程资料适合的起点
建议熟悉 Python、基础概率与线性代数。
本系列为个人学习整理,非学校官方发布,不代表学校或授课教师的认可或背书。
沿着目录阅读
当前 23 篇课程讲义
- Lecture 01Lecture 1 · Introduction and Fundamentals: One Recipe Behind (Almost) Every NLP System
- Lecture 02Lecture 2 · Learned Representations: Subwords, Embeddings, Neural Networks and Backpropagation
- Lecture 03Lecture 3 · Autoregressive Language Modeling: From Counting to Neural Networks
- Lecture 04Lecture 4 · Recurrent Neural Networks: Unbounded Context, Vanishing Gradients, Encoder–Decoders and Attention
- Lecture 05Lecture 5 · Attention and Transformers
- Lecture 06Lecture 6 · Pretraining
- Lecture 07Lecture 7 · Scaling Laws and In-Context Learning
- Lecture 08Lecture 8 · Fine-Tuning and Distillation
- Lecture 09Lecture 9 · Decoding Algorithms
- Lecture 10Lecture 10 · Retrieval and RAG
- Lecture 11Lecture 11 · Multimodal I: Vision Encoders and Vision–Language Models
- Lecture 12Lecture 12 · Multimodal II: Tokenizing Images and Generating Them
- Lecture 13Lecture 13 · Evaluation and Benchmarks
- Lecture 14Lecture 14 · Research Skills and Experimental Design
- Lecture 15Lecture 15 · Diffusion and Flows (Multimodal III)
- Lecture 16Lecture 16 · Reinforcement Learning I: Fundamentals
- Lecture 17Lecture 17 · Reinforcement Learning II: Applications to Language Models
- Lecture 18Lecture 18 · Language-Model-Based Agents
- Lecture 19Lecture 19 · Quantization
- Lecture 20Lecture 20 · Parallelism and Distributed Training
- Lecture 21Lecture 21 · Mixture of Experts
- Lecture 22Lecture 22 · Scaling Sequence Length
- Lecture 23Lecture 23 · Test-Time Scaling
从讲义到代码
按课程目录整理的配套示例,保留各单元的文件结构。阅读讲义时,可以下载整套代码,在本地逐步探索。
下载 CMU11-711 代码请在独立虚拟环境中查看依赖后运行;未附模型权重和运行产物;示例未逐一验证。