Text Generation
Transformers
TensorBoard
Safetensors
English
qwen2
Generated from Trainer
conversational
text-generation-inference
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 "Scale-or-Reason/Qwen2.5-7B-math-ift" \
    --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": "Scale-or-Reason/Qwen2.5-7B-math-ift",
		"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 "Scale-or-Reason/Qwen2.5-7B-math-ift" \
        --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": "Scale-or-Reason/Qwen2.5-7B-math-ift",
		"messages": [
			{
				"role": "user",
				"content": "What is the capital of France?"
			}
		]
	}'
Quick Links

When Does Reasoning Matter?

Dataset Icon

arXiv:2509.22193

This model was trained as part of the paper When Does Reasoning Matter? It belongs to a collection of General and Math-specific student models distilled from Instruction-Fine-Tuned (IFT) or Reasoning answers generated by Qwen/Qwen3-235B-A22B.

results

Datasets

These models were trained on the largest set of IFT and Reasoning answer pairs:


Available Models

General Math
IFT Models Reasoning Models IFT Models Reasoning Models
Qwen2.5-0.5B-ift Qwen2.5-0.5B-reasoning Qwen2.5-0.5B-math-ift Qwen2.5-0.5B-math-reasoning
Qwen2.5-1.5B-ift Qwen2.5-1.5B-reasoning Qwen2.5-1.5B-math-ift Qwen2.5-1.5B-math-reasoning
Qwen2.5-3B-ift Qwen2.5-3B-reasoning Qwen2.5-3B-math-ift Qwen2.5-3B-math-reasoning
Qwen2.5-7B-ift Qwen2.5-7B-reasoning Qwen2.5-7B-math-ift Qwen2.5-7B-math-reasoning
Qwen2.5-14B-ift Qwen2.5-14B-reasoning Qwen2.5-14B-math-ift Qwen2.5-14B-math-reasoning

If you use this dataset in your work, please cite: When Does Reasoning Matter?

@misc{boizard2025doesreasoningmattercontrolled,
      title={When Does Reasoning Matter? A Controlled Study of Reasoning's Contribution to Model Performance}, 
      author={Nicolas Boizard and Hippolyte Gisserot-Boukhlef and Kevin El-Haddad and Céline Hudelot and Pierre Colombo},
      year={2025},
      eprint={2509.22193},
      archivePrefix={arXiv},
      primaryClass={cs.CL},
      url={https://arxiv.org/abs/2509.22193}, 
}
Downloads last month
3
Safetensors
Model size
333k params
Tensor type
BF16
·
Inference Providers NEW
This model isn't deployed by any Inference Provider. 🙋 Ask for provider support

Datasets used to train Scale-or-Reason/Qwen2.5-7B-math-ift

Collection including Scale-or-Reason/Qwen2.5-7B-math-ift

Paper for Scale-or-Reason/Qwen2.5-7B-math-ift