Downloads · 30 days
83
4% of all-time downloads
SandLogicTechnologies/DeepSeek-R1-Distill-Qwen-1.5B-GGUF
DeepSeek-R1-Distill-Qwen-1.5B-GGUF is a machine learning model from SandLogicTechnologies. Use it for the machine learning task on the model card, and read the license before you ship it in a product.
This repository contains Q4KM and Q5KM quantized versions of the DeepSeek-R1-Distill-Qwen-1.5B model, optimized for efficient deployment while maintaining strong performance.
Downloads · 30 days
83
4% of all-time downloads
All-time downloads
2.2K
Public
Repo size
2.4 GB
Likes
2
Public
Click a slice to open those files.
.gguf2.4 GB · 100%
From the Hugging Face model README
This repository contains Q4_KM and Q5_KM quantized versions of the DeepSeek-R1-Distill-Qwen-1.5B model, optimized for efficient deployment while maintaining strong performance.
Discover our full range of quantized language models by visiting our SandLogic Lexicon HuggingFace. To learn more about our company and services, check out our website at SandLogic.
These models are quantized versions of DeepSeek-R1-Distill-Qwen-1.5B, which is a highly efficient distilled 1.5B parameter model based on the Qwen architecture. This lightweight model demonstrates that reasoning patterns from larger models can be effectively distilled into much smaller architectures, making it ideal for resource-constrained deployments.
Q4_KM Version
Q5_KM Version
pip install llama-cpp-python
Please refer to the llama-cpp-python documentation to install with GPU support.
Here's an example demonstrating how to use the high-level API for basic text completion:
from llama_cpp import Llama
llm = Llama(
model_path="model/path/",
verbose=False,
# n_gpu_layers=-1, # Uncomment to use GPU acceleration
# n_ctx=2048, # Uncomment to increase the context window
)
# Example of a simple task
output = llm(
"Q: What are the benefits of using smaller language models? A: ",
max_tokens=128,
stop=["Q:", "\n\n"],
echo=False
)
print(output["choices"][0]["text"])
Please note that DeepSeek have made slight modifications to the original Qwen-1.5B configurations and tokenizer to optimize performance. When using these models, ensure you're using provided settings rather than the original Qwen-1.5B configurations.
This model inherits the license of the original DeepSeek-R1-Distill-Qwen-1.5B model. Please refer to the original model's license for usage terms and conditions.
We thank the DeepSeek AI team for open-sourcing their distilled models and demonstrating that even very small models can achieve impressive performance through effective distillation techniques. Special thanks also to the Qwen team for providing the base model architecture.