CS336: LLM from Scratch Lecture Notes and Assignments

CS336是关于从零开始构建大型语言模型的综合课程,涵盖了从Transformer架构的基础知识,到MoE模型,GPU加速,Parallelism训练,模型的评估,数据的收集和处理,以及LLM的对齐算法等最新的进展。这个页面包含了CS336课程的所有学习笔记和作业解答。

Related Resources:

About this Course:

  • This course has 17 Lectures and 5 Assignments in total.
  • It might take around 200 hours to finish all the lectures and assignments.

For those who have limited time, I recommend focusing on the following key lectures and assignments:



Lectures Notes


No matching items

Assignments Solutions


No matching items
Back to top