SuperAPIAI Directory

nanoGRPO vs 蚂蚁百宝箱Tbox

Metrics & specs comparison

nanoGRPO

nanoGRPO is a lightweight implementation of Group Relative Policy Optimization (GRPO), aimed at language model training. According to the repository description, users can use it to train their own "tiny r1/o1" models; the author provides results after training for 120 steps on an 8GB RTX 4060. Its core formula is: J_GRPO(θ) = (1/G) Σ_{i=1}^{G} (min(π_θ(o_i|q)/π_θ_old(o_i|q) · A_i, clip(π_θ(o_i|q)/π_θ_old(o_i|q), 1-ε, 1+ε) · A_i)). The repository points out that GRPO can be understood as PPO using the z score of grouped output as the advantage estimate, without using a value function, and provides links to the original paper and the r1 paper.

DimensionnanoGRPO蚂蚁百宝箱Tbox
CategoryAI developer platformsAI developer platforms
Monthly visits—
34.9M
MoM—+3.0%
Global rank—#1,113
Avg. visit—4m 44s
AI referrals—0.2%
Pricing开源项目(可免费自部署)—
Platforms—Web
Up/Down to navigate · Enter to open · ESC to closeBrowse all tools