Transformers
Safetensors
GGUF
English
llama
text-generation-inference
unsloth
trl
sft
conversational
Instructions to use geradeluxer/DeepSeek-R1-Distill-Llama-8B-python with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use geradeluxer/DeepSeek-R1-Distill-Llama-8B-python with Transformers:
# Load model directly from transformers import AutoModel model = AutoModel.from_pretrained("geradeluxer/DeepSeek-R1-Distill-Llama-8B-python", device_map="auto") - Notebooks
- Google Colab
- Kaggle
- Local Apps Settings
- llama.cpp
How to use geradeluxer/DeepSeek-R1-Distill-Llama-8B-python with 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 geradeluxer/DeepSeek-R1-Distill-Llama-8B-python:Q4_K_M # Run inference directly in the terminal: llama cli -hf geradeluxer/DeepSeek-R1-Distill-Llama-8B-python:Q4_K_M
Install from WinGet (Windows)
winget install llama.cpp # Start a local OpenAI-compatible server with a web UI: llama serve -hf geradeluxer/DeepSeek-R1-Distill-Llama-8B-python:Q4_K_M # Run inference directly in the terminal: llama cli -hf geradeluxer/DeepSeek-R1-Distill-Llama-8B-python:Q4_K_M
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 geradeluxer/DeepSeek-R1-Distill-Llama-8B-python:Q4_K_M # Run inference directly in the terminal: ./llama-cli -hf geradeluxer/DeepSeek-R1-Distill-Llama-8B-python:Q4_K_M
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 geradeluxer/DeepSeek-R1-Distill-Llama-8B-python:Q4_K_M # Run inference directly in the terminal: ./build/bin/llama-cli -hf geradeluxer/DeepSeek-R1-Distill-Llama-8B-python:Q4_K_M
Use Docker
docker model run hf.co/geradeluxer/DeepSeek-R1-Distill-Llama-8B-python:Q4_K_M
- LM Studio
- Jan
- Ollama
How to use geradeluxer/DeepSeek-R1-Distill-Llama-8B-python with Ollama:
ollama run hf.co/geradeluxer/DeepSeek-R1-Distill-Llama-8B-python:Q4_K_M
- Unsloth Desktop
- Docker Model Runner
How to use geradeluxer/DeepSeek-R1-Distill-Llama-8B-python with Docker Model Runner:
docker model run hf.co/geradeluxer/DeepSeek-R1-Distill-Llama-8B-python:Q4_K_M
- Lemonade
How to use geradeluxer/DeepSeek-R1-Distill-Llama-8B-python with Lemonade:
Pull the model
# Download Lemonade from https://lemonade-server.ai/ lemonade pull geradeluxer/DeepSeek-R1-Distill-Llama-8B-python:Q4_K_M
Run and chat with the model
lemonade run user.DeepSeek-R1-Distill-Llama-8B-python-Q4_K_M
List all available models
lemonade list
- Atomic Chat
Download generation_config.json from geradeluxer/DeepSeek-R1-Distill-Llama-8B-python: direct link, hf CLI and curl.
- Browser
- Download file 231 Bytes
-
https://huggingface.co/geradeluxer/DeepSeek-R1-Distill-Llama-8B-python/resolve/main/generation_config.json
- Command line
-
hf download hf://geradeluxer/DeepSeek-R1-Distill-Llama-8B-python/generation_config.json
-
curl -L -o generation_config.json https://huggingface.co/geradeluxer/DeepSeek-R1-Distill-Llama-8B-python/resolve/main/generation_config.json
231 Bytes
| { | |
| "_from_model_config": true, | |
| "bos_token_id": 128000, | |
| "do_sample": true, | |
| "eos_token_id": 128001, | |
| "max_length": 131072, | |
| "pad_token_id": 128004, | |
| "temperature": 0.6, | |
| "top_p": 0.95, | |
| "transformers_version": "4.48.1" | |
| } | |