涵盖预训练数据、Tokenizer、Transformer、MoE、分布式训练、Scaling Laws、推理与对齐。6 项渐进式代码作业,用于 LLM 全栈学习 | 涵盖预训练数据、分词器、Transformer、MoE、分布式训练、缩放定律、推理与对齐,6 项渐进代码作业,掌握 LLM 全栈知识
cs336 开源项目推荐(57 个)
cs336 话题在 GitHub 上没有填写简介,这里按 Star 数汇总最相关的热门仓库。
热门项目 前 20
按 Star 数排序展示前 20 个 · GitHub 共 57 个仓库动手学大模型全栈:CS336 中文精讲 · PyTorch 手搓 Transformer · 单卡复现 Pretrain/SFT/LoRA/DPO/GRPO/RLVR · PEFT/Agent/RAG 落地(含真实实验、曲线与复现脚本)
Building a small LLM in PyTorch from scratch - a step-by-step journey inspired by Stanford CS336.
Comprehensive illustrated notes for Stanford CS336 (Spring 2025) — Language Modeling from Scratch. Live: qihongruan.github.io/cs336/
The NoteBook and Assignments implemention via Learning CS336 Spring 2026😛
以斯坦福公开课 CS 336 为基底,零基础手搓大模型
实现CS336的作业1,并从头开始构建一个transformer模型。Implement CS336's job 1 and build a transformer from scratch
CS336 Final Project - Vietnamese Legal Text Retrieval
Learning CS336...
Rutgers CS:336 | Principles of Info and Data Management Spring 2022
CS336 作业 5:基于 Qwen2.5 模型的 LLM 对齐与推理强化学习。完整实现了监督微调(SFT)与组相对策略优化(GRPO)算法,并在 GSM8K 数据集上完成零样本、在策与离策的训练与评估对比。
Implementations, assignments, and experiment notes for Stanford CS336: Language Modeling from Scratch.
以斯坦福 CS336 作业 5 为基底,第二章「后训练」的配套代码与讲解
Turn technical lecture videos into timestamped, enriched chapter-book learning handouts.
Self-study notes and labs for Stanford CS336: language modeling, transformers, GRPO, BPE
160+ pages of handwritten notes from Stanford CS336: Language Modeling from Scratch, covering language modeling, LLM systems, and full-stack AI engineering from data to deployment and evaluation and RL alignment
Implementation of a Decoder-only Transformer language model from scratch for CS336, featuring a byte-level BPE tokenizer, RoPE, Multi-Head Self-Attention and SwiGLU FFN. Trained on TinyStories with 1.39 Val Loss.
斯坦福 CS336「Language Modeling from Scratch」中文学习笔记(翻译+扩充+图解,面向大模型后训练算法岗)
该项目在 GitHub 上没有填写描述
Project for Information Retrieval Courses
关于这个话题
- 清单按 Star 数挑选该话题下最热门的 20 个项目,对应的话题主页见 https://github.com/topics/cs336。
- 该话题在 GitHub 上共有 57 个仓库, 这里呈现的是其中最具代表性的 20 个,不是全量列表。
- 星标与复刻数以 GitHub 上的实时数字为准。
- 当前 20 个项目累计 3603 Star,覆盖 4 种主要语言。
- 中文简介由本站编译整理,可点「查看原文」对照项目方提供的原始说明。