Sourced from Hugging Face model card

DeepSeek-R1-Distill-Qwen-7B Analysis: Architecture, Hardware Fit & Benchmarks

deepseek-ai logodeepseek-ai

DeepSeek-R1-Distill-Qwen-7B

Text Generation (LLM)7.62B · BF16 (16-bit)~98k words max context
Hugging Face
Downloads (30d)
298.1K
16M all-time
Likes
975
Trending 6
Timeline
Released Jan 20, 2025
Updated Feb 24, 2025
Licence
Commercial Friendly
MIT License
Safe for commercial projects
Hardware Compatibility

Which system are you running?

Select your hardware category first. We will ask only the details needed for an accurate check.

Benchmark Results
Source: Model Card README

How this model performed

Evaluation scores reported by the model publisher. Each benchmark measures a different task, so compare scores only within the same benchmark.

MATH

Score
16.0
Technical dataset identifiers & metadata
Raw Dataset IDMetricScoreSource
MathScore16.0Model Card README
Same Task Alternatives

Worth comparing

Quickstart

How to run this model

Runs GGUF-converted weights locally via llama.cpp / Ollama.

llama-cli -hf deepseek-ai/DeepSeek-R1-Distill-Qwen-7B -p "Explain quantum computing in simple terms."
Advanced technical details & limitations
Architecture
Qwen2ForCausalLM
Model Type
qwen2
Exact Parameters
7,615,616,512 (safetensors)
4K Context KV-Cache Est.
0.22 GB
Pipeline & Library
text-generation · transformers
Hosted Providers
None active

Limitations & Things to Watch Out For

Licence Terms (MIT License)

  • • Preserve the original copyright and MIT license notice

Architecture & Training Mechanics

  • • Uses the Qwen2ForCausalLM architecture with 7.62B parameters arranged across 28 layers (hidden dimension 3,584) and Grouped-Query Attention (28 query heads sharing 4 key-value heads to reduce memory bandwidth). [config.json][Hub Safetensors Metadata]
  • • Configured for sequences up to 131,072 tokens (max_position_embeddings in config.json). [config.json]
  • • Ships with a built-in Jinja chat template in tokenizer_config.json supporting structured tool/function-calling tags and explicit reasoning (<think>) blocks. [tokenizer_config.json]
  • • DeepSeek-R1-Distill models are fine-tuned based on open-source models, using samples generated by DeepSeek-R1. We slightly change their configs and tokenizers. Please use our setting to run these models. [README § DeepSeek-R1-Distill Models]
  • • DeepSeek-R1-Distill models can be utilized in the same manner as Qwen or Llama models. [README § DeepSeek-R1-Distill Models]