DLLXW/baby-llama2-chinese resource
用于从头预训练+SFT一个小参数量的中文LLaMa2的仓库;24G单卡即可运行得到一个具备简单中文问答能力的chat-llama2. observed · 2026-08-28
Health v2 · maintenance only
72/100
- Activity 97
- Release rhythm 35
- Longevity 79
Flags: no_releases
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: 1117
- days_rel: n/a
- days_push: 20
- n_releases_24m: 0
Adoption not part of the score
2923 stars · 354 forks observed · 2026-08-28
What it is AI-extracted, prompt v1, taxonomy v1, 2026-08-30, confidence not recorded
An educational Python repository for pretraining and SFT fine-tuning a small (92M-218M parameter) Chinese Llama2 model from scratch, runnable on a single 24GB GPU. It also curates a complete set of LLM learning materials covering the full pipeline from pretraining to instruction tuning.
Use cases
- pretrain a small chinese llama2 model from scratch
- learn how llm pretraining and sft work
- fine-tune a chinese chat model on a single gpu
- train a domain-specific chinese chatbot like medical qa
- clean and deduplicate chinese pretraining corpora
- run inference with a trained llama2 checkpoint
When to choose
- you want to learn the full LLM training pipeline hands-on
- you have limited compute (one 24GB GPU) and want a small Chinese chat model
- you need an educational codebase with Chinese pretraining and SFT data recipes
When to avoid
- you need a production-grade large Chinese LLM with strong general capabilities
- you want ready-made inference without training
- you require the full RLHF/reward-model pipeline, which is not yet implemented
Facets
learning-resource · maturity active
llm-training llm-inference machine-learning deep-learning data-science large-language-models machine-learning education tutorials python cross-platform llama2 chinese-llm pretraining sft from-scratch single-gpu educational chatglm-tokenizer reinforcement-learning natural-language-processing gpu linux
1 source
- readme: https://github.com/DLLXW/baby-llama2-chinese · fetched 2026-08-28 · c2d00dbb336f
Member repositories
| Repository | Role | Health v2 |
|---|---|---|
| DLLXW/baby-llama2-chinese | main | 72 |
For agents
markdown · JSON · MCP: product_card(name="DLLXW/baby-llama2-chinese")
Data as of 2026-08-30T08:39:29.467469+00:00 · Report a problem