#362 · Primary category: Education & Research

diy-llm

gpu-programming llm nlp rl sft transformer triton

🎓 系统性大语言模型构建课程|🛠️ 覆盖预训练数据工程、Tokenizer、Transformer、MoE、GPU 编程 (CUDA/Triton)、分布式训练、Scaling Laws、推理优化及对齐 (SFT/RLHF/GRPO)|🚀 6 个渐进式作业 + 代码驱动,建立 LLM 全栈认知体系

Project last updated:08/28/26

GitHub Stars

1.3K

Forks

128

Contributors

10

License

Other

Why we included this project

Most courses teach you how to call an LLM; this one walks you through building the whole thing yourself. It follows the complete pretraining pipeline, from tokenizer construction and Transformer internals to mixture-of-experts, GPU kernels, distributed training, and alignment methods like SFT and RLHF, with six progressive, code-driven assignments modeled on Stanford's CS336. Theory is paired with working code throughout, so a developer comfortable with Python and PyTorch can keep up without prior LLM experience. It was written for Chinese-language learners and adapts the material to domestic models like Qwen and DeepSeek rather than just translating the original course. Don't expect a deployable runtime; this is a structured learning path, and its value is in building a working mental model of the whole LLM stack.

Articles for this project

No articles for this project yet.

To suggest a topic or contribute an article, contact us.

Related projects in this category