#6464th of 171 in Learning and cookbooks
happy-llm
Chinese-language course on LLM theory and building a LLaMA2-style model
Watch puts happy-llm on your watch list: its new releases and known problems since your last visit. Kept in this browser, no account.happy-llm is on your watch list. Its new releases and problems show there.
- Stars
- 35.1k
- License
- custom license
- Last commit
- Aug 2026
- Last release
- Jan 2026
- Language
- Jupyter Notebook
27,368 on 24 Mar 202635,138 on 24 Nov 2026
From GitHub's daily star counts.
Checked on GitHub.
Overview
Happy-LLM is a Datawhale course in eight chapters, written in Chinese with an English README. It covers NLP basics, the Transformer and pretrained model families, then implements LLaMA2 in PyTorch, trains a tokenizer, and runs pretraining, SFT, LoRA/QLoRA, RAG, agents and GRPO-based agentic RL. Two 215M checkpoints from chapter 5 are published on ModelScope.
Who it is for: Students and engineers learning how LLMs are built and trained, reading Chinese
Strengths
- Covers Transformer basics through pretraining, SFT, LoRA/QLoRA, RAG, agents and agentic RL
- Publishes 215M base and SFT checkpoints plus a ModelScope studio to try them
- Free PDF and companion slides available from the releases page
- Dependencies split per chapter, with an environment preparation guide
Weaknesses
- Main content is in Chinese; only the README has an English version
- Content license is CC BY-NC-SA 4.0, which restricts commercial use
- Extra Chapter blog section is marked as in progress
What it needs
- Needs PyTorch, Transformers
- Models: LLaMA2, Happy-LLM-215M-base, Happy-LLM-215M-sft
What changed
From the release notes. No flag means the note does not say so, not that the upgrade is safe. Releases and problems by RSS
Also in Learning and cookbooks
See all 171| Rank | Project | Score |
|---|---|---|
| #62 | smol-courseHands-on course on fine-tuning and aligning small language models | 54 out of 100 |
| #63 | agentcore-samplesSample code and tutorials for deploying agents on Amazon Bedrock AgentCore | 54 out of 100 |
| #65 | microgradScalar-valued autograd engine and tiny neural net library in about 150 lines of Python | 52 out of 100 |
| #66 | all-in-ragChinese-language RAG tutorial with code, from chunking to Graph RAG | 52 out of 100 |
| #67 | tensorflow/examplesOfficial TensorFlow example notebooks, community samples and course material | 52 out of 100 |