How to use from
vLLM
Install from pip and serve model
# Install vLLM from pip:
pip install vllm
# Start the vLLM server:
vllm serve "RLHFlow/Qwen2.5-Math-7B-Zero-Reinforce-Rej"
# Call the server using curl (OpenAI-compatible API):
curl -X POST "http://localhost:8000/v1/chat/completions" \
	-H "Content-Type: application/json" \
	--data '{
		"model": "RLHFlow/Qwen2.5-Math-7B-Zero-Reinforce-Rej",
		"messages": [
			{
				"role": "user",
				"content": "What is the capital of France?"
			}
		]
	}'
Use Docker
docker model run hf.co/RLHFlow/Qwen2.5-Math-7B-Zero-Reinforce-Rej
Quick Links

Reinforce-Rej baseline from Qwen-Math-7B-base.

If you found useful, please consider cite,

@inproceedings{Xiong2025AMA,
  title={A Minimalist Approach to LLM Reasoning: from Rejection Sampling to Reinforce},
  author={Wei Xiong and Jiarui Yao and Yuhui Xu and Bo Pang and Lei Wang and Doyen Sahoo and Junnan Li and Nan Jiang and Tong Zhang and Caiming Xiong and Hanze Dong},
  journal={arXiv preprint arXiv:2504.11343},
  year={2025},
}
Downloads last month
4
Safetensors
Model size
8B params
Tensor type
BF16
·
Inference Providers NEW
This model isn't deployed by any Inference Provider. 🙋 Ask for provider support

Collection including RLHFlow/Qwen2.5-Math-7B-Zero-Reinforce-Rej

Paper for RLHFlow/Qwen2.5-Math-7B-Zero-Reinforce-Rej