{"adoption": {"forks": 209, "observed_at": "2026-08-28T04:07:10.892235+00:00", "stars": 2689}, "canonical_url": "https://ross.abutalabs.com/products/qibin0506-cortex", "card": {"archived": false, "artifact_type": "learning-resource", "description": "从零构建大模型：从预训练到RLHF的完整实践", "domain": ["large-language-models", "deep-learning", "machine-learning", "education", "tutorials"], "enriched": true, "function": ["llm-training", "machine-learning", "deep-learning", "rag", "chatbot"], "health_score": 79, "homepage": "https://www.modelscope.cn/studios/qibin0506/Cortex", "language": "Python", "license": "Apache-2.0", "license_family": "permissive", "maturity": "active", "member_repos": ["qibin0506/Cortex"], "name": "qibin0506/Cortex", "platform": ["python"], "pushed_at": "2026-08-21T01:59:07+00:00", "repo": "qibin0506/Cortex", "stars": 2689, "tags": ["llm-from-scratch", "pretraining", "sft", "dpo", "ppo", "rlhf", "moe", "deepspeed", "chinese", "modelscope", "linux", "gpu", "docker"], "topics": [], "urls": [], "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"], "what_it_is": "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.", "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"], "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"]}, "data_as_of": "2026-08-30T08:39:29.467469+00:00", "members": [{"path": "/products/qibin0506-cortex", "repo": "qibin0506/Cortex", "role": "main", "score": 63}], "provenance": {"archived": {"kind": "observed", "observed_at": "2026-08-28T04:07:10.892235+00:00", "source": "github"}, "artifact_type": {"confidence": null, "enriched_at": "2026-08-30T02:17:43.002448+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "b536a52984db0be717b87cffb22f6f4492071692e8b1e74491060a1e69beb96f", "fetched_at": "2026-08-28T04:07:10.892235+00:00", "kind": "readme", "missing": false, "url": "https://github.com/qibin0506/Cortex"}, {"content_hash": "15200e4f5d18d170186a8e99dbebfceef85dff91cadc59d5e910893e4b1e1921", "fetched_at": "2026-08-29T09:59:44.559139+00:00", "kind": "homepage", "missing": false, "url": "https://www.modelscope.cn/studios/qibin0506/Cortex"}], "taxonomy_version": 1}, "description": {"kind": "observed", "observed_at": "2026-08-28T04:07:10.892235+00:00", "source": "github"}, "domain": {"confidence": null, "enriched_at": "2026-08-30T02:17:43.002448+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "b536a52984db0be717b87cffb22f6f4492071692e8b1e74491060a1e69beb96f", "fetched_at": "2026-08-28T04:07:10.892235+00:00", "kind": "readme", "missing": false, "url": "https://github.com/qibin0506/Cortex"}, {"content_hash": "15200e4f5d18d170186a8e99dbebfceef85dff91cadc59d5e910893e4b1e1921", "fetched_at": "2026-08-29T09:59:44.559139+00:00", "kind": "homepage", "missing": false, "url": "https://www.modelscope.cn/studios/qibin0506/Cortex"}], "taxonomy_version": 1}, "enriched": {"inputs": [], "kind": "computed", "method": "enrichment_status"}, "function": {"confidence": null, "enriched_at": "2026-08-30T02:17:43.002448+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "b536a52984db0be717b87cffb22f6f4492071692e8b1e74491060a1e69beb96f", "fetched_at": "2026-08-28T04:07:10.892235+00:00", "kind": "readme", "missing": false, "url": "https://github.com/qibin0506/Cortex"}, {"content_hash": "15200e4f5d18d170186a8e99dbebfceef85dff91cadc59d5e910893e4b1e1921", "fetched_at": "2026-08-29T09:59:44.559139+00:00", "kind": "homepage", "missing": false, "url": "https://www.modelscope.cn/studios/qibin0506/Cortex"}], "taxonomy_version": 1}, "health_score": {"inputs": ["days_since_push", "days_since_release", "archived"], "kind": "computed", "method": "health_v1"}, "homepage": {"kind": "observed", "observed_at": "2026-08-28T04:07:10.892235+00:00", "source": "github"}, "language": {"kind": "observed", "observed_at": "2026-08-28T04:07:10.892235+00:00", "source": "github"}, "license": {"kind": "observed", "observed_at": "2026-08-28T04:07:10.892235+00:00", "source": "github"}, "license_family": {"inputs": ["license"], "kind": "computed", "method": "license_family"}, "maturity": {"confidence": null, "enriched_at": "2026-08-30T02:17:43.002448+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "b536a52984db0be717b87cffb22f6f4492071692e8b1e74491060a1e69beb96f", "fetched_at": "2026-08-28T04:07:10.892235+00:00", "kind": "readme", "missing": false, "url": "https://github.com/qibin0506/Cortex"}, {"content_hash": "15200e4f5d18d170186a8e99dbebfceef85dff91cadc59d5e910893e4b1e1921", "fetched_at": "2026-08-29T09:59:44.559139+00:00", "kind": "homepage", "missing": false, "url": "https://www.modelscope.cn/studios/qibin0506/Cortex"}], "taxonomy_version": 1}, "member_repos": {"kind": "observed", "observed_at": "2026-08-28T04:07:10.892235+00:00", "source": "github"}, "name": {"kind": "observed", "observed_at": "2026-08-28T04:07:10.892235+00:00", "source": "github"}, "platform": {"confidence": null, "enriched_at": "2026-08-30T02:17:43.002448+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "b536a52984db0be717b87cffb22f6f4492071692e8b1e74491060a1e69beb96f", "fetched_at": "2026-08-28T04:07:10.892235+00:00", "kind": "readme", "missing": false, "url": "https://github.com/qibin0506/Cortex"}, {"content_hash": "15200e4f5d18d170186a8e99dbebfceef85dff91cadc59d5e910893e4b1e1921", "fetched_at": "2026-08-29T09:59:44.559139+00:00", "kind": "homepage", "missing": false, "url": "https://www.modelscope.cn/studios/qibin0506/Cortex"}], "taxonomy_version": 1}, "pushed_at": {"kind": "observed", "observed_at": "2026-08-28T04:07:10.892235+00:00", "source": "github"}, "repo": {"kind": "observed", "observed_at": "2026-08-28T04:07:10.892235+00:00", "source": "github"}, "stars": {"kind": "observed", "observed_at": "2026-08-28T04:07:10.892235+00:00", "source": "github"}, "tags": {"confidence": null, "enriched_at": "2026-08-30T02:17:43.002448+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "b536a52984db0be717b87cffb22f6f4492071692e8b1e74491060a1e69beb96f", "fetched_at": "2026-08-28T04:07:10.892235+00:00", "kind": "readme", "missing": false, "url": "https://github.com/qibin0506/Cortex"}, {"content_hash": "15200e4f5d18d170186a8e99dbebfceef85dff91cadc59d5e910893e4b1e1921", "fetched_at": "2026-08-29T09:59:44.559139+00:00", "kind": "homepage", "missing": false, "url": "https://www.modelscope.cn/studios/qibin0506/Cortex"}], "taxonomy_version": 1}, "topics": {"kind": "observed", "observed_at": "2026-08-28T04:07:10.892235+00:00", "source": "github"}, "urls": {"kind": "observed", "observed_at": "2026-08-28T04:07:10.892235+00:00", "source": "github"}, "use_cases": {"confidence": null, "enriched_at": "2026-08-30T02:17:43.002448+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "b536a52984db0be717b87cffb22f6f4492071692e8b1e74491060a1e69beb96f", "fetched_at": "2026-08-28T04:07:10.892235+00:00", "kind": "readme", "missing": false, "url": "https://github.com/qibin0506/Cortex"}, {"content_hash": "15200e4f5d18d170186a8e99dbebfceef85dff91cadc59d5e910893e4b1e1921", "fetched_at": "2026-08-29T09:59:44.559139+00:00", "kind": "homepage", "missing": false, "url": "https://www.modelscope.cn/studios/qibin0506/Cortex"}], "taxonomy_version": 1}, "what_it_is": {"confidence": null, "enriched_at": "2026-08-30T02:17:43.002448+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "b536a52984db0be717b87cffb22f6f4492071692e8b1e74491060a1e69beb96f", "fetched_at": "2026-08-28T04:07:10.892235+00:00", "kind": "readme", "missing": false, "url": "https://github.com/qibin0506/Cortex"}, {"content_hash": "15200e4f5d18d170186a8e99dbebfceef85dff91cadc59d5e910893e4b1e1921", "fetched_at": "2026-08-29T09:59:44.559139+00:00", "kind": "homepage", "missing": false, "url": "https://www.modelscope.cn/studios/qibin0506/Cortex"}], "taxonomy_version": 1}, "when_to_avoid": {"confidence": null, "enriched_at": "2026-08-30T02:17:43.002448+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "b536a52984db0be717b87cffb22f6f4492071692e8b1e74491060a1e69beb96f", "fetched_at": "2026-08-28T04:07:10.892235+00:00", "kind": "readme", "missing": false, "url": "https://github.com/qibin0506/Cortex"}, {"content_hash": "15200e4f5d18d170186a8e99dbebfceef85dff91cadc59d5e910893e4b1e1921", "fetched_at": "2026-08-29T09:59:44.559139+00:00", "kind": "homepage", "missing": false, "url": "https://www.modelscope.cn/studios/qibin0506/Cortex"}], "taxonomy_version": 1}, "when_to_choose": {"confidence": null, "enriched_at": "2026-08-30T02:17:43.002448+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "b536a52984db0be717b87cffb22f6f4492071692e8b1e74491060a1e69beb96f", "fetched_at": "2026-08-28T04:07:10.892235+00:00", "kind": "readme", "missing": false, "url": "https://github.com/qibin0506/Cortex"}, {"content_hash": "15200e4f5d18d170186a8e99dbebfceef85dff91cadc59d5e910893e4b1e1921", "fetched_at": "2026-08-29T09:59:44.559139+00:00", "kind": "homepage", "missing": false, "url": "https://www.modelscope.cn/studios/qibin0506/Cortex"}], "taxonomy_version": 1}}, "score": {"components": {"activity": 98, "longevity": 31, "rhythm": 35}, "computed_at": "2026-09-03T02:20:16.233290+00:00", "flags": ["no_releases"], "formula": "round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)", "inputs": {"age_days": 436, "days_push": 13, "days_rel": null, "gap_med": null, "n_releases_24m": 0}, "score": 63, "version": 2}, "staleness": {"enrichment_outdated": false, "low_confidence": false, "scrape_days": 9, "stale_scrape": false}}