#6464th of 171 in Learning and cookbooks

happy-llm

Chinese-language course on LLM theory and building a LLaMA2-style model

Stars
35.1k
License
custom license
Last commit
Aug 2026
Last release
Jan 2026
Language
Jupyter Notebook
Stars, last 35 weeks+7,770
24 Mar 2026: 27,368 stars31 Mar 2026: 27,728 stars7 Apr 2026: 28,024 stars14 Apr 2026: 28,401 stars21 Apr 2026: 28,786 stars28 Apr 2026: 29,273 stars5 May 2026: 29,507 stars12 May 2026: 29,830 stars19 May 2026: 30,062 stars26 May 2026: 30,280 stars2 Jun 2026: 30,473 stars9 Jun 2026: 30,692 stars16 Jun 2026: 31,021 stars23 Jun 2026: 31,208 stars30 Jun 2026: 31,379 stars7 Jul 2026: 31,604 stars14 Jul 2026: 31,830 stars21 Jul 2026: 31,973 stars28 Jul 2026: 32,211 stars4 Aug 2026: 32,422 stars11 Aug 2026: 32,691 stars18 Aug 2026: 32,881 stars25 Aug 2026: 33,099 stars1 Sept 2026: 33,299 stars8 Sept 2026: 33,492 stars15 Sept 2026: 33,719 stars22 Sept 2026: 33,901 stars29 Sept 2026: 34,041 stars6 Oct 2026: 34,110 stars13 Oct 2026: 34,279 stars20 Oct 2026: 34,442 stars27 Oct 2026: 34,583 stars3 Nov 2026: 34,745 stars10 Nov 2026: 34,872 stars17 Nov 2026: 35,007 stars24 Nov 2026: 35,138 stars

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
Also in Learning and cookbooks
RankProjectScore
#62smol-courseHands-on course on fine-tuning and aligning small language models6.8k starsApache-2.054 out of 100
#63agentcore-samplesSample code and tutorials for deploying agents on Amazon Bedrock AgentCore3.6k stars+72 (+2.1%) in 30 daysApache-2.054 out of 100
#65microgradScalar-valued autograd engine and tiny neural net library in about 150 lines of Python19.2k starsMIT52 out of 100
#66all-in-ragChinese-language RAG tutorial with code, from chunking to Graph RAG13.4k starsno license52 out of 100
#67tensorflow/examplesOfficial TensorFlow example notebooks, community samples and course material8.3k starsApache-2.052 out of 100