
llms-from-scratch-cn
by datawhalechina (organization)
仅需Python基础,从0构建大语言模型;从0逐步构建GLM4\Llama3\RWKV6, 深入理解大模型原理 (description from the project’s GitHub page)
Repository facts
- Stars
- 4,414
- Forks
- 608
- Open issues and pull requests
- 15
- Primary language
- Jupyter Notebook
- License
- Other license
- Owner
- datawhalechina · Organization
- Created
- Feb 28, 2024
- Last push
- Sep 17, 2026
Topics
Add this badge to your README
Shows this repository’s rank in AI on GitHub and links back to this page. Ranks are by stars and change when the list is refreshed. The badge is not an endorsement or a rating. About the badges
Markdown (for a README)
[](https://unitedstatesofamericasuperintelligence.com/github/datawhalechina--llms-from-scratch-cn/)
HTML
<a href="https://unitedstatesofamericasuperintelligence.com/github/datawhalechina--llms-from-scratch-cn/"><img src="https://unitedstatesofamericasuperintelligence.com/badges/github/datawhalechina--llms-from-scratch-cn.svg" alt="Ranked #1,820 in AI on GitHub" height="20"></a>
Related projects
Projects that share this one’s GitHub topics.
Rank 13: ollama/ollama
Get up and running with Kimi, GLM, MiniMax, DeepSeek, gpt-oss, Qwen, Gemma and other models.
183,722 starsGoMITLast push Oct 18, 2026
Rank 185: sgl-project/sglang
SGLang is a high-performance serving framework for large language models and multimodal models.
37,276 starsPythonApache-2.0Last push Oct 18, 2026
Rank 513: modelscope/ms-swift
Use PEFT or Full-parameter to CPT/SFT/DPO/GRPO 600+ LLMs (Qwen3.8, DeepSeek-V4, GLM-5.1, InternLM3, Llama4, ...) and 300+ MLLMs (Qwen3-VL, Qwen3-Omni, InternVL3.5, Ovis2.5, GLM5.3…
15,871 starsPythonApache-2.0Last push Oct 18, 2026
Rank 4,833: GradientHQ/parallax
Parallax is a distributed model serving framework that lets you build your own AI cluster anywhere
1,397 starsPythonApache-2.0Last push Jul 1, 2026
Rank 6,010: NVIDIA-NeMo/Automodel
🚀 Pytorch Distributed native training library for LLMs/VLMs with OOTB Hugging Face support
1,027 starsPythonApache-2.0Last push Oct 18, 2026
Rank 3,546: guinmoon/LLMFarm
llama and other large language models on iOS and MacOS offline using GGML library.
2,081 starsCMITLast push Jan 30, 2026