CMU / CMU10-423已收录

Generative AI

从语言到图像与多模态,学习生成式 AI 的模型、适配与规模化方法。

关于这组笔记

个人自学讲义,参考 Spring 2026 的 10-423 / 10-623 / 10-723 公开课表与 slides,配套自编实验。

查看原课程资料

适合的起点

建议熟悉 Python、概率、线性代数与基础深度学习。

本系列为个人学习整理,非学校官方发布,不代表学校或授课教师的认可或背书。

沿着目录阅读

当前 30 篇

预备知识

  1. 预备知识 1前置讲 P1 · 数字、张量与内存:模型在计算机里长什么样 · Numbers, Tensors & Memory
  2. 预备知识 2前置讲 P2 · 生成模型的概率工具箱 · A Probability Toolbox for Generative Models
  3. 预备知识 3前置讲 P3 · GPU 与性能模型 · GPUs and Performance Models
  4. 预备知识 4前置讲 P4 · 多卡与通信 · Multi-GPU Communication

课程讲义

  1. Lecture 01第 1 讲 · 课程概述、RNN 语言模型与自动微分 · Course Overview, RNN-LMs & Automatic Differentiation
  2. Lecture 02第 2 讲 · Transformer 语言模型 · Transformer Language Models
  3. Lecture 03第 3 讲 · 训练大语言模型与解码 · Learning LLMs & Decoding
  4. Lecture 04第 4 讲 · 预训练、微调与现代 Transformer · Pre-training, Fine-tuning & Modern Transformers
  5. Lecture 05第 5 讲 · 计算机视觉:CNN、仅编码器 Transformer 与 ViT · CNNs, Encoder-only Transformers & Vision Transformers
  6. Lecture 06第 6 讲 · 生成对抗网络与概率图模型 · Generative Adversarial Networks + Probabilistic Graphical Models
  7. Lecture 07第 7 讲 · 扩散模型(上)· Diffusion Models (Part I)
  8. Lecture 08第 8 讲 · 扩散模型(下)· Diffusion Models (Part II) + VAE 引子
  9. Lecture 09第 9 讲 · 变分自编码器(VAE)+ 零样本与少样本 · Variational Autoencoders + Zero-shot vs. Few-shot
  10. Lecture 10第 10 讲 · 参数高效微调(PEFT)· Parameter-Efficient Fine-Tuning
  11. Lecture 11第 11 讲 · 上下文学习、提示工程、指令微调与 RLHF · In-Context Learning, Prompting, Instruction Fine-Tuning & RLHF
  12. Lecture 12第 12 讲 · DPO、文本到图像生成与潜空间扩散 · DPO, Text-to-Image Generation & Latent Diffusion
  13. Lecture 13第 13 讲 · 视觉-语言模型(VLM)· Vision-Language Models
  14. Lecture 14第 14 讲 · 交叉注意力、扩散 Transformer 与 Prompt-to-Prompt · Cross-Attention, Diffusion Transformer & Prompt-to-Prompt
  15. Lecture 15第 15 讲 · Q-Former 与规模定律 · Querying Transformer & Scaling Laws
  16. Lecture 16第 16 讲 · 混合专家(MoE)· Mixture of Experts
  17. Lecture 17第 17 讲 · 分布式训练 · Distributed Training
  18. Lecture 18第 18 讲 · FlashAttention 与高效解码 · Efficient Attention (FlashAttention) & Efficient Decoding
  19. Lecture 19第 19 讲 · 长上下文 LLM · Long Context in LLMs
  20. Lecture 20第 20 讲 · 推理模型 · Reasoning Models(+ 机制可解释性)
  21. Lecture 21第 21 讲 · 状态空间模型与混合模型 · State Space Models + Hybrid Models
  22. Lecture 22第 22 讲 · 现实世界的问题:会出什么错? · Real-world Issues and Considerations
  23. Lecture 23第 23 讲 · 代码生成与自主智能体 · Code Generation + LLMs / VLMs as Autonomous Agents
  24. Lecture 24第 24 讲 · 音频理解与合成 · Audio Understanding and Synthesis
  25. Lecture 25第 25 讲 · 视频生成与理解 · Video Generation and Understanding
  26. Lecture 26第 26 讲 · 交互式世界模型 + 对齐科学 · Interactive World Models + Science of Alignment

从讲义到代码

按课程目录整理的配套示例,保留各单元的文件结构。阅读讲义时,可以下载整套代码,在本地逐步探索。

下载 CMU10-423 代码

请在独立虚拟环境中查看依赖后运行;未附模型权重和运行产物;示例未逐一验证。

返回全部课程