how-to-train-your-gpt-zh
How to Train Your GPT 中文版:从零手写一个 GPT(分词、注意力、训练、推理、LoRA/QLoRA/DPO 微调),每行代码都有中文注释
- chinese
- deep-learning
- from-scratch
- gpt
- llm
- lora
- pytorch
- transformer
- tutorial
- Stars
- 375
- Forks
- 35
- + today
- +1
- Created
- 4d
Ranking data as of December 5, 2026 (UTC).
Star History
Today, hour by hour
374375
Overview
How to Train Your GPT 中文版:从零手写一个 GPT(分词、注意力、训练、推理、LoRA/QLoRA/DPO 微调),每行代码都有中文注释 It ranks #2950 on GitTiger, gaining +1 star on December 5, 2026 (UTC).
The project is written in Jupyter Notebook and has 35 forks. It was created 4d ago.
Installation
git clone https://github.com/l0K1ngg/how-to-train-your-gpt-zh.git
cd how-to-train-your-gpt-zh
# see README for setup