Instructions to use zk-mohammad/cluster-worker-v2-0.5b-GGUF with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- llama-cpp-python
How to use zk-mohammad/cluster-worker-v2-0.5b-GGUF with llama-cpp-python:
# !pip install llama-cpp-python from llama_cpp import Llama llm = Llama.from_pretrained( repo_id="zk-mohammad/cluster-worker-v2-0.5b-GGUF", filename="Qwen2.5-Coder-0.5B-Instruct.Q8_0.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 zk-mohammad/cluster-worker-v2-0.5b-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 zk-mohammad/cluster-worker-v2-0.5b-GGUF:Q8_0 # Run inference directly in the terminal: llama cli -hf zk-mohammad/cluster-worker-v2-0.5b-GGUF:Q8_0
Install from WinGet (Windows)
winget install llama.cpp # Start a local OpenAI-compatible server with a web UI: llama serve -hf zk-mohammad/cluster-worker-v2-0.5b-GGUF:Q8_0 # Run inference directly in the terminal: llama cli -hf zk-mohammad/cluster-worker-v2-0.5b-GGUF:Q8_0
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 zk-mohammad/cluster-worker-v2-0.5b-GGUF:Q8_0 # Run inference directly in the terminal: ./llama-cli -hf zk-mohammad/cluster-worker-v2-0.5b-GGUF:Q8_0
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 zk-mohammad/cluster-worker-v2-0.5b-GGUF:Q8_0 # Run inference directly in the terminal: ./build/bin/llama-cli -hf zk-mohammad/cluster-worker-v2-0.5b-GGUF:Q8_0
Use Docker
docker model run hf.co/zk-mohammad/cluster-worker-v2-0.5b-GGUF:Q8_0
- LM Studio
- Jan
- vLLM
How to use zk-mohammad/cluster-worker-v2-0.5b-GGUF with vLLM:
Install from pip and serve model
# Install vLLM from pip: pip install vllm # Start the vLLM server: vllm serve "zk-mohammad/cluster-worker-v2-0.5b-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": "zk-mohammad/cluster-worker-v2-0.5b-GGUF", "messages": [ { "role": "user", "content": "What is the capital of France?" } ] }'Use Docker
docker model run hf.co/zk-mohammad/cluster-worker-v2-0.5b-GGUF:Q8_0
- Ollama
How to use zk-mohammad/cluster-worker-v2-0.5b-GGUF with Ollama:
ollama run hf.co/zk-mohammad/cluster-worker-v2-0.5b-GGUF:Q8_0
- Unsloth Studio
How to use zk-mohammad/cluster-worker-v2-0.5b-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 zk-mohammad/cluster-worker-v2-0.5b-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 zk-mohammad/cluster-worker-v2-0.5b-GGUF to start chatting
Using HuggingFace Spaces for Unsloth
# No setup required # Open https://huggingface.co/spaces/unsloth/studio in your browser # Search for zk-mohammad/cluster-worker-v2-0.5b-GGUF to start chatting
- Pi
How to use zk-mohammad/cluster-worker-v2-0.5b-GGUF with Pi:
Start the llama.cpp server
# Install llama.cpp: brew install llama.cpp # Start a local OpenAI-compatible server: llama serve -hf zk-mohammad/cluster-worker-v2-0.5b-GGUF:Q8_0
Configure the model in Pi
# Install Pi: npm install -g @mariozechner/pi-coding-agent # Add to ~/.pi/agent/models.json: { "providers": { "llama-cpp": { "baseUrl": "http://localhost:8080/v1", "api": "openai-completions", "apiKey": "none", "models": [ { "id": "zk-mohammad/cluster-worker-v2-0.5b-GGUF:Q8_0" } ] } } }Run Pi
# Start Pi in your project directory: pi
- Hermes Agent new
How to use zk-mohammad/cluster-worker-v2-0.5b-GGUF with Hermes Agent:
Start the llama.cpp server
# Install llama.cpp: brew install llama.cpp # Start a local OpenAI-compatible server: llama serve -hf zk-mohammad/cluster-worker-v2-0.5b-GGUF:Q8_0
Configure Hermes
# Install Hermes: curl -fsSL https://hermes-agent.nousresearch.com/install.sh | bash hermes setup # Point Hermes at the local server: hermes config set model.provider custom hermes config set model.base_url http://127.0.0.1:8080/v1 hermes config set model.default zk-mohammad/cluster-worker-v2-0.5b-GGUF:Q8_0
Run Hermes
hermes
- Atomic Chat new
- OpenClaw new
How to use zk-mohammad/cluster-worker-v2-0.5b-GGUF with OpenClaw:
Start the llama.cpp server
# Install llama.cpp: brew install llama.cpp # Start a local OpenAI-compatible server: llama serve -hf zk-mohammad/cluster-worker-v2-0.5b-GGUF:Q8_0
Configure OpenClaw
# Install OpenClaw: npm install -g openclaw@latest # Register the local server and set it as the default model: openclaw onboard --non-interactive --mode local \ --auth-choice custom-api-key \ --custom-base-url http://127.0.0.1:8080/v1 \ --custom-model-id "zk-mohammad/cluster-worker-v2-0.5b-GGUF:Q8_0" \ --custom-provider-id llama-cpp \ --custom-compatibility openai \ --custom-text-input \ --accept-risk \ --skip-health
Run OpenClaw
openclaw agent --local --agent main --message "Hello from Hugging Face"
- Docker Model Runner
How to use zk-mohammad/cluster-worker-v2-0.5b-GGUF with Docker Model Runner:
docker model run hf.co/zk-mohammad/cluster-worker-v2-0.5b-GGUF:Q8_0
- Lemonade
How to use zk-mohammad/cluster-worker-v2-0.5b-GGUF with Lemonade:
Pull the model
# Download Lemonade from https://lemonade-server.ai/ lemonade pull zk-mohammad/cluster-worker-v2-0.5b-GGUF:Q8_0
Run and chat with the model
lemonade run user.cluster-worker-v2-0.5b-GGUF-Q8_0
List all available models
lemonade list
Cluster Worker v2 0.5B GGUF
This is a trailer โ contact for the fully upgraded version with enhanced fine-tuning and extended coverage.
Need a custom model for your specific task? contact. mohammadzaidkhanofficial@gmail.com
Cluster Worker v2 is a highly specialized Small Language Model (SLM) fine-tuned on 65,000+ Linux & DevOps task samples. It is engineered specifically to act as a deterministic, zero-fluff CLI execution worker inside dual-agent AI architectures.
Unlike standard chat models, this model uses response-only loss masking to completely eliminate conversational filler, explanations, and unnecessary Markdown wrappers โ returning strictly valid, executable Bash commands.
Licensing & Commercial Use
This model is released under the Business Source License 1.1 (BSL 1.1).
- Free Use: Free for non-production, testing, academic, and evaluation purposes.
- Commercial Use: If you wish to use this model in production for commercial purposes, applications, or enterprise services, you must acquire a commercial license.
Contact for Enterprise Licensing
For production keys, custom fine-tuning on your company data, or commercial licensing inquiries, please reach out directly:
- Email: mohammadzaidkhanofficial@gmail.com
- LinkedIn: https://www.linkedin.com/in/mohammad-zaid-5021ab3b1
Key Features
- Zero Conversational Fluff: No "Sure, here is your command:" or introductory text. It outputs raw code meant directly for stdout/terminal execution.
- Enterprise Sysadmin Coverage: Fine-tuned on multi-step Linux administrative tasks, file system manipulation, log parsing (
awk,grep,sed), networking, and systemd management. - Ultra-Low Footprint: Built on
Qwen2.5-Coder-0.5B-Instructand quantized to Q8_0, taking up under 600 MB of VRAM/RAM. - Optimized for Dual-Agent Architectures: Serves as a zero-cloud-token execution node when paired with primary reasoning models (e.g., Gemini, Claude, GPT-4o, or a 7B Architect model).
Quickstart & Deployment
Method 1: Automated Script (Recommended)
If using Debian/Ubuntu Linux, run the official automated setup script to install Ollama, build the local wrapper, and launch the worker:
curl -fsSL https://raw.githubusercontent.com/cl-andro/cluster-ai-training-sets/main/cluster-worker-nonthink-ai.sh | bash
Method 2: Ollama (Modelfile)
You can run this model directly in Ollama using the ChatML standard format.
- Create a file named
Modelfile:
FROM hf.co/zk-mohammad/cluster-worker-v2-0.5b-GGUF
TEMPLATE """<|im_start|>system
You are a strict, zero-fluff Linux terminal worker. Return strictly the bash command, no explanations, no markdown chat, no formatting.<|im_end|>
<|im_start|>user
{{ .Prompt }}<|im_end|>
<|im_start|>assistant
"""
PARAMETER temperature 0.0
PARAMETER top_k 1
PARAMETER stop "<|im_end|>"
PARAMETER stop "<|im_start|>"
- Build and run the model:
ollama create worker -f Modelfile
ollama run worker "Find all files ending in .log in /var/log older than 7 days and delete them."
Method 3: llama.cpp CLI
Run directly via llama-cli with Jinja template support enabled:
llama-cli -hf zk-mohammad/cluster-worker-v2-0.5b-GGUF \
--jinja \
--temp 0.0 \
-p "Find all files ending in .log in /var/log older than 7 days and delete them."
Example Outputs
| User Request | Worker Model Output |
|---|---|
| Find all .log files in /var/log older than 7 days and delete them. | find /var/log -name '*.log' -mtime +7 -delete |
| Extract column 1 from access.log, count unique values, and print top 5. | awk '{print $1}' access.log | sort | uniq -c | sort -rn | head -5 |
| List all hidden files with human-readable file sizes. | ls -la |
Prompt Format (ChatML)
This model follows the standard Qwen2.5 ChatML prompt structure:
<|im_start|>system
You are a strict, zero-fluff Linux terminal worker. Return strictly the bash command, no explanations, no markdown chat, no formatting.<|im_end|>
<|im_start|>user
[Your Terminal Task Request]<|im_end|>
<|im_start|>assistant
Recommended Inference Parameters
To ensure deterministic execution and prevent conversational drift:
- Temperature:
0.0 - Top_K:
1 - Sampling: Disabled (Greedy decoding)
- Downloads last month
- 428
8-bit
Model tree for zk-mohammad/cluster-worker-v2-0.5b-GGUF
Base model
Qwen/Qwen2.5-0.5B