DeepSeek-R1-Distill-Qwen-1.5B

DeepSeek‑R1‑Distill‑Qwen‑1.5B is a 1.5 billion‑parameter, open‑source large language model (LLM) distilled from the first‑generation reasoning model DeepSeek‑R1. Built on the Qwen‑1.5B architecture and fine‑tuned with a specialized pipeline that combines reinforcement learning (RL) and supervised fine‑tuning (SFT), it is designed to excel at chain‑of‑thought reasoning, mathematics, programming, and open‑ended conversation.

deepseek-ai 1.4M downloads apache-2.0 Text Generation
Frameworkstransformerssafetensors
Tagsqwen2text-generationconversational
Downloads
1.4M
License
apache-2.0
Pipeline
Text Generation
Author
deepseek-ai

Run DeepSeek-R1-Distill-Qwen-1.5B locally on a Q4KM hard drive

Accelerate your AI workflow with Q4KM hard drives pre‑loaded with DeepSeek‑R1‑Distill‑Qwen‑1.5B. These plug‑and‑play drives deliver instant, low‑latency inference on any compatible workstation—no...

Shop Q4KM Drives

Technical Overview

DeepSeek‑R1‑Distill‑Qwen‑1.5B is a 1.5 billion‑parameter, open‑source large language model (LLM) distilled from the first‑generation reasoning model DeepSeek‑R1. Built on the Qwen‑1.5B architecture and fine‑tuned with a specialized pipeline that combines reinforcement learning (RL) and supervised fine‑tuning (SFT), it is designed to excel at chain‑of‑thought reasoning, mathematics, programming, and open‑ended conversation.

Key capabilities include:

  • Long‑form, self‑verifying chain‑of‑thought generation.
  • High‑quality code synthesis and debugging across multiple languages.
  • Robust multi‑turn chat with reduced repetition and language mixing.
  • Competitive performance on reasoning benchmarks comparable to OpenAI‑o1‑mini.

Architecturally, the model inherits Qwen‑2’s transformer stack (decoder‑only, rotary positional embeddings, and SwiGLU activation) while integrating the distilled knowledge of DeepSeek‑R1’s RL‑trained reasoning patterns. The distillation process compresses the original 32 B‑scale reasoning model into a lightweight 1.5 B variant without sacrificing core logical abilities.

Intended use cases span research prototyping, low‑resource inference, and production‑grade reasoning assistants where GPU memory is limited but high‑quality logical output is required.

Benchmark Performance

Benchmarks that matter for DeepSeek‑R1‑Distill‑Qwen‑1.5B are those that stress reasoning, mathematics, and code generation—e.g., GSM‑8K, HumanEval, MBPP, and the OpenAI‑o1‑mini suite. According to the DeepSeek‑R1 paper and the accompanying benchmark chart, the 1.5 B distilled model achieves scores within 5 % of its 32 B parent on GSM‑8K and outperforms many open‑source baselines such as Llama‑2‑7B‑Chat and Mistral‑7B‑Instruct.

These benchmarks are crucial because they quantify a model’s ability to perform multi‑step logical deduction, generate correct code snippets, and maintain coherence over long contexts—core requirements for any reasoning‑oriented LLM. In head‑to‑head comparisons, DeepSeek‑R1‑Distill‑Qwen‑1.5B consistently beats standard Qwen‑1.5B and rivals proprietary models of similar size, positioning it as a leading open‑source option for budget‑constrained deployments.

Hardware Requirements

For inference, the 1.5 B parameter checkpoint occupies roughly 3 GB of VRAM when loaded in 16‑bit (FP16) or 1.5 GB in 8‑bit quantized form. A single NVIDIA RTX 3060 (12 GB) or any GPU with ≥ 8 GB VRAM can run the model comfortably at batch size = 1 and sequence length up to 4 k tokens.

  • Recommended GPU: RTX 3080/3090, A6000, or any AMD Instinct GPU with 12 GB+ VRAM for higher throughput.
  • CPU: Modern x86‑64 or ARM CPUs with at least 8 cores; the model can be served via text‑generation‑inference or transformers pipelines.
  • Storage: The safetensors checkpoint is ~3.2 GB; keep an additional 2 GB free for cache and tokenizer files.
  • Performance: On a RTX 3080, you can expect ~30 tokens/s in FP16 and ~70 tokens/s in 8‑bit quantization.

Use Cases

DeepSeek‑R1‑Distill‑Qwen‑1.5B shines in scenarios where high‑quality reasoning is needed but resources are limited. Typical applications include:

  • Educational tutoring: Solving math problems step‑by‑step and explaining concepts.
  • Code assistance: Generating, debugging, and refactoring snippets in Python, JavaScript, and other languages.
  • Research prototyping: Rapidly testing hypothesis‑driven prompts for scientific literature review.
  • Customer support chatbots: Providing accurate, context‑aware answers without hallucinations.

Industries such as EdTech, Software Development, FinTech (risk analysis), and Healthcare (clinical decision support) can integrate the model via Hugging Face transformers or text‑generation‑inference APIs, or embed it directly into containerised micro‑services.

Training Details

The model follows a four‑stage pipeline:

  1. Cold‑start SFT: A modest supervised dataset (≈ 200 M tokens) seeds the base Qwen‑1.5B with basic language and reasoning patterns.
  2. First RL stage: Pure reinforcement learning on a curated reasoning reward model encourages chain‑of‑thought generation without any SFT pre‑training.
  3. Second SFT stage: Human‑annotated instruction data (≈ 50 M tokens) aligns the model to user preferences and reduces repetition.
  4. Second RL stage (alignment): Fine‑grained RL refines the model’s self‑verification and reflection abilities.

After the full‑scale model (DeepSeek‑R1) reaches a 32 B parameter size, a knowledge‑distillation process transfers its reasoning capabilities to the Qwen‑1.5B backbone, using a mixture of teacher‑student cross‑entropy loss and reinforcement‑learning‑from‑human‑feedback (RLHF) signals. Training was performed on a cluster of 8 × NVIDIA A100‑40 GB GPUs for roughly 3 weeks, consuming an estimated 2 PF‑days of compute.

The distilled model remains fully fine‑tunable via standard Hugging Face Trainer or LoRA adapters, enabling downstream adaptation to domain‑specific tasks.

Licensing Information

The model is released under the MIT License (as indicated in the README and badge). MIT is a permissive, open‑source license that grants users the freedom to use, copy, modify, merge, publish, distribute, sublicense, and sell the software, provided that the original copyright notice and license terms are retained in all copies or substantial portions of the work.

Because the license is permissive, commercial use is allowed without additional fees. The only formal requirement is attribution—you must include the original copyright notice and a link to the license in any redistributed version or derivative work. No warranty is provided, and you are responsible for compliance with any downstream regulations (e.g., data privacy, export controls).

Pre-loaded AI models. Ready to run.

Skip the downloads. Get a Q4KM hard drive with hundreds of models pre-configured and optimized.

Shop Q4KM Hard Drives