Skip to main content
Browse Models

Alibaba Cloud

Qwen 2.5 Math 72B

Released

2024-09-19

Family

Qwen 2

Type

Foundation Model

Downloads

External Download

You are about to open a link to an external source. Verify the URL before continuing.

Download

Instruct model, 4-bit GGUF (Q4_K_M)

GGUF · Qwen2.5-Math-72B-Instruct-Q4_K_M.gguf

Model Report

Overview

Qwen 2.5 Math 72B is a specialized large language model (LLM) designed for solving advanced mathematical problems in both English and Chinese. Developed by the Qwen Team at Alibaba Group, it is an evolution of the Qwen mathematical model family, developed from the foundations established by the earlier Qwen2-Math series. Officially released in September 2024, Qwen 2.5 Math 72B includes enhancements in reasoning, multilingual support, and mathematical accuracy, developed to advance automated mathematical problem-solving and research. The model is an open-weight release and is accompanied by resources for evaluation and application.

Line chart showing Qwen2.5-Math-72B-Instruct outperforming prior open and closed models in math accuracy over time

Figure 1. Qwen2.5-Math-72B-Instruct demonstrates a high level of mathematical accuracy compared to other models as of September 2024.

Model Architecture and Development

Qwen 2.5 Math 72B builds upon the Qwen2.5 series architecture, utilizing parameter initialization and model refinement techniques that distinguish it from its predecessors. With 72.7 billion parameters using the BF16 tensor format, it is among the largest in the Qwen2.5-Math series. The upgrade process is characterized by three main strategies: synthesizing mathematical training data using prior model generations, aggregating additional mathematical corpora (especially in Chinese), and leveraging the base capabilities of the Qwen2.5 series for language understanding, code synthesis, and symbolic reasoning.

A comprehensive multi-stage pipeline guides the specialization of Qwen2.5-Math, including pre-training, supervised fine-tuning (SFT), reward model training, and reinforcement learning. The introduction of chain-of-thought (CoT) and tool-integrated reasoning (TIR) methods supports its ability to tackle complex symbolic and algorithmic tasks.

Pipeline flowchart showing data and training refinement stages for Qwen2.5-Math

Figure 2. The specialization pipeline for Qwen2.5-Math includes iterative data refinement, instructional fine-tuning, and reinforcement learning for mathematical reasoning.

Mathematical Capabilities and Features

Qwen 2.5 Math 72B is optimized for solving mathematical problems, supporting both English and Chinese language inputs. Qwen2.5-Math supports both English and Chinese, processing mathematical content relevant to each linguistic context, unlike prior Qwen2-Math models which were limited to English.

The model incorporates reasoning capabilities. Chain-of-thought (CoT) prompting enables step-by-step logical reasoning, while tool-integrated reasoning (TIR) incorporates external computation and code execution (such as Python) within the model output for precision on complex tasks. TIR is particularly effective for problems requiring symbolic manipulation or algorithmic procedures, such as solving equations or finding matrix eigenvalues.

Self-improvement mechanisms, such as iterative data synthesis and reinforcement training guided by a dedicated reward model, support performance enhancements. Qwen2.5-Math also features multimodal mathematical reasoning through integration with models from the Qwen2.5-VL series for optical character recognition (OCR), enabling the processing of mathematical problems from images, sketches, or dense text.

Screen capture of the Qwen2.5-Math TIR demo with a solved math problem, code block, and output

Figure 3. A demonstration of Qwen2.5-Math's Tool-Integrated Reasoning (TIR): the model provides a solution plan, Python code, and code output for a mathematical problem.

Datasets, Training Methods, and Evaluation

The development of Qwen 2.5 Math 72B leveraged an expanded and curated pre-training corpus, with the Qwen Math Corpus v2 providing over one trillion tokens in both English and Chinese. This represents an augmentation compared to previous iterations, and the dataset maintains a context length of 4,000 tokens to support reasoning over extended problem statements.

During supervised fine-tuning, a math-specific reward model (Qwen2.5-Math-RM-72B) is trained to construct SFT data using rejection sampling. The Group Relative Policy Optimization (GRPO) approach is subsequently employed to further align model outputs with optimal solution strategies.

Decontamination protocols are applied throughout: 13-gram matching with text normalization ensures exclusion of potentially leaked or excessively similar examples from training, especially with respect to common mathematical benchmarks such as GSM8K, MATH, Minerva Math, CMATH, Olympiad Bench, and high-stakes exams including GaoKao, AIME, and AMC. This filtering contributes to the integrity of model evaluation and mitigates inadvertent memorization of test content.

Large table showing Qwen2.5-Math models achieving results across English and Chinese math benchmarks

Figure 4. Qwen2.5-Math base models demonstrate notable performance on both English and Chinese mathematical benchmarks.

Scatter plot mapping model accuracy versus parameter count for Qwen2.5-Math models

Figure 5. Qwen2.5-Math models demonstrate accuracy-to-size ratios, particularly for the 1.5B and 7B variants.

Performance Benchmarks

Qwen 2.5 Math 72B shows gains on a range of standardized mathematical evaluation sets, and is evaluated among other bilingual mathematical models. Evaluation covers both base models (using few-shot CoT prompting) and instruction-tuned models (using zero-shot or few-shot protocols). Benchmarks include GSM8K, MATH, MMLU STEM (English), and CMATH, GaoKao Math Cloze, and Gaokao Math QA (Chinese), as well as competitions such as OlympiadBench, College Math, AIME 2024, and AMC 2023.

Results show improvements over the Qwen2-Math series:

  • On the MATH (English) benchmark, Qwen2.5-Math-72B outperforms its predecessor by over 6 percentage points, achieving high accuracy in both chain-of-thought and tool-integrated reasoning settings.
  • In the TIR mode, the model attains a score of 92.9 on the MATH dataset and achieves a high score on AMC 2023.
  • On AIME 2024, the model solves up to 12 problems with TIR, compared to 1–2 for some closed-source models.
Comparison of models' abilities on AIME 2024 and AMC 2023 math competition benchmarks

Figure 6. Qwen2.5-Math-Instruct solves more AIME 2024 and AMC 2023 problems than prior mathematical LLMs using TIR and CoT reasoning.

Applications, Usage, and Limitations

Qwen 2.5 Math 72B is intended primarily for mathematical tasks, and uses both chain-of-thought and tool-integrated reasoning strategies. The model supports queries in both English and Chinese and is not recommended for general language tasks outside mathematics.

A demonstration of its TIR capabilities shows its integration with code execution for mathematical reasoning, where the model provides solution plans, generates code (such as Python), and presents the output. Multimodal mathematical demos also show its ability to work with images or formulas captured from physical sources.

Some limitations remain. The model is intentionally restricted to mathematical domains, and the team notes that due to overlaps in public problem databases, even with data decontamination, some conceptual similarities may persist between training and evaluation datasets. The model documentation emphasizes maintaining filtering protocols and transparency regarding benchmarking methodologies.

Licensing and Availability

Qwen 2.5 Math 72B is released as an open-weight model, for research, benchmarking, and community exploration. License details are made available in its official repositories, and associated resources include reward models, evaluation scripts, and demonstration platforms for further experimentation.

Helpful Links

About Qwen 2: Qwen 2 (and 2.5) is a family of advanced AI models developed by Alibaba, designed to excel in various tasks including general language understanding, coding, and mathematics.

More in the Qwen 2 Family

Alibaba Cloud /

Qwen2.5 VL 3B

A 3B-parameter multimodal language model that processes images, videos, and text with capabilities for visual reasoning, document analysis, and computer interface interaction.
Alibaba Cloud /

Qwen2.5 VL 7B

A 7-billion parameter multimodal model capable of processing images, documents, and videos with native dynamic resolution support and structured output capabilities.
Alibaba Cloud /

Qwen2.5 VL 72B

A 72-billion parameter multimodal model that processes images, videos, and text for document analysis, object detection, and visual agent tasks.
Alibaba Cloud /

QwQ 32B Preview

Experimental research model focused on advancing AI reasoning capabilities by thinking through problems step by step, continuously questioning assumptions, and exploring different paths of thought. Impressive benchmark scores in math and coding tasks.
Alibaba Cloud /

QwQ 32B

A 32.5-billion parameter transformer model optimized for mathematical reasoning, coding, and complex problem-solving through reinforcement learning training.
Alibaba Cloud /

Qwen 2.5 Math 1.5B

A 1.5 billion parameter specialized model focused on mathematical reasoning and problem-solving capabilities in English and Chinese.
Deepseek AI /

DeepSeek R1 Distill Qwen 1.5B

A 1.5 billion parameter language model created through distillation techniques, focusing on mathematical reasoning and chain-of-thought problem-solving capabilities.
Agentica /

DeepCoder 1.5B Preview

A 1.5B parameter code generation model fine-tuned with reinforcement learning and iterative context lengthening for long-context reasoning tasks.
Alibaba Cloud /

Qwen 2.5 Math 7B

A 7.62-billion parameter mathematical reasoning model supporting English and Chinese with chain-of-thought and tool-integrated reasoning capabilities.
Alibaba Cloud /

Qwen 2.5 Math PRM 7B

A 7B parameter process reward model that evaluates mathematical reasoning steps individually rather than just final answers, achieving 67.6% accuracy on mathematical benchmarks.
Deepseek AI /

DeepSeek R1 Distill Qwen 7B

A 7.62B parameter distilled language model based on Qwen2.5-Math-7B, trained via knowledge distillation for mathematical and logical reasoning tasks.
Alibaba Cloud /

Qwen 2.5 Math PRM 72B

A 72.8 billion parameter process reward model that evaluates intermediate mathematical reasoning steps using consensus filtering and achieves 78.3% F1 on ProcessBench.
Alibaba Cloud /

Qwen 2.5 Coder 7B

A 7.61 billion parameter transformer model designed for code generation and reasoning across 92 programming languages with a 128,000-token context window.
Alibaba Cloud /

Qwen 2.5 Coder 32B

Qwen2.5-Coder builds on Qwen2.5 by training on 5.5 trillion additional tokens of code data including source code, text-code grounding data, and synthetic data. This leads to significant improvements in code-related tasks.
Alibaba Cloud /

Qwen 2.5 7B

A 7.61-billion parameter transformer-based language model with 128K token context length, trained on 18 trillion tokens supporting 29+ languages.
Alibaba Cloud /

Qwen2.5 7B 1M

A 7-billion parameter transformer model with 1-million token context capacity utilizing Dual Chunk Attention for long-range text processing.
Alibaba Cloud /

Qwen 2.5 14B

A 14.7 billion parameter transformer model supporting 29 languages with 128K context window, designed as foundation for fine-tuning applications.
Alibaba Cloud /

Qwen2.5 14B 1M

A 14.7B parameter transformer model with 1-million token context capacity, utilizing dual chunk attention and progressive training for extended sequence processing.
Deepseek AI /

DeepSeek R1 Distill Qwen 14B

A 14B dense language model distilled from a mixture-of-experts architecture, optimized for mathematical reasoning and code generation tasks.
Agentica /

DeepCoder 14B Preview

A 14-billion parameter code reasoning model fine-tuned using distributed reinforcement learning with long-context capabilities up to 64,000 tokens.
Deep Cogito /

Cogito V1 Preview 14B

A 14.8 billion parameter instruction-tuned language model trained using Iterated Distillation and Amplification with hybrid reasoning capabilities across 30+ languages.
Alibaba Cloud /

Qwen 2.5 32B

A 32.5 billion parameter multilingual transformer model trained on 18 trillion tokens with 128K context length supporting text generation, coding, and mathematical reasoning.
Deepseek AI /

DeepSeek R1 Distill Qwen 32B

A 32B parameter language model created through knowledge distillation, optimized for mathematical reasoning, code generation, and complex problem-solving tasks.
Deep Cogito /

Cogito V1 Preview 32B

A 32-billion parameter instruction-tuned model based on Qwen2.5 architecture featuring dual operational modes and iterated distillation alignment methodology.
Alibaba Cloud /

Qwen 2.5 72B

This update to Qwen 2, pretrained on 18 trillion tokens, shows impressive performance in benchmarks (MMLU 85+, HumanEval 85+, MATH 80+), outperforming models of similar size. Qwen 2.5 has multilingual support for over 29 languages and can understand and generate structured data.
Alibaba Cloud /

Qwen 2 7B

A 7.6 billion parameter multilingual decoder-only Transformer model designed for further post-training with 32,000-token context and strong coding capabilities.
Alibaba Cloud /

Qwen 2 72B

A 72-billion parameter transformer model supporting extended context lengths up to 128K tokens and demonstrating strong multilingual capabilities across diverse benchmarks.

More from Alibaba Cloud

Alibaba Cloud /

Qwen3 0.6B

A 0.6B parameter language model featuring dual thinking modes, multilingual capabilities, and 32K context length through strong-to-weak distillation training.
Alibaba Cloud /

Qwen3 1.7B

A 1.7 billion parameter multilingual transformer supporting dual-mode reasoning with step-by-step "thinking" and rapid "non-thinking" response capabilities.
Alibaba Cloud /

Qwen3 4B

A 4-billion parameter transformer model featuring dual reasoning modes, extensive multilingual training, and competitive performance across mathematical, coding, and logical reasoning benchmarks.
Alibaba Cloud /

Qwen3 8B

Dense 8.2 billion parameter transformer model featuring hybrid thinking capabilities with 32K token context and multilingual support across 119 languages.
Alibaba Cloud /

Qwen3 14B

A 14.8 billion parameter transformer model featuring hybrid thinking/non-thinking reasoning modes, 32K context length, and multilingual capabilities across 119 languages.
Alibaba Cloud /

Qwen3 32B

A 32.8 billion parameter language model featuring hybrid thinking modes for both rapid responses and step-by-step reasoning across multilingual tasks.
Alibaba Cloud /

Qwen3 30B A3B

Mixture-of-experts model with 30.5B total parameters, 3.3B activated per token, featuring hybrid reasoning modes and multilingual support across 119 languages.
Alibaba Cloud /

Qwen3 235B A22B

Large language model with Mixture-of-Experts architecture featuring dual operational modes for both rapid inference and complex reasoning tasks.
Alibaba Cloud /

Qwen 1.5 32B

Foundation 32B Qwen 1.5 model from Alibaba Cloud.
Alibaba Cloud /

Qwen 1.5 72B

Foundation 72B Qwen 1.5 model from Alibaba Cloud.