Instructions to use tensorblock/phi-4-deepseek-R1K-RL-EZO-GGUF with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use tensorblock/phi-4-deepseek-R1K-RL-EZO-GGUF with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("text-generation", model="tensorblock/phi-4-deepseek-R1K-RL-EZO-GGUF", device_map="auto") messages = [ {"role": "user", "content": "Who are you?"}, ] pipe(messages)# Load model directly from transformers import AutoModel model = AutoModel.from_pretrained("tensorblock/phi-4-deepseek-R1K-RL-EZO-GGUF", dtype="auto", device_map="auto") - llama-cpp-python
How to use tensorblock/phi-4-deepseek-R1K-RL-EZO-GGUF with llama-cpp-python:
# !pip install llama-cpp-python from llama_cpp import Llama llm = Llama.from_pretrained( repo_id="tensorblock/phi-4-deepseek-R1K-RL-EZO-GGUF", filename="phi-4-deepseek-R1K-RL-EZO-Q2_K.gguf", )
llm.create_chat_completion( messages = [ { "role": "user", "content": "What is the capital of France?" } ] ) - Notebooks
- Google Colab
- Kaggle
- Local Apps Settings
- llama.cpp
How to use tensorblock/phi-4-deepseek-R1K-RL-EZO-GGUF 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 tensorblock/phi-4-deepseek-R1K-RL-EZO-GGUF:Q2_K # Run inference directly in the terminal: llama cli -hf tensorblock/phi-4-deepseek-R1K-RL-EZO-GGUF:Q2_K
Install from WinGet (Windows)
winget install llama.cpp # Start a local OpenAI-compatible server with a web UI: llama serve -hf tensorblock/phi-4-deepseek-R1K-RL-EZO-GGUF:Q2_K # Run inference directly in the terminal: llama cli -hf tensorblock/phi-4-deepseek-R1K-RL-EZO-GGUF:Q2_K
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 tensorblock/phi-4-deepseek-R1K-RL-EZO-GGUF:Q2_K # Run inference directly in the terminal: ./llama-cli -hf tensorblock/phi-4-deepseek-R1K-RL-EZO-GGUF:Q2_K
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 tensorblock/phi-4-deepseek-R1K-RL-EZO-GGUF:Q2_K # Run inference directly in the terminal: ./build/bin/llama-cli -hf tensorblock/phi-4-deepseek-R1K-RL-EZO-GGUF:Q2_K
Use Docker
docker model run hf.co/tensorblock/phi-4-deepseek-R1K-RL-EZO-GGUF:Q2_K
- LM Studio
- Jan
- vLLM
How to use tensorblock/phi-4-deepseek-R1K-RL-EZO-GGUF with vLLM:
Install from pip and serve model
# Install vLLM from pip: pip install vllm # Start the vLLM server: vllm serve "tensorblock/phi-4-deepseek-R1K-RL-EZO-GGUF" # Call the server using curl (OpenAI-compatible API): curl -X POST "http://localhost:8000/v1/chat/completions" \ -H "Content-Type: application/json" \ --data '{ "model": "tensorblock/phi-4-deepseek-R1K-RL-EZO-GGUF", "messages": [ { "role": "user", "content": "What is the capital of France?" } ] }'Use Docker
docker model run hf.co/tensorblock/phi-4-deepseek-R1K-RL-EZO-GGUF:Q2_K
- SGLang
How to use tensorblock/phi-4-deepseek-R1K-RL-EZO-GGUF with SGLang:
Install from pip and serve model
# Install SGLang from pip: pip install sglang # Start the SGLang server: python3 -m sglang.launch_server \ --model-path "tensorblock/phi-4-deepseek-R1K-RL-EZO-GGUF" \ --host 0.0.0.0 \ --port 30000 # Call the server using curl (OpenAI-compatible API): curl -X POST "http://localhost:30000/v1/chat/completions" \ -H "Content-Type: application/json" \ --data '{ "model": "tensorblock/phi-4-deepseek-R1K-RL-EZO-GGUF", "messages": [ { "role": "user", "content": "What is the capital of France?" } ] }'Use Docker images
docker run --gpus all \ --shm-size 32g \ -p 30000:30000 \ -v ~/.cache/huggingface:/root/.cache/huggingface \ --env "HF_TOKEN=<secret>" \ --ipc=host \ lmsysorg/sglang:latest \ python3 -m sglang.launch_server \ --model-path "tensorblock/phi-4-deepseek-R1K-RL-EZO-GGUF" \ --host 0.0.0.0 \ --port 30000 # Call the server using curl (OpenAI-compatible API): curl -X POST "http://localhost:30000/v1/chat/completions" \ -H "Content-Type: application/json" \ --data '{ "model": "tensorblock/phi-4-deepseek-R1K-RL-EZO-GGUF", "messages": [ { "role": "user", "content": "What is the capital of France?" } ] }' - Ollama
How to use tensorblock/phi-4-deepseek-R1K-RL-EZO-GGUF with Ollama:
ollama run hf.co/tensorblock/phi-4-deepseek-R1K-RL-EZO-GGUF:Q2_K
- Unsloth Studio
How to use tensorblock/phi-4-deepseek-R1K-RL-EZO-GGUF with Unsloth Studio:
Install Unsloth Studio (macOS, Linux, WSL)
curl -fsSL https://unsloth.ai/install.sh | sh # Run unsloth studio unsloth studio -H 0.0.0.0 -p 8888 # Then open http://localhost:8888 in your browser # Search for tensorblock/phi-4-deepseek-R1K-RL-EZO-GGUF to start chatting
Install Unsloth Studio (Windows)
irm https://unsloth.ai/install.ps1 | iex # Run unsloth studio unsloth studio -H 0.0.0.0 -p 8888 # Then open http://localhost:8888 in your browser # Search for tensorblock/phi-4-deepseek-R1K-RL-EZO-GGUF to start chatting
Using HuggingFace Spaces for Unsloth
# No setup required # Open https://huggingface.co/spaces/unsloth/studio in your browser # Search for tensorblock/phi-4-deepseek-R1K-RL-EZO-GGUF to start chatting
- Atomic Chat new
- Docker Model Runner
How to use tensorblock/phi-4-deepseek-R1K-RL-EZO-GGUF with Docker Model Runner:
docker model run hf.co/tensorblock/phi-4-deepseek-R1K-RL-EZO-GGUF:Q2_K
- Lemonade
How to use tensorblock/phi-4-deepseek-R1K-RL-EZO-GGUF with Lemonade:
Pull the model
# Download Lemonade from https://lemonade-server.ai/ lemonade pull tensorblock/phi-4-deepseek-R1K-RL-EZO-GGUF:Q2_K
Run and chat with the model
lemonade run user.phi-4-deepseek-R1K-RL-EZO-GGUF-Q2_K
List all available models
lemonade list
Remove .gguf files (keep Q2_K.gguf)
Browse files- phi-4-deepseek-R1K-RL-EZO-Q3_K_L.gguf +0 -3
- phi-4-deepseek-R1K-RL-EZO-Q3_K_M.gguf +0 -3
- phi-4-deepseek-R1K-RL-EZO-Q3_K_S.gguf +0 -3
- phi-4-deepseek-R1K-RL-EZO-Q4_0.gguf +0 -3
- phi-4-deepseek-R1K-RL-EZO-Q4_K_M.gguf +0 -3
- phi-4-deepseek-R1K-RL-EZO-Q4_K_S.gguf +0 -3
- phi-4-deepseek-R1K-RL-EZO-Q5_0.gguf +0 -3
- phi-4-deepseek-R1K-RL-EZO-Q5_K_M.gguf +0 -3
- phi-4-deepseek-R1K-RL-EZO-Q5_K_S.gguf +0 -3
- phi-4-deepseek-R1K-RL-EZO-Q6_K.gguf +0 -3
- phi-4-deepseek-R1K-RL-EZO-Q8_0.gguf +0 -3
phi-4-deepseek-R1K-RL-EZO-Q3_K_L.gguf
DELETED
|
@@ -1,3 +0,0 @@
|
|
| 1 |
-
version https://git-lfs.github.com/spec/v1
|
| 2 |
-
oid sha256:270ed9522024868dba3c9586a0747709d0f23ce57bbe9dc5ce1875f5f214824b
|
| 3 |
-
size 7930155840
|
|
|
|
|
|
|
|
|
|
|
|
phi-4-deepseek-R1K-RL-EZO-Q3_K_M.gguf
DELETED
|
@@ -1,3 +0,0 @@
|
|
| 1 |
-
version https://git-lfs.github.com/spec/v1
|
| 2 |
-
oid sha256:a903bb22f63e0ec2e8a9b25e2c012ccec9671597ba6f7df8005f5332888bd82f
|
| 3 |
-
size 7363269440
|
|
|
|
|
|
|
|
|
|
|
|
phi-4-deepseek-R1K-RL-EZO-Q3_K_S.gguf
DELETED
|
@@ -1,3 +0,0 @@
|
|
| 1 |
-
version https://git-lfs.github.com/spec/v1
|
| 2 |
-
oid sha256:03cbedb6876a06af9d38dd1119b8b97a00809063bc618d0e21f95f934b73eeb5
|
| 3 |
-
size 6504747840
|
|
|
|
|
|
|
|
|
|
|
|
phi-4-deepseek-R1K-RL-EZO-Q4_0.gguf
DELETED
|
@@ -1,3 +0,0 @@
|
|
| 1 |
-
version https://git-lfs.github.com/spec/v1
|
| 2 |
-
oid sha256:780742800d5b1f3ab8aad763d03b414d5b037e869e8fc5f3461b12a94ca12adf
|
| 3 |
-
size 8383419200
|
|
|
|
|
|
|
|
|
|
|
|
phi-4-deepseek-R1K-RL-EZO-Q4_K_M.gguf
DELETED
|
@@ -1,3 +0,0 @@
|
|
| 1 |
-
version https://git-lfs.github.com/spec/v1
|
| 2 |
-
oid sha256:da1b44c1230ddf9cbfe86d2cf812c66c4952cdbb332fba2b7db9256e4d26a5cc
|
| 3 |
-
size 9053115200
|
|
|
|
|
|
|
|
|
|
|
|
phi-4-deepseek-R1K-RL-EZO-Q4_K_S.gguf
DELETED
|
@@ -1,3 +0,0 @@
|
|
| 1 |
-
version https://git-lfs.github.com/spec/v1
|
| 2 |
-
oid sha256:4a6020d58b18cfd602e29023140c930be8910d7e7eee9d8a48f190d41141bff7
|
| 3 |
-
size 8440763200
|
|
|
|
|
|
|
|
|
|
|
|
phi-4-deepseek-R1K-RL-EZO-Q5_0.gguf
DELETED
|
@@ -1,3 +0,0 @@
|
|
| 1 |
-
version https://git-lfs.github.com/spec/v1
|
| 2 |
-
oid sha256:96de01326c73488fd6b861113a646330cf01a498110a950a0c3411e16212ccac
|
| 3 |
-
size 10151580480
|
|
|
|
|
|
|
|
|
|
|
|
phi-4-deepseek-R1K-RL-EZO-Q5_K_M.gguf
DELETED
|
@@ -1,3 +0,0 @@
|
|
| 1 |
-
version https://git-lfs.github.com/spec/v1
|
| 2 |
-
oid sha256:a44af9daea88cc9d2c8153d570ad73ebe1e695574bdd0773c4be95e35d6eeded
|
| 3 |
-
size 10604188480
|
|
|
|
|
|
|
|
|
|
|
|
phi-4-deepseek-R1K-RL-EZO-Q5_K_S.gguf
DELETED
|
@@ -1,3 +0,0 @@
|
|
| 1 |
-
version https://git-lfs.github.com/spec/v1
|
| 2 |
-
oid sha256:c4eac709c202d1977e3ef55ac312dfa0ed7708278cc18bc728dda1e5122661d5
|
| 3 |
-
size 10151580480
|
|
|
|
|
|
|
|
|
|
|
|
phi-4-deepseek-R1K-RL-EZO-Q6_K.gguf
DELETED
|
@@ -1,3 +0,0 @@
|
|
| 1 |
-
version https://git-lfs.github.com/spec/v1
|
| 2 |
-
oid sha256:4ec4e3c06e8f588f891e60769d7c310ee781811cf1447395c7af5d8c39a5b3c7
|
| 3 |
-
size 12030251840
|
|
|
|
|
|
|
|
|
|
|
|
phi-4-deepseek-R1K-RL-EZO-Q8_0.gguf
DELETED
|
@@ -1,3 +0,0 @@
|
|
| 1 |
-
version https://git-lfs.github.com/spec/v1
|
| 2 |
-
oid sha256:d2372aba9844d6d467aff99f3e36f9c15f362cc6e4ecbd018da1e47105112921
|
| 3 |
-
size 15580500800
|
|
|
|
|
|
|
|
|
|
|
|