#128128th of 171 in Learning and cookbooks

base-llm

Chinese-language course from NLP basics to LLM fine-tuning and deployment

Stars
1.2k
License
no license
Last commit
Sep 2026
Language
Jupyter Notebook
Stars, last 29 weeks+436
7 May 2026: 718 stars14 May 2026: 736 stars21 May 2026: 763 stars28 May 2026: 781 stars4 Jun 2026: 799 stars11 Jun 2026: 814 stars18 Jun 2026: 828 stars25 Jun 2026: 844 stars2 Jul 2026: 858 stars9 Jul 2026: 871 stars16 Jul 2026: 892 stars23 Jul 2026: 904 stars30 Jul 2026: 922 stars6 Aug 2026: 940 stars13 Aug 2026: 963 stars20 Aug 2026: 984 stars27 Aug 2026: 994 stars3 Sept 2026: 1,004 stars10 Sept 2026: 1,020 stars17 Sept 2026: 1,034 stars24 Sept 2026: 1,046 stars1 Oct 2026: 1,058 stars8 Oct 2026: 1,065 stars15 Oct 2026: 1,086 stars22 Oct 2026: 1,099 stars29 Oct 2026: 1,114 stars5 Nov 2026: 1,124 stars12 Nov 2026: 1,128 stars19 Nov 2026: 1,146 stars26 Nov 2026: 1,154 stars

718 on 7 May 20261,154 on 26 Nov 2026

From GitHub's daily star counts.

Checked on GitHub.

Overview

A Chinese-language tutorial that goes from tokenization, Word2Vec and RNN/LSTM through Transformer, BERT, GPT and T5 to a hand-written Llama2. Later parts cover LoRA/QLoRA fine-tuning of Qwen2.5, DPO with LLaMA-Factory, quantization, DeepSpeed, FastAPI and Docker Compose deployment, LLM safety and multimodal models. Text classification and NER projects serve as worked examples.

Who it is for: Chinese-reading engineers and students moving from NLP to LLMs

Strengths

  • Covers the path from Word2Vec and RNNs to Llama2, LoRA, RLHF and deployment
  • Includes full projects: text classification, NER, Qwen2.5 fine-tuning on private data
  • Hand-writes Transformer and Llama2 code rather than only calling libraries
  • Online reading site available alongside the repo

Weaknesses

  • Written in Chinese only; no English version mentioned
  • CC BY-NC-SA 4.0 license bars commercial use
  • Safety alignment and architecture chapters are still marked under construction
  • Assumes prior Python, PyTorch and deep learning knowledge

What it needs

  • Needs Python 3.10+, PyTorch, Hugging Face, peft, LLaMA-Factory, DeepSpeed, FastAPI, Docker Compose, Jenkins
  • Models: BERT, GPT, T5, Llama2, Qwen2.5

Also in Learning and cookbooks

See all 171
Also in Learning and cookbooks
RankProjectScore
#126transformer-explainerInteractive browser visualization of how GPT-2 predicts the next token Live demo ↗ (opens in a new tab)9.2k starsMIT35 out of 100
#127frontier-evalsEval code for paper replication, freelance coding and smart contract security1.3k starsMIT35 out of 100
#129reinforcement-learningPyTorch reference implementations of classic and deep RL algorithms, one file each3.7k starsMIT34 out of 100
#130drl-zhHands-on deep reinforcement learning course in exercise notebooks2.3k starsMIT34 out of 100
#131e2b-cookbookRunnable examples for running LLM-generated code in E2B sandboxes1.4k starsno license34 out of 100