Skip to main content
Browse Models

Deepseek AI

DeepSeek R1 Distill Qwen 7B

Released

2025-01-20

Family

Qwen 2

Type

Fine-Tuned Model

Downloads

External Download

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

Download

4-bit GGUF (Q4_K_M)

GGUF · DeepSeek-R1-Distill-Qwen-7B-Q4_K_M.gguf

5-bit GGUF (Q5_K_M)

GGUF · DeepSeek-R1-Distill-Qwen-7B-Q5_K_M.gguf

6-bit GGUF (Q6_K)

GGUF · DeepSeek-R1-Distill-Qwen-7B-Q6_K.gguf

8-bit GGUF (Q8_0)

GGUF · DeepSeek-R1-Distill-Qwen-7B-Q8_0.gguf

16-bit GGUF (F16)

GGUF · DeepSeek-R1-Distill-Qwen-7B-f16.gguf

Ollama Model (q4_K_M)

Ollama

Model Report

Overview

DeepSeek R1 Distill Qwen 7B is a dense, distilled generative AI language model developed by DeepSeek-AI, designed to deliver robust reasoning capabilities in a compact and efficient format. As one of six models derived from the DeepSeek-R1 family, its architecture is based on the Qwen2.5-Math-7B model, integrating reasoning proficiency inherited from the much larger DeepSeek-R1 system. This model is particularly oriented toward tasks requiring mathematical, logical, and coding-based reasoning.

Benchmark bar chart comparing DeepSeek-R1 and several other models across tasks such as AIME, Codeforces, GPQA Diamond, MATH-500, MMLU, SWE-bench.

Figure 1. Bar chart illustrating comparative benchmark performance for DeepSeek-R1, OpenAI-01-1217, DeepSeek-R1-32B, OpenAI-01-mini, and DeepSeek-V3 across six evaluation tasks. Higher scores represent greater accuracy or percentile rankings on tasks including mathematics and reasoning.

Model Architecture and Training

DeepSeek R1 Distill Qwen 7B is constructed upon the Qwen2.5-Math-7B architecture, integrating 7.62 billion activated parameters. Its training pipeline emphasizes distillation, a process by which the knowledge and reasoning behaviors from the larger DeepSeek-R1 teacher model are transferred into the smaller student models. This approach enables DeepSeek R1 Distill Qwen 7B to effectively replicate the advanced reasoning patterns of its teacher, outperforming similarly sized models trained directly via reinforcement learning.

The distillation process employed approximately 800,000 curated samples generated by DeepSeek-R1, of which around 600,000 are focused on reasoning and 200,000 are non-reasoning samples. Training is performed via supervised fine-tuning (SFT), utilizing outputs from DeepSeek-R1 as targets. In contrast to its teacher, which employs a multi-stage reinforcement learning (RL) and SFT pipeline with rule-based and language consistency-based reward modeling, the distilled models such as DeepSeek R1 Distill Qwen 7B rely solely on SFT. This distinction highlights a difference in training methodology.

A defining feature of this model is its support for long-form reasoning: the maximum generation length is set at 32,768 tokens, aligning with the other members of the DeepSeek-R1 series and thus enabling extended multi-step problem solving.

Reasoning Capabilities and Benchmark Performance

The DeepSeek R1 Distill Qwen 7B model has demonstrated competitive results across a variety of standardized reasoning benchmarks, particularly in mathematics and code generation. For example, on the AIME 2024 benchmark, it achieves a pass@1 score of 55.5% and a cons@64 score of 83.3%. On MATH-500, the model reports a pass@1 rate of 92.8%, outperforming non-reasoning models and approaching larger, more resource-intensive systems.

Relative to other models, DeepSeek R1 Distill Qwen 7B distinguishes itself by surpassing GPT-4o-0513 and Claude-3.5-Sonnet-1022 in mathematics-focused tasks under the same pass@1 metric. Furthermore, on the GPQA Diamond reasoning test, the model attains 49.1% pass@1, and on LiveCodeBench, it reaches 37.6% pass@1. The Codeforces Rating for the model is reported at 1189, indicating capable performance on competitive programming tasks.

Performance across these diverse tasks is visualized in bar charts such as the one provided above, which highlight the comparative strengths of DeepSeek models versus prominent contemporary alternatives.

Core Features and Usage

Key to DeepSeek R1 Distill Qwen 7B’s effectiveness is its ability to produce detailed chain-of-thought (CoT) responses, attributed to the reasoning-oriented knowledge distilled from DeepSeek-R1. The reasoning process involves generating multi-step explanations, self-verification, and explicit answer boxing, which are especially advantageous in highly structured problem domains.

The model is primarily suited to applications requiring mathematically rigorous analysis, formal logic, scientific reasoning, and program synthesis. The distilled approach supports efficient inference and lower resource requirements while retaining core reasoning competence—key for research, education, or engineering domains where computational overhead is a concern.

To maximize reasoning performance, users are encouraged to prompt the model with explicit instructions, such as including “Please reason step by step, and put your final answer within \boxed{}.” For optimal output quality, recommended generation parameters include a temperature between 0.5 and 0.7 (with 0.6 as default), and a top-P value of 0.95. Zero-shot prompting is favored over few-shot templates, as the former has been shown to yield more reliable results.

Model Family, Limitations, and Licensing

DeepSeek R1 Distill Qwen 7B is part of a broader suite of distilled models within the DeepSeek-R1 family, which includes variants based on both Qwen2.5 and Llama architectures and ranging from 1.5B to 70B parameters. These models exploit the distillation methodology to encapsulate advanced reasoning into more manageable model sizes.

Nevertheless, the DeepSeek-R1 series, including the distill variants, has some limitations. Issues noted include sensitivity to prompt phrasing, a tendency toward language mixing (especially outside Chinese and English), and less comprehensive support for features such as function calling and complex conversational flows, compared to more generalist large language models like DeepSeek-V3. The model family currently lacks direct, native support in mainstream libraries such as Hugging Face Transformers, though they mirror the general inference methods of Qwen and Llama-type models.

In terms of licensing, DeepSeek R1 Distill Qwen 7B is distributed under the MIT License, which permits broad use, modification, and commercial deployment. It is crucial to acknowledge that the base model, Qwen2.5-Math-7B, is initially licensed under Apache 2.0, and derivative models must comply with their respective upstream licenses. Release information and ongoing research development are detailed in the original paper, "DeepSeek-R1: Incentivizing Reasoning Capability in LLMs via Reinforcement Learning".

Applications and Outlook

The capacity for in-depth stepwise reasoning makes DeepSeek R1 Distill Qwen 7B highly suitable for automated tutoring, solution verification in mathematics or software engineering, scientific research assistants, and environments where model transparency and intermediate thought processes are critical. Its design supports robust performance in answer consistency, logical deduction, and code correctness, offering an efficient alternative to much larger models for specialized reasoning applications.

As model development continues, further enhancements in multilingual ability, prompt robustness, and downstream support in widely used platforms are expected to broaden the usability of the DeepSeek-R1 Distill model family.

External Resources

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.
Alibaba Cloud /

Qwen 2.5 Math 72B

A 72.7 billion parameter language model specialized for solving mathematical problems in English and Chinese using chain-of-thought and tool-integrated reasoning.
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 Deepseek AI

Deepseek AI /

DeepSeek R1 Distill Llama 8B

Distilled 8B-parameter model optimized for mathematical reasoning and code generation through knowledge transfer from larger reinforcement learning-trained teacher models.
Deepseek AI /

DeepSeek R1 Distill Llama 70B

A 70B parameter dense language model distilled from DeepSeek-R1 using Llama 3.3 architecture, optimized for mathematical and coding reasoning tasks.
Deepseek AI /

DeepSeek R1 (0528)

A 671B-parameter MoE model with 37B active parameters featuring enhanced reasoning capabilities through reinforcement learning and chain-of-thought training methodologies.
Deepseek AI /

DeepSeek R1

A 671B parameter Mixture-of-Experts model trained with reinforcement learning to enhance reasoning capabilities in mathematics, coding, and logical tasks.
Deepseek AI /

DeepSeek V3 (0324)

Large-scale MoE language model utilizing 671B parameters with 37B activated per token, featuring enhanced reasoning and multilingual capabilities.
Deepseek AI /

DeepSeek V3

A 671-billion parameter Mixture-of-Experts language model with 37 billion active parameters per token, featuring auxiliary-loss-free load balancing and FP8 mixed-precision training.
Deepseek AI /

DeepSeek VL2

A Mixture-of-Experts vision-language model series featuring dynamic image tiling, visual grounding capabilities, and efficient sparse computation across three parameter variants.
Deepseek AI /

DeepSeek VL2 Small

A 2.8B parameter mixture-of-experts vision-language model with dynamic tiling for multimodal understanding, OCR, and visual grounding tasks.
Deepseek AI /

DeepSeek VL2 Tiny

A compact Mixture-of-Experts vision-language model with 1.0B activated parameters supporting multimodal tasks including OCR, document analysis, and visual grounding.
Deepseek AI /

DeepSeek V2.5

A 236-billion parameter mixture-of-experts language model with multi-head latent attention, activating 21 billion parameters per token for bilingual text generation.
Deepseek AI /

DeepSeek V2

A 236-billion parameter Mixture-of-Experts language model that activates only 21 billion parameters per token for efficient multilingual text generation.
Deepseek AI /

DeepSeek Coder V2

Open-source Mixture-of-Experts model with 236B total parameters specialized for code generation, mathematical reasoning, and programming across 338 languages.
Deepseek AI /

DeepSeek Coder V2 Lite

A 16B parameter Mixture-of-Experts model designed for code generation, completion, and reasoning across 338 programming languages with 128K token context length.