DavidDingXu/hello-llm
DavidDingXu/hello-llm has 39 GitHub stars and 4 forks. GitHot measured 0 stars in 24 hours and 0 in 7 days. Last checked 2026-11-09 13:33 UTC. Last push 2026-10-28.
手写小模型,看懂大模型。20 讲图解与代码,浏览器直接训练,无需 GPU。|Build a tiny LLM from scratch with 20 illustrated lessons and browser training. No GPU required.
Measured star growth
- in 24h
- 0
- in 7 days
- 0
- in 15 days
- Update delayed
- in 1 month
- Update delayed
Net star changes over overlapping periods, not daily totals. Missing measurements are left blank. Stars measure attention, not software quality.
README.en.md
OriginalHello LLM
Build a Small Model, Understand Large Models
20 lessons · 23 videos · Train in your browser
From one neuron to a model that generates text
An original course by 好好用 AI / DavidDingXu. Follow one 92,352-parameter language model through neurons, gradients, attention, pretraining, generation and supervised fine-tuning.
No prior Python or deep learning knowledge is required to start with the diagrams and browser experiments. All code runs on a CPU. Each lesson includes diagrams, code and exercises. Companion videos have Chinese audio and captions; PDF and EPUB downloads are Chinese editions.
Try it: Edit and run a neuron · Train the model in your browser
Course contents
Start with the introduction or opening lesson.
Make a numerical network learn
Turn text into training examples
| Lesson | The question you will answer | Video · Chinese |
|---|---|---|
| 07 | Embedding: How Does Text Become a Network Input? | 4:23 |
| 08 | Softmax: How Do Scores Become Next-Character Probabilities? | 4:41 |
| 09 | Training Targets: How Does a Sentence Become a Learnable Task? | 4:32 |
Read context and assemble the model
Pretrain, generate and fine-tune
| Lesson | The question you will answer | Video · Chinese |
|---|---|---|
| 17 | Pretraining: Why Can New Questions Get Worse as Training Questions Improve? | 5:39 |
| 18 | Generation: How Many Choices Does One Sentence Take? | 4:50 |
| 19 | Supervised Fine-Tuning: Why Can It Continue Text but Still Fail to Answer? | 6:21 |
| 20 | The Full Workflow: Connect Pretraining, Fine-Tuning, and Generation | 6:29 |
Finish with closing thoughts. Runnable entries are in the chapter and code index.
Resources
Run the code · Video course · Experiment records
Contribute
Questions, corrections and translation reviews are welcome: open an issue or read the contribution guide. Local reading and website maintenance are covered in the build guide. Star the project if it helps you learn.
Maintained by DavidDingXu / 好好用 AI.
License
Software: PolyForm Noncommercial 1.0.0. Original text, figures, videos and data: CC BY-NC 4.0. Both restrict commercial use; see LICENSING.md.
Links
Explore related projects
tensorflow/tensorflow
An Open Source Machine Learning Framework for Everyone
201,427 starshuggingface/transformers
🤗 Transformers: the model-definition framework for state-of-the-art machine learning models in text, vision, audio, and multimodal models, for both inference and training.
168,711 starsAUTOMATIC1111/stable-diffusion-webui
Stable Diffusion web UI
165,274 starsComfy-Org/ComfyUI
The most powerful and modular diffusion model GUI, api and backend with a graph/nodes interface. The fastest local inference engine in the world.
146,024 stars