Skip to main content
Browse Models

Deepseek AI

DeepSeek R1 Distill Qwen 1.5B

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-1.5B-Q4_K_M.gguf

5-bit GGUF (Q5_K_M)

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

6-bit GGUF (Q6_K)

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

8-bit GGUF (Q8_0)

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

16-bit GGUF (F16)

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

Ollama Model (q4_K_M)

Ollama

Model Report

Overview

DeepSeek-R1 Distill Qwen 1.5B is a compact large language model (LLM) developed by DeepSeek-AI, constituting one of the six "distilled" variants derived from the larger DeepSeek-R1 reasoning models. Designed to make chain-of-thought reasoning available in resource-constrained settings, DeepSeek-R1 Distill Qwen 1.5B leverages a distillation process that transfers capabilities from larger reinforcement learning (RL)-trained models into a smaller, efficient architecture. This model is focused on mathematical problem-solving, logical reasoning, and code understanding, while considering performance and efficiency for research applications.

Bar chart showing comparative benchmark performance of DeepSeek-R1 models and baselines.

Figure 1. Benchmark performance comparison: DeepSeek-R1 series models versus OpenAI and DeepSeek-V3 baselines, evaluated on mathematics, coding, and general reasoning tasks.

Model Architecture and Distillation Methodology

DeepSeek-R1 Distill Qwen 1.5B is constructed using the Qwen2.5-Math-1.5B base architecture, a transformer-based LLM tailored for mathematical and logical reasoning. The distillation process involves supervised fine-tuning (SFT) on a curated dataset generated by the parent DeepSeek-R1 model. Unlike standard SFT, distillation targets the transfer of specific reasoning patterns—such as self-verification, reflection, and extended chain-of-thought (CoT) generation—from the large RL-trained model to the smaller student model. DeepSeek-R1, the teacher model, itself is based on DeepSeek-V3-Base, which utilizes a Mixture-of-Experts (MoE) framework and was trained with 671 billion total parameters and 37 billion activated parameters, resulting in reasoning abilities refined by large-scale reinforcement learning.

The distillation to Qwen 1.5B uses approximately 800,000 training samples synthesized by DeepSeek-R1, encompassing domains including mathematics, programming, factual question answering, translation, and self-cognition. This dataset is curated through rejection sampling to ensure the student model is exposed to high-quality reasoning trajectories. Notably, the distillation excludes an additional RL-finetuning stage, focusing on supervised learning to demonstrate the efficacy of reasoning transfer via distillation alone, as detailed in the DeepSeek-R1 technical report.

Training Data and Methodological Innovations

The DeepSeek-R1 Distill Qwen 1.5B model is uniquely trained on data curated by the DeepSeek-R1 parent model, itself a product of two RL and two SFT training phases. The 800,000-sample dataset used for fine-tuning the Qwen 1.5B distillation includes diverse problem types but with a specialized emphasis on reasoning, especially in mathematics and programming. The original DeepSeek-R1 series leverages both large-scale RL and traditional SFT, aiming to develop complex reasoning patterns aligned with human preferences.

Rejection sampling is employed to select high-quality reasoning outputs from DeepSeek-R1. This methodology ensures that the distilled Qwen 1.5B model internalizes not only domain knowledge, but also problem-solving strategies developed by its larger predecessor. The base data foundation, the DeepSeek-V3 dataset, further contributes non-reasoning information, broadening the utility of the distill models beyond mathematics to domains such as factual knowledge and language translation. More information on the data pipeline and methodology can be found in the DeepSeek-R1 repository.

Performance and Benchmark Evaluation

DeepSeek-R1 Distill Qwen 1.5B exhibits performance for its scale across several standardized reasoning and coding benchmarks, particularly in mathematics. Evaluation protocols typically employ up to 32,768 token maximum sequence lengths and sampling parameters of a 0.6 temperature and 0.95 top-p, with outputs for each query estimated over 64 response samples to measure pass@1. These rigorous evaluations confirm the model's ability to transfer chain-of-thought capabilities from its larger teacher.

On the AIME 2024 mathematics benchmark, DeepSeek-R1 Distill Qwen 1.5B achieves a pass@1 accuracy of 28.9% and a consistency-at-64 accuracy of 52.7%. On MATH-500, a challenging mathematical reasoning test, the model attains a pass@1 score of 83.9%. It also demonstrates notable results on GPQA Diamond (pass@1: 33.8%), LiveCodeBench for coding (pass@1: 16.9%), and a Codeforces rating of 954. When compared with similar-scale non-reasoning models, DeepSeek-R1 Distill Qwen 1.5B outperforms baselines such as GPT-4o-0513 and Claude-3.5-Sonnet-1022 on several mathematical benchmarks, indicating effective transfer of reasoning abilities. Comparative benchmark analyses, including broader DeepSeek models, are available in the DeepSeek-R1 paper.

Applications and Use Cases

The primary use case for DeepSeek-R1 Distill Qwen 1.5B centers on tasks that demand reasoning, particularly in mathematics, algorithmic problem-solving, and single-turn coding tasks. The reduced size of the model makes it viable for deployment in research environments and applications where memory or compute limitations are a concern. While it does not reach the full capabilities of its DeepSeek-R1 or DeepSeek-V3 parent models in multi-turn conversations, function calling, or contextually complex tasks, it performs efficiently in streamlined problem-solving and inference settings.

Recommended usage practices include avoiding system prompts (providing all instructions in the user prompt directly) and, for mathematical queries, explicitly instructing the model to reason step-by-step and format final answers within notation such as “\boxed{}.” Instructing the model to begin responses with a marker like "<think>\n" can further encourage explicit chain-of-thought reasoning. Guidance on evaluation and interface support is elaborated in the DeepSeek-R1 documentation.

Limitations

Despite its strengths, DeepSeek-R1 Distill Qwen 1.5B exhibits limitations typical of distilled small models. Chief among these is sensitivity to prompt phrasing: zero-shot, clearly specified problems yield the best results, while few-shot prompts or ambiguous queries can degrade performance. The model may exhibit "language mixing"—preferring English for reasoning even when questions are asked in other languages—since it is primarily optimized for English and Chinese. In broader tasks such as function calling, multi-turn dialogues, or advanced software engineering use cases, the model generally lags behind larger-scale models in the DeepSeek family, as noted in DeepSeek-R1's benchmark summary and related discussion.

Licensing and Model Family

The codebase and weights for DeepSeek-R1 Distill Qwen 1.5B are released under the MIT License, permitting broad commercial and research use, as well as modification and further distillation. It is important to note that the underlying Qwen2.5-Math-1.5B base model is licensed under Apache 2.0, thus users should be mindful of license compatibility in downstream applications.

DeepSeek-R1 Distill Qwen 1.5B is part of a broader family of distilled models, including Qwen-7B, Qwen-14B, Qwen-32B, Llama-8B, and Llama-70B-Instruct variants. Each model is tailored to condense DeepSeek-R1’s reasoning capabilities into architectures fitting various operational scales, described extensively on the DeepSeek-AI GitHub.

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.
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 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.