qibin0506/Cortex resource
从零构建大模型:从预训练到RLHF的完整实践 observed · 2026-08-28
Health v2 · maintenance only
63/100
- Activity 98
- Release rhythm 35
- Longevity 31
Flags: no_releases
How is this computed?
round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10) — computed 2026-09-03. Adoption (stars, forks) is never an input.
- gap_med: n/a
- age_days: 436
- days_rel: n/a
- days_push: 13
- n_releases_24m: 0
Adoption not part of the score
2689 stars · 209 forks observed · 2026-08-28
What it is AI-extracted, prompt v1, taxonomy v1, 2026-08-30, confidence not recorded
Cortex is an open-source educational project that walks through building a large language model from scratch, covering the full training lifecycle: pretraining, midtraining, SFT, DPO, and PPO-based RLHF. It features a lightweight 0.1B-parameter MoE model, thinking-mode control via /think and /no think tags, and has been validated on domestic Chinese MLU370 chips.
Use cases
- learn how to pretrain an LLM from scratch
- understand the full RLHF pipeline with DPO and PPO
- train a small MoE model on limited hardware
- study instruction tuning and preference alignment code
- run a tiny chat model locally with a web UI
- adapt LLM training to domestic accelerators like MLU370
When to choose
- you want a complete, decoupled, end-to-end LLM training codebase to learn from
- you need an extremely lightweight MoE reference implementation
- you want runnable examples of pretrain, SFT, DPO, and PPO stages
- you are exploring LLM-as-Judge reward signals for PPO
When to avoid
- you need a production-grade LLM or state-of-the-art model quality
- you want a turnkey fine-tuning framework rather than educational code
- you require large-scale multi-node training support out of the box
- you need broad model architecture compatibility
Facets
learning-resource · maturity active
llm-training machine-learning deep-learning rag chatbot large-language-models deep-learning machine-learning education tutorials python llm-from-scratch pretraining sft dpo ppo rlhf moe deepspeed chinese modelscope linux gpu docker
2 sources
- readme: https://github.com/qibin0506/Cortex · fetched 2026-08-28 · b536a52984db
- homepage: https://www.modelscope.cn/studios/qibin0506/Cortex · fetched 2026-08-29 · 15200e4f5d18
Member repositories
| Repository | Role | Health v2 |
|---|---|---|
| qibin0506/Cortex | main | 63 |
For agents
markdown · JSON · MCP: product_card(name="qibin0506/Cortex")
Data as of 2026-08-30T08:39:29.467469+00:00 · Report a problem