跳到主要内容
步芽

【极致中配】2026年最新版 Stanford CS336: 从头构建大语言模型

斯坦福CS336系统讲解从零构建大语言模型的全流程:分词、架构、注意力、GPU内核、并行训练、扩展定律、推理、评测、数据、后训练与对齐。

难度
难度 5/5研究生级,需从零实现LLM,涉及并行、内核与扩展定律
适合人群
有深度学习基础、想亲手从零构建大模型的研究生或AI工程师
前置要求
Python与PyTorch(熟练掌握张量运算与自动微分)、深度学习基础(了解神经网络与反向传播)、Transformer与注意力机制(理解基本架构)、线性代数与概率(扩展定律与优化所需)
课程规模
35 · 3.9 万播放

主题覆盖

分词PyTorch与einops模型架构注意力变体GPU与TPUTriton内核并行训练扩展定律推理优化评测数据集构建后训练与RLVR对齐

课程大纲(35 讲)

  1. P1 · Lecture 1: Overview, Tokenization61 分钟
  2. P2 · Lecture 2: PyTorch(einops) 重制版55 分钟
  3. P3 · Lecture 3: Architectures 重制版74 分钟
  4. P4 · Lecture 4: Attention Alternatives 重制版71 分钟
  5. P5 · Lecture 5: GPUs, TPUs 重制版66 分钟
  6. P6 · Lecture 6: Kernels, Triton, XLA 重制版63 分钟
  7. P7 · Lecture 7: Parallelism 重制版60 分钟
  8. P8 · Lecture 8: Parallelism 重制版64 分钟
  9. P9 · Lecture 9: Scaling Laws 重制版67 分钟
  10. P10 · Lecture 10: Inference 重制版67 分钟
  11. P11 · Lecture 11: Scaling Laws 重制版66 分钟
  12. P12 · Lecture 12: Evaluation 重制版59 分钟
  13. P13 · Lecture 13: Data (Sources, Datasets) 重制版64 分钟
  14. P14 · Lecture 14: Data 重制版57 分钟
  15. P15 · Lecture 15: Mid/Post-Training 重制版70 分钟
  16. P16 · Lecture 16: Post-Training - RLVR 重制版51 分钟
  17. P17 · Lecture 17: Alignment - Multimodality 重制版52 分钟
  18. P18 · Lecture 18: Guest Lecture Dan Fu 重制版46 分钟
  19. P19 · Lecture 2: PyTorch (einops)55 分钟
  20. P20 · Lecture 3: Architectures74 分钟
  21. P21 · Lecture 4: Attention Alternatives71 分钟
  22. P22 · Lecture 5: GPUs, TPUs66 分钟
  23. P23 · Lecture 6: Kernels, Triton, XLA63 分钟
  24. P24 · Lecture 7: Parallelism60 分钟
  25. P25 · Lecture 8: Parallelism64 分钟
  26. P26 · Lecture 9: Scaling Laws67 分钟
  27. P27 · Lecture 10: Inference67 分钟
  28. P28 · Lecture 11: Scaling Laws66 分钟
  29. P29 · Lecture 12: Evaluation59 分钟
  30. P30 · Lecture 13: Data (Sources, Datasets)64 分钟
  31. P31 · Lecture 14: Data57 分钟
  32. P32 · Lecture 15: Mid/Post-Training70 分钟
  33. P33 · Lecture 16: Post-Training - RLVR51 分钟
  34. P34 · Lecture 17: Alignment - Multimodality52 分钟
  35. P35 · Guest Lecture: Dan Fu46 分钟

本课程卡由 AI 生成,可能存在误差,欢迎反馈。