North Mini Code 是 Cohere 在 26 年 9 月提出的一个 30B-A3B 的用于 agentic coding 的 MoE 模型
架构上, North Mini Code 使用了 MoE 和 hybrid attention 架构
- MoE, 总专家个数为 128 个,激活专家个数为 8 个, 第一层为 dense layer
- Attention, local attention 为 SWA (window size=4096), global attention 为 GQA (32/4), local=3:1
Post-training
Post-training 包含 2 阶段,SFT 和 RLVR
SFT 包含 2 个 stage,
- stage 1 使用了 30B tokens, 包含了 的 code tokens, 其中 agentic tool-use data, single-turn competitive or scientific programming data, context length 为 64k
- stage 2 使用了 4.5B tokens, 包含了 的 code tokens, context length 为 128k
RLVR 阶段作者使用了 70K verifiable tasks, 覆盖 5K unique repos.
Infra
Infra 上,作者使用了 async RL 进行训练,训练算法为 CISPO (MiniMax et al., 2025)
对于 terminal-based tasks, 作者使用了 Harbor, 对于 SWE tasks, 作者使用了 SWE-agent harness.
- MiniMax, :, Chen, A., Li, A., Gong, B., Jiang, B., Fei, B., Yang, B., Shan, B., Yu, C., Wang, C., Zhu, C., Xiao, C., Du, C., Zhang, C., Qiao, C., Zhang, C., Du, C., Guo, C., … Sun, Z. (2025). MiniMax-M1: Scaling Test-Time Compute Efficiently with Lightning Attention. https://arxiv.org/abs/2506.13585