How to use from
llama.cpp
Install (macOS, Linux)
curl -LsSf https://llama.app/install.sh | sh
# Start a local OpenAI-compatible server with a web UI:
llama serve -hf Kaleemullah/DeepSeek-R1-Distill-Llama-8B-gguf:F16
# Run inference directly in the terminal:
llama cli -hf Kaleemullah/DeepSeek-R1-Distill-Llama-8B-gguf:F16
Install from WinGet (Windows)
winget install llama.cpp
# Start a local OpenAI-compatible server with a web UI:
llama serve -hf Kaleemullah/DeepSeek-R1-Distill-Llama-8B-gguf:F16
# Run inference directly in the terminal:
llama cli -hf Kaleemullah/DeepSeek-R1-Distill-Llama-8B-gguf:F16
Use pre-built binary
# Download pre-built binary from:
# https://github.com/ggerganov/llama.cpp/releases
# Start a local OpenAI-compatible server with a web UI:
./llama-server -hf Kaleemullah/DeepSeek-R1-Distill-Llama-8B-gguf:F16
# Run inference directly in the terminal:
./llama-cli -hf Kaleemullah/DeepSeek-R1-Distill-Llama-8B-gguf:F16
Build from source code
git clone https://github.com/ggerganov/llama.cpp.git
cd llama.cpp
cmake -B build
cmake --build build -j --target llama-server llama-cli
# Start a local OpenAI-compatible server with a web UI:
./build/bin/llama-server -hf Kaleemullah/DeepSeek-R1-Distill-Llama-8B-gguf:F16
# Run inference directly in the terminal:
./build/bin/llama-cli -hf Kaleemullah/DeepSeek-R1-Distill-Llama-8B-gguf:F16
Use Docker
docker model run hf.co/Kaleemullah/DeepSeek-R1-Distill-Llama-8B-gguf:F16
Quick Links

deepseek-ai-deepseek-r1-distill-llama-8b-f16

This repository contains GGUF quantized models converted from deepseek-ai/DeepSeek-R1-Distill-Llama-8B.

Model Details

Quantization Information

  • F16: Half precision (16-bit floating point)

Usage

With llama.cpp

# Download the model
huggingface-cli download Kaleemullah/deepseek-ai-deepseek-r1-distill-llama-8b-f16 deepseek-ai-deepseek-r1-distill-llama-8b-f16.gguf --local-dir ./models

# Run inference
./llama-cli -m ./models/deepseek-ai-deepseek-r1-distill-llama-8b-f16.gguf -p "Your prompt here"

With Python (llama-cpp-python)

from llama_cpp import Llama

# Load the model
llm = Llama(
    model_path="./models/deepseek-ai-deepseek-r1-distill-llama-8b-f16.gguf",
    n_ctx=2048,  # Context window
    n_gpu_layers=-1  # Use GPU if available
)

# Generate text
output = llm("Your prompt here", max_tokens=100)
print(output['choices'][0]['text'])

With Ollama

# Create a Modelfile
echo 'FROM ./models/deepseek-ai-deepseek-r1-distill-llama-8b-f16.gguf' > Modelfile

# Create the model
ollama create my-model -f Modelfile

# Run the model
ollama run my-model

Model Architecture

This is a quantized version of deepseek-ai/DeepSeek-R1-Distill-Llama-8B, optimized for efficient inference while maintaining model quality.

License

This model inherits the license from the original model: deepseek-ai/DeepSeek-R1-Distill-Llama-8B

Citation

If you use this model, please cite the original model:

@misc{deepseek-ai-DeepSeek-R1-Distill-Llama-8B,
  author = {Original Model Authors},
  title = {deepseek-ai/DeepSeek-R1-Distill-Llama-8B},
  year = {2024},
  publisher = {HuggingFace},
  url = {https://huggingface.co/deepseek-ai/DeepSeek-R1-Distill-Llama-8B}
}

Converted with

This model was converted using llama.cpp's convert_hf_to_gguf.py script.


Note: GGUF models are compatible with llama.cpp, Ollama, LM Studio, and other GGUF-compatible inference engines.

Downloads last month
6
GGUF
Model size
8B params
Architecture
llama
Hardware compatibility
Log In to add your hardware

16-bit

Inference Providers NEW
This model isn't deployed by any Inference Provider. 🙋 Ask for provider support

Model tree for Kaleemullah/DeepSeek-R1-Distill-Llama-8B-gguf

Quantized
(196)
this model