Official repository for the paper SPPO: Sequence-Level PPO for Long-Horizon Reasoning Tasks. [arXiv]
2026.4.7: This paper has been accepted to ACL 2026 Main Conference.
First, run the environment installation script. This will:
- Install UV package manager
- Create a Python 3.10 virtual environment
- Install vLLM, SGLang, and other dependencies
- Install all required packages for the project
bash uv_verl.shAfter the environment setup is complete, choose and run the corresponding training script:
bash run_scripts/run_ds1.5B_PPO_SEQUENCE_shuffle.shbash run_scripts/run_R1-7B_DAPO_SEQUENCE.shbash run_scripts/run_R1-7B_DAPO_SEQUENCE_small_critic.sh.
├── data/ # Training and evaluation data
├── verl/ # Core library
├── run_scripts/ # Training launch scripts
├── scripts/ # Utility scripts
└── uv_verl.sh # Environment setup script
Ensure the following data files are available:
data/deepscaler-math.parquet- Training data for 1.5B modeldata/dapo-math-17k_dedup.parquet- Training data for 7B modeldata/offline_eval/math__aime_repeated_8x_240.parquet- AIME24 test setdata/offline_eval/math__math_500.parquet- MATH test setdata/offline_eval/math__amc23_2025.parquet- AMC23 test setdata/offline_eval/math__aime2025_2025.parquet- AIME25 test setdata/offline_eval/math__minerva_math_2025_processed.parquet- MINERVA test set
- First-time run will download models, ensure you have a stable internet connection
- Multi-GPU environment is recommended for better training performance
- Training logs and checkpoints will be saved in the working directory