Downloads · 30 days
26
1% of all-time downloads
alibaba-pai/DistilQwen-ThoughtX-7B
DistilQwen-ThoughtX-7B is a machine learning model from alibaba-pai. Use it for the machine learning task on the model card, and read the license before you ship it in a product. The card lists the license as apache-2.0.
DistilQwen-ThoughtX is a series of high-performance reasoning models trained on the OmniThought dataset. These models are optimized for chain-of-thought (CoT) reasoning with balanced verbosity and cognitive difficulty…
Downloads · 30 days
26
1% of all-time downloads
All-time downloads
2.3K
Public
Parameters
7.6B
30.5 GB on disk
Likes
1
Public
Click a slice to open those files.
.safetensors30.5 GB · 100%
From the Hugging Face model README
DistilQwen-ThoughtX is a series of high-performance reasoning models trained on the OmniThought dataset. These models are optimized for chain-of-thought (CoT) reasoning with balanced verbosity and cognitive difficulty, achieving state-of-the-art results on mathematical, coding, and logical reasoning benchmarks.
| Model Name | Parameters | Base Model | Hugging Face Link |
|---|---|---|---|
DistilQwen-ThoughtX-7B | 7B | Qwen2.5-7B-Instruct | Link |
DistilQwen-ThoughtX-32B | 32B | Qwen2.5-32B-Instruct | Link |
Optimal Reasoning Verbosity (RV):
CoT processes are filtered to avoid overthinking (excessive steps) or under-reasoning, improving efficiency and accuracy.
Cognitive Difficulty (CD) Alignment:
CoTs are selected to match the model's capacity, ensuring smaller models learn simpler reasoning paths while larger models handle complex logic.
Performance:
Outperforms existing open-source reasoning models (e.g., DeepSeek-R1-Distill, OpenThinker) on benchmarks like AIME2024, MATH500, and LiveCodeBench V2.
from transformers import AutoModelForCausalLM, AutoTokenizer
model_name = "alibaba-pai/DistilQwen-ThoughtX-7B" # or 32B
tokenizer = AutoTokenizer.from_pretrained(model_name)
model = AutoModelForCausalLM.from_pretrained(model_name, device_map="auto")
prompt = "Solve ∫x e^x dx. Show your reasoning step-by-step."
inputs = tokenizer(prompt, return_tensors="pt").to("cuda")
outputs = model.generate(**inputs, max_new_tokens=256)
print(tokenizer.decode(outputs[0], skip_special_tokens=True))
The models are trained on the OmniThought dataset, which includes:
| Model | AIME2024 | MATH500 | GPQA-D | LiveCodeBench V2 |
|---|---|---|---|---|
| DeepSeek-R1-Distill-7B | 57.3 | 89.6 | 47.3 | 48.4 |
| DistilQwen-ThoughtX-7B | 56.7 | 90.2 | 50.0 | 56.8 |
| DeepSeek-R1-Distill-32B | 74.7 | 90.0 | 62.4 | 72.3 |
| DistilQwen-ThoughtX-32B | 80.0 | 92.6 | 64.0 | 73.4 |
For more detailed information about the model, we encourage you to refer to our paper:
You can cite the paper using the following citation format:
@misc{cai2025reasoningomnithoughtlargecot,
title={Reasoning with OmniThought: A Large CoT Dataset with Verbosity and Cognitive Difficulty Annotations},
author={Wenrui Cai and Chengyu Wang and Junbing Yan and Jun Huang and Xiangzhong Fang},
year={2025},
eprint={2505.10937},
archivePrefix={arXiv},
primaryClass={cs.CL},
url={https://arxiv.org/abs/2505.10937}
}