weiruihhh/cs336_note_and_hw resource
记录我在cs336学习时的笔记和作业 observed · 2026-08-28
Health v2 · maintenance only
55/100
- Activity 80
- Release rhythm 35
- Longevity 32
Flags: no_releases no_license
How is this computed?
round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10) — computed 2026-09-02. Adoption (stars, forks) is never an input.
- gap_med: n/a
- age_days: 458
- days_rel: n/a
- days_push: 123
- n_releases_24m: 0
Adoption not part of the score
1088 stars · 45 forks observed · 2026-08-28
What it is AI-extracted, prompt v1, taxonomy v1, 2026-08-30, confidence not recorded
A collection of personal course notes and completed homework solutions for Stanford CS336: Building Large Language Models from scratch. It covers Transformer fundamentals, training optimization with Triton and Flash Attention, scaling laws, data cleaning pipelines, and RL-based alignment methods like GRPO and DPO.
Use cases
- study notes for stanford cs336 building large language models
- learn how to build an llm from scratch
- reference solutions for cs336 assignments
- understand flash attention and triton kernel implementation
- learn scaling laws for large language models
- implement GRPO and DPO for LLM alignment
- learn the LLM training data cleaning pipeline
When to choose
- you are taking or self-studying Stanford CS336 and want notes and worked assignments
- you want a structured path to building LLM components from scratch in PyTorch
- you want reference implementations of GRPO, DPO, or Flash Attention exercises
When to avoid
- you need a production-ready LLM training framework
- you want fully polished, complete notes - the author states several chapters are unfinished
- you need commercially licensed material - it is CC BY-NC-SA 4.0, non-commercial only
Facets
learning-resource · maturity active
llm-training deep-learning machine-learning prompt-engineering large-language-models deep-learning tutorials machine-learning python cs336 stanford course-notes homework-solutions transformers pytorch triton flash-attention scaling-laws grpo dpo reinforcement-learning data-cleaning tokenizer
1 source
- readme: https://github.com/weiruihhh/cs336_note_and_hw · fetched 2026-08-28 · 92f86535f0bc
Member repositories
| Repository | Role | Health v2 |
|---|---|---|
| weiruihhh/cs336_note_and_hw | main | 55 |
For agents
markdown · JSON · MCP: product_card(name="weiruihhh/cs336_note_and_hw")
Data as of 2026-08-30T08:39:29.467469+00:00 · Report a problem