datawhalechina/llms-from-scratch-cn resource
仅需Python基础,从0构建大语言模型;从0逐步构建GLM4\Llama3\RWKV6, 深入理解大模型原理 observed · 2026-08-28
Health v2 · maintenance only
59/100
- Activity 74
- Release rhythm 35
- Longevity 65
Flags: no_releases no_license
How is this computed?
round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10) — computed 2026-09-02. Adoption (stars, forks) is never an input.
- gap_med: n/a
- age_days: 917
- days_rel: n/a
- days_push: 160
- n_releases_24m: 0
Adoption not part of the score
4337 stars · 595 forks observed · 2026-08-28
What it is AI-extracted, prompt v1, taxonomy v1, 2026-08-29, confidence not recorded
A hands-on tutorial by Datawhale for building large language models from scratch in Python, covering tokenization, attention, pretraining, and fine-tuning. It includes step-by-step notebooks for implementing GLM4, Llama3, and RWKV6 architectures to deeply understand LLM internals.
Use cases
- learn how large language models work by building one from scratch
- implement GPT-like LLM architecture in PyTorch
- understand attention mechanisms and transformer internals
- build GLM4, Llama3, or RWKV6 from zero
- study LLM pretraining and fine-tuning with runnable notebooks
- find a structured curriculum for learning LLM fundamentals
When to choose
- you want an educational, code-first path to understanding LLM internals
- you have basic Python and PyTorch skills and want to implement models yourself
- you prefer step-by-step notebooks over reading papers alone
- you want to study specific architectures like GLM4, Llama3, or RWKV6
When to avoid
- you need a production-ready LLM training framework
- you want to fine-tune or deploy existing large models rather than learn internals
- you need large-scale distributed training tooling
- you need a permissively licensed codebase for commercial reuse (license is non-standard)
Facets
learning-resource · maturity active
llm-training machine-learning deep-learning large-language-models deep-learning tutorials education python llms-from-scratch glm4 llama3 rwkv6 jupyter-notebooks chinese datawhale hands-on-tutorial
1 source
- readme: https://github.com/datawhalechina/llms-from-scratch-cn · fetched 2026-08-28 · 688c205e0e45
Member repositories
| Repository | Role | Health v2 |
|---|---|---|
| datawhalechina/llms-from-scratch-cn | main | 59 |
For agents
markdown · JSON · MCP: product_card(name="datawhalechina/llms-from-scratch-cn")
Data as of 2026-08-30T08:39:29.467469+00:00 · Report a problem