How to use from
SGLang
Install from pip and serve model
# Install SGLang from pip:
pip install sglang
# Start the SGLang server:
python3 -m sglang.launch_server \
    --model-path "Jinhe/ReflectRL-Qwen2.5-Math-7B-DAPO" \
    --host 0.0.0.0 \
    --port 30000
# Call the server using curl (OpenAI-compatible API):
curl -X POST "http://localhost:30000/v1/chat/completions" \
	-H "Content-Type: application/json" \
	--data '{
		"model": "Jinhe/ReflectRL-Qwen2.5-Math-7B-DAPO",
		"messages": [
			{
				"role": "user",
				"content": "What is the capital of France?"
			}
		]
	}'
Use Docker images
docker run --gpus all \
    --shm-size 32g \
    -p 30000:30000 \
    -v ~/.cache/huggingface:/root/.cache/huggingface \
    --env "HF_TOKEN=<secret>" \
    --ipc=host \
    lmsysorg/sglang:latest \
    python3 -m sglang.launch_server \
        --model-path "Jinhe/ReflectRL-Qwen2.5-Math-7B-DAPO" \
        --host 0.0.0.0 \
        --port 30000
# Call the server using curl (OpenAI-compatible API):
curl -X POST "http://localhost:30000/v1/chat/completions" \
	-H "Content-Type: application/json" \
	--data '{
		"model": "Jinhe/ReflectRL-Qwen2.5-Math-7B-DAPO",
		"messages": [
			{
				"role": "user",
				"content": "What is the capital of France?"
			}
		]
	}'
Quick Links

ReflectRL-Qwen2.5-Math-7B-GRPO-ReflectRL

This model checkpoint is part of the work presented in ReflectRL: Learning from Golden Negative Trajectories via Reflective-to-Direct Reasoning.

ReflectRL is a lightweight framework for learning from Golden Negative Trajectories (GNTs) during on-policy post-training. Instead of imitating failed expert trajectories directly, ReflectRL uses them as reflective context during training and gradually transitions the policy back to direct reasoning for inference.

Citation

@article{reflectrl2027,
  title={ReflectRL: Learning from Golden Negative Trajectories via Reflective-to-Direct Reasoning},
  author={Jinhe Bi and Chennan Zhou and Zengjie Jin and Aniri and Shuo Lu and Wenke Huang and Hu Cao and Xun Xiao and Zhihong Zhu and Volker Tresp and Fei Shen and Yunpu Ma and Tat-Seng Chua},
  year={2026}
}
Downloads last month
9
Safetensors
Model size
8B params
Tensor type
F32
·
Inference Providers NEW
This model isn't deployed by any Inference Provider. 🙋 Ask for provider support

Model tree for Jinhe/ReflectRL-Qwen2.5-Math-7B-DAPO

Base model

Qwen/Qwen2.5-7B
Finetuned
(1030)
this model

Paper for Jinhe/ReflectRL-Qwen2.5-Math-7B-DAPO