Downloads · 30 days
201
26% of all-time downloads
Lufel6848/DeepSeek-R1-Distill-Qwen-7B-to-GGUF
DeepSeek-R1-Distill-Qwen-7B-to-GGUF is a machine learning model from Lufel6848. Use it for the machine learning task on the model card, and read the license before you ship it in a product. The card lists the license as mit.
Community-made GGUF conversions and quantizations of DeepSeek-R1-Distill-Qwen-7B, intended for local inference with GGUF-compatible software.
Downloads · 30 days
201
26% of all-time downloads
All-time downloads
777
Public
Repo size
39.7 GB
Likes
0
Public
Click a slice to open those files.
.gguf39.7 GB · 100%
From the Hugging Face model README
Community-made GGUF conversions and quantizations of DeepSeek-R1-Distill-Qwen-7B, intended for local inference with GGUF-compatible software.
The original model was converted from its Hugging Face / SafeTensors distribution to GGUF using tools provided by llama.cpp.
This is an unofficial community conversion.
The original DeepSeek-R1-Distill-Qwen-7B model was developed and released by DeepSeek. It is based on Qwen2.5-Math-7B and was fine-tuned using reasoning data generated by DeepSeek-R1. This repository only provides converted and quantized GGUF files derived from the original model.
deepseek-ai/DeepSeek-R1-Distill-Qwen-7BRefer to the original model repository for the authoritative model card, capabilities, limitations, usage recommendations, license terms, and information about the DeepSeek-R1 distillation process.
This repository provides the original GGUF conversion alongside several quantized variants:
| Format / Quantization | Description |
|---|---|
BF16 | GGUF conversion retaining BF16 weight precision. Largest file and highest memory requirement among the provided variants. |
Q4_K_M | Lower storage and memory requirements. Suitable as a general-purpose local inference option. |
Q5_K_M | Balanced option with additional weight precision compared with Q4_K_M. |
Q6_K | Higher-precision quantization for systems with more available memory. |
Q8_0 | High-precision quantization with substantially larger memory and storage requirements. |
Actual memory consumption may be higher than the GGUF file size and depends on factors such as context length, KV cache configuration, inference backend, GPU offloading, and runtime settings.
The files in this repository were produced using a workflow based on llama.cpp:
DeepSeek-R1-Distill-Qwen-7B
│
│ SafeTensors
▼
convert_hf_to_gguf.py
│
▼
BF16 GGUF
│
│ llama-quantize
▼
┌────────┬────────┬───────┬──────┐
│Q4_K_M │Q5_K_M │ Q6_K │ Q8_0 │
└────────┴────────┴───────┴──────┘
No additional training, fine-tuning, or distillation is performed as part of this conversion process.
The reasoning capabilities and distilled model weights originate from the upstream DeepSeek model. This repository only changes the model representation through GGUF conversion and quantization.
Quantization changes the numerical representation of the model weights to reduce storage and memory requirements and may affect model quality.
These GGUF files are intended for applications and inference engines with compatible GGUF support, particularly llama.cpp and software built around it.
Example with llama.cpp:
llama-cli \
-m DeepSeek-R1-Distill-Qwen-7B-Q5_K_M.gguf \
-p "Solve the equation 3x + 7 = 22 and explain your reasoning."
Runtime parameters should be adjusted according to your hardware, available memory, desired context length, and inference backend.
For model-specific prompting recommendations and expected behavior, refer to the original DeepSeek model card.
GGUF compatibility depends on the version of llama.cpp and its support for the underlying model architecture.
Because both llama.cpp and GGUF continue to evolve, older inference engines may not correctly load files produced by newer versions.
If you encounter GGUF compatibility problems, first test with a recent version of llama.cpp or your preferred GGUF-compatible runtime.
The conversion process follows the standard Hugging Face / SafeTensors → GGUF workflow provided by llama.cpp.
The general process consists of:
deepseek-ai/DeepSeek-R1-Distill-Qwen-7B SafeTensors model;convert_hf_to_gguf.py;llama-quantize;Q4_K_M, Q5_K_M, Q6_K, and Q8_0 variants.Conversion and quantization behavior may vary between llama.cpp revisions as model architecture support and GGUF tooling evolve.
The original DeepSeek-R1-Distill-Qwen-7B model and its distilled weights were developed and released by DeepSeek.
The model was created by fine-tuning Qwen2.5-Math-7B using reasoning data generated by DeepSeek-R1.
This repository would not exist without DeepSeek's work and release of the original model.
All credit for the original distilled model belongs to DeepSeek and its respective authors and contributors.
DeepSeek-R1-Distill-Qwen-7B is based on Qwen2.5-Math-7B, developed by the Qwen Team at Alibaba.
Credit for the underlying Qwen architecture and base model belongs to the Qwen Team and its contributors.
GGUF conversion and quantization are performed using tools from the open-source llama.cpp project.
This workflow relies on tooling including:
convert_hf_to_gguf.pyllama-quantizeProject:
https://github.com/ggml-org/llama.cpp
Credit belongs to the llama.cpp maintainers and contributors for the conversion, quantization, GGUF, and local inference tooling used by this workflow.
The original DeepSeek-R1-Distill-Qwen-7B model is distributed under the MIT License.
According to the upstream DeepSeek-R1 repository, the Qwen-based distilled models are derived from Qwen2.5 series models and are distributed under the same MIT terms specified for the DeepSeek-R1 release.
These files are converted and quantized derivatives of the original DeepSeek-R1-Distill-Qwen-7B model weights and do not introduce additional model training or fine-tuning.
Please review the original DeepSeek-R1-Distill-Qwen-7B model repository and its licensing information before using or redistributing these files.
This repository is an unofficial community conversion and is not affiliated with, endorsed by, or maintained by DeepSeek, Alibaba, the Qwen Team, Vast.ai, or the llama.cpp project.
Vast.ai was used as the environment in which the conversion workflow was tested. Its use does not imply affiliation, endorsement, or a technical requirement to use Vast.ai.
The purpose of this repository is to provide GGUF variants of the original openly released model for local inference while documenting and crediting the upstream projects used to create them.