Overthinking Reduction with Decoupled Rewards and Curriculum Data Scheduling
Paper • 2509.25827 • Published
How to use pixas/DECS_7B with Transformers:
# Use a pipeline as a high-level helper
from transformers import pipeline
pipe = pipeline("text-generation", model="pixas/DECS_7B")
messages = [
{"role": "user", "content": "Who are you?"},
]
pipe(messages) # Load model directly
from transformers import AutoTokenizer, AutoModelForCausalLM
tokenizer = AutoTokenizer.from_pretrained("pixas/DECS_7B")
model = AutoModelForCausalLM.from_pretrained("pixas/DECS_7B")
messages = [
{"role": "user", "content": "Who are you?"},
]
inputs = tokenizer.apply_chat_template(
messages,
add_generation_prompt=True,
tokenize=True,
return_dict=True,
return_tensors="pt",
).to(model.device)
outputs = model.generate(**inputs, max_new_tokens=40)
print(tokenizer.decode(outputs[0][inputs["input_ids"].shape[-1]:]))How to use pixas/DECS_7B with vLLM:
# Install vLLM from pip:
pip install vllm
# Start the vLLM server:
vllm serve "pixas/DECS_7B"
# Call the server using curl (OpenAI-compatible API):
curl -X POST "http://localhost:8000/v1/chat/completions" \
-H "Content-Type: application/json" \
--data '{
"model": "pixas/DECS_7B",
"messages": [
{
"role": "user",
"content": "What is the capital of France?"
}
]
}'docker model run hf.co/pixas/DECS_7B
How to use pixas/DECS_7B with SGLang:
# Install SGLang from pip:
pip install sglang
# Start the SGLang server:
python3 -m sglang.launch_server \
--model-path "pixas/DECS_7B" \
--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": "pixas/DECS_7B",
"messages": [
{
"role": "user",
"content": "What is the capital of France?"
}
]
}'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 "pixas/DECS_7B" \
--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": "pixas/DECS_7B",
"messages": [
{
"role": "user",
"content": "What is the capital of France?"
}
]
}'How to use pixas/DECS_7B with Docker Model Runner:
docker model run hf.co/pixas/DECS_7B
This is the official model for ICLR 2026 Oral "Overthinking Reduction with Decoupled Rewards and Curriculum Data Scheduling".
DECS_7B is a reasoning-focused causal language model built from deepseek-ai/DeepSeek-R1-Distill-Qwen-7B and further trained with DECS algorithm, focused on 50% fewer tokens when answering a reasoning-required problem.
deepseek-ai/DeepSeek-R1-Distill-Qwen-7B2026-02-24import torch
from transformers import AutoModelForCausalLM, AutoTokenizer
model_id = "pixas/DECS_7B"
tokenizer = AutoTokenizer.from_pretrained(model_id, trust_remote_code=True)
model = AutoModelForCausalLM.from_pretrained(
model_id,
torch_dtype=torch.bfloat16,
device_map="auto",
)
messages = [
{"role": "user", "content": "Solve: If x^2 - 5x + 6 = 0, what are x values?"}
]
prompt = tokenizer.apply_chat_template(
messages, tokenize=False, add_generation_prompt=True
)
inputs = tokenizer(prompt, return_tensors="pt").to(model.device)
with torch.no_grad():
outputs = model.generate(
**inputs,
max_new_tokens=512,
temperature=0.6,
top_p=0.95,
)
new_tokens = outputs[0][inputs["input_ids"].shape[-1]:]
print(tokenizer.decode(new_tokens, skip_special_tokens=True))
from vllm import LLM, SamplingParams
llm = LLM(model="pixas/DECS_7B", trust_remote_code=True)
sampling = SamplingParams(temperature=0.6, top_p=0.95, max_tokens=512)
prompt = "Please reason step by step: what is 37 * 48?"
outputs = llm.generate([prompt], sampling_params=sampling)
print(outputs[0].outputs[0].text)
If you use this model, please cite our paper:
@inproceedings{jiang2026overthinking,
title={Overthinking Reduction with Decoupled Rewards and Curriculum Data Scheduling},
author={Shuyang Jiang and Yusheng Liao and Ya Zhang and Yanfeng Wang and Yu Wang},
booktitle={The Fourteenth International Conference on Learning Representations},
year={2026},
url={https://openreview.net/forum?id=kdeiRledV6}
}
Base model
deepseek-ai/DeepSeek-R1-Distill-Qwen-7B
docker model run hf.co/pixas/DECS_7B