π¨βπ» Coder Models
Collection
Code completion models optimized for mobile. Short snippets, fast completions, on-device code intelligence for the next billion developers. β’ 3 items β’ Updated
How to use dispatchAI/Qwen2.5-0.5B-Coder-mobile with llama.cpp:
curl -LsSf https://llama.app/install.sh | sh # Start a local OpenAI-compatible server with a web UI: llama serve -hf dispatchAI/Qwen2.5-0.5B-Coder-mobile # Run inference directly in the terminal: llama cli -hf dispatchAI/Qwen2.5-0.5B-Coder-mobile
winget install llama.cpp # Start a local OpenAI-compatible server with a web UI: llama serve -hf dispatchAI/Qwen2.5-0.5B-Coder-mobile # Run inference directly in the terminal: llama cli -hf dispatchAI/Qwen2.5-0.5B-Coder-mobile
# 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 dispatchAI/Qwen2.5-0.5B-Coder-mobile # Run inference directly in the terminal: ./llama-cli -hf dispatchAI/Qwen2.5-0.5B-Coder-mobile
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 dispatchAI/Qwen2.5-0.5B-Coder-mobile # Run inference directly in the terminal: ./build/bin/llama-cli -hf dispatchAI/Qwen2.5-0.5B-Coder-mobile
docker model run hf.co/dispatchAI/Qwen2.5-0.5B-Coder-mobile
How to use dispatchAI/Qwen2.5-0.5B-Coder-mobile with vLLM:
# Install vLLM from pip:
pip install vllm
# Start the vLLM server:
vllm serve "dispatchAI/Qwen2.5-0.5B-Coder-mobile"
# Call the server using curl (OpenAI-compatible API):
curl -X POST "http://localhost:8000/v1/chat/completions" \
-H "Content-Type: application/json" \
--data '{
"model": "dispatchAI/Qwen2.5-0.5B-Coder-mobile",
"messages": [
{
"role": "user",
"content": "What is the capital of France?"
}
]
}'docker model run hf.co/dispatchAI/Qwen2.5-0.5B-Coder-mobile
How to use dispatchAI/Qwen2.5-0.5B-Coder-mobile with Ollama:
ollama run hf.co/dispatchAI/Qwen2.5-0.5B-Coder-mobile
How to use dispatchAI/Qwen2.5-0.5B-Coder-mobile with Unsloth Studio:
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 dispatchAI/Qwen2.5-0.5B-Coder-mobile to start chatting
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 dispatchAI/Qwen2.5-0.5B-Coder-mobile to start chatting
# No setup required # Open https://huggingface.co/spaces/unsloth/studio in your browser # Search for dispatchAI/Qwen2.5-0.5B-Coder-mobile to start chatting
How to use dispatchAI/Qwen2.5-0.5B-Coder-mobile with Pi:
# Install llama.cpp: brew install llama.cpp # Start a local OpenAI-compatible server: llama serve -hf dispatchAI/Qwen2.5-0.5B-Coder-mobile
# 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": "dispatchAI/Qwen2.5-0.5B-Coder-mobile"
}
]
}
}
}# Start Pi in your project directory: pi
How to use dispatchAI/Qwen2.5-0.5B-Coder-mobile with Hermes Agent:
# Install llama.cpp: brew install llama.cpp # Start a local OpenAI-compatible server: llama serve -hf dispatchAI/Qwen2.5-0.5B-Coder-mobile
# 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 dispatchAI/Qwen2.5-0.5B-Coder-mobile
hermes
How to use dispatchAI/Qwen2.5-0.5B-Coder-mobile with OpenClaw:
# Install llama.cpp: brew install llama.cpp # Start a local OpenAI-compatible server: llama serve -hf dispatchAI/Qwen2.5-0.5B-Coder-mobile
# 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 "dispatchAI/Qwen2.5-0.5B-Coder-mobile" \ --custom-provider-id llama-cpp \ --custom-compatibility openai \ --custom-text-input \ --accept-risk \ --skip-health
openclaw agent --local --agent main --message "Hello from Hugging Face"
How to use dispatchAI/Qwen2.5-0.5B-Coder-mobile with Docker Model Runner:
docker model run hf.co/dispatchAI/Qwen2.5-0.5B-Coder-mobile
How to use dispatchAI/Qwen2.5-0.5B-Coder-mobile with Lemonade:
# Download Lemonade from https://lemonade-server.ai/ lemonade pull dispatchAI/Qwen2.5-0.5B-Coder-mobile
lemonade run user.Qwen2.5-0.5B-Coder-mobile-{{QUANT_TAG}}lemonade list
Alibaba's Qwen 2.5 0.5B Coder variant, fine-tuned for code generation. The fastest code-completion model that runs on a phone.
| Property | Value |
|---|---|
| Parameters | 494 million |
| Size | ~420 MB |
| Speed | ~43 tok/s (S20 FE CPU) |
We're not able to determine the quantization variants.