Cortex
Cortex is an open-source large language model training project for individual developers, aiming to lower training costs. The project implements the complete process of building a large model from scratch, with fully open-source and highly decoupled code, covering the full training pipeline of pretraining, Midtrain, SFT, DPO, and PPO. Cortex 3.1 supports full-process training on domestic chips (MLU370 × 4), adopts an extremely lightweight MoE architecture, with a total parameter count of only 0.1B and approximately 67M activated parameters for inference, enabling high-throughput inference on low-compute devices. The project introduces LLM as Judge-driven PPO training, and supports the Attention Residuals mechanism and thinking control (/think and /no think tags). The model definition and training framework are decoupled into separate repositories for flexible use.