CP-Zero
CP-Zero is an open-source project that applies the R1-Zero method to train on the Code Contests dataset, using rule-based rewards and the GRPO algorithm. The project uses Qwen2.5-Coder-7B as the base model, with the goal of enabling the model to generate code based on algorithm problem descriptions and to score correctness by verifying it with test data. The project shares observations from the training process, such as format errors disappearing quickly, compilation errors first rising and then falling, and the acceptance rate continuously improving, but no Aha Moment appeared, and after 2000 steps, phenomena such as inconsistency between think and answer and shorter code appeared. The project is modified based on the verl framework, the format reward references Logic-RL, and the dataset uses deepmind/code_contests.