Instructions to use diffbot/Diffbot-Coder-2603-GGUF with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Notebooks
- Google Colab
- Kaggle
- Local Apps Settings
- llama.cpp
How to use diffbot/Diffbot-Coder-2603-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 diffbot/Diffbot-Coder-2603-GGUF:Q4_K_M # Run inference directly in the terminal: llama cli -hf diffbot/Diffbot-Coder-2603-GGUF:Q4_K_M
Install from WinGet (Windows)
winget install llama.cpp # Start a local OpenAI-compatible server with a web UI: llama serve -hf diffbot/Diffbot-Coder-2603-GGUF:Q4_K_M # Run inference directly in the terminal: llama cli -hf diffbot/Diffbot-Coder-2603-GGUF:Q4_K_M
Build from source code
git clone https://github.com/ggml-org/llama.cpp.git cd llama.cpp cmake -B build cmake --build build -j --target llama-app # Start a local OpenAI-compatible server with a web UI: ./build/bin/llama serve -hf diffbot/Diffbot-Coder-2603-GGUF:Q4_K_M # Run inference directly in the terminal: ./build/bin/llama cli -hf diffbot/Diffbot-Coder-2603-GGUF:Q4_K_M
Use Docker
docker model run hf.co/diffbot/Diffbot-Coder-2603-GGUF:Q4_K_M
- Llama new
- LM Studio
- Jan
- Ollama
How to use diffbot/Diffbot-Coder-2603-GGUF with Ollama:
ollama run hf.co/diffbot/Diffbot-Coder-2603-GGUF:Q4_K_M
- Unsloth Desktop
- Pi
How to use diffbot/Diffbot-Coder-2603-GGUF with Pi:
Start the llama.cpp server
# Install llama.cpp: brew install llama.cpp # Start a local OpenAI-compatible server: llama serve -hf diffbot/Diffbot-Coder-2603-GGUF:Q4_K_M
Configure the model in Pi
# Install Pi: npm install -g @earendil-works/pi-coding-agent # Add to ~/.pi/agent/models.json: { "providers": { "llama-cpp": { "baseUrl": "http://localhost:9931/v1", "api": "openai-completions", "apiKey": "none", "models": [ { "id": "diffbot/Diffbot-Coder-2603-GGUF:Q4_K_M" } ] } } }Run Pi
# Start Pi in your project directory: pi
- Docker Model Runner
How to use diffbot/Diffbot-Coder-2603-GGUF with Docker Model Runner:
docker model run hf.co/diffbot/Diffbot-Coder-2603-GGUF:Q4_K_M
- Lemonade
How to use diffbot/Diffbot-Coder-2603-GGUF with Lemonade:
Pull the model
# Download Lemonade from https://lemonade-server.ai/ lemonade pull diffbot/Diffbot-Coder-2603-GGUF:Q4_K_M
Run and chat with the model
lemonade run user.Diffbot-Coder-2603-GGUF-Q4_K_M
List all available models
lemonade list
- Hermes Agent
How to use diffbot/Diffbot-Coder-2603-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 diffbot/Diffbot-Coder-2603-GGUF:Q4_K_M
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:9931/v1 hermes config set model.default diffbot/Diffbot-Coder-2603-GGUF:Q4_K_M
Run Hermes
hermes
- Atomic Chat
- OpenClaw
How to use diffbot/Diffbot-Coder-2603-GGUF with OpenClaw:
Start the llama.cpp server
# Install llama.cpp: brew install llama.cpp # Start a local OpenAI-compatible server: llama serve -hf diffbot/Diffbot-Coder-2603-GGUF:Q4_K_M
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:9931/v1 \ --custom-model-id "diffbot/Diffbot-Coder-2603-GGUF:Q4_K_M" \ --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"
Upload folder using huggingface_hub
Browse filesFiles changed (5)
- .gitattributes+2
- Modelfile.Q4_K_MAdded+53
- Modelfile.Q8_0Added+53
- qwen3-coder-next-lora-Q4_K_M.ggufAdded+3
- qwen3-coder-next-lora-Q8_0.ggufAdded+3
32 unmodified lines33343532 unmodified lines*.zip filter=lfs diff=lfs merge=lfs -text*.zst filter=lfs diff=lfs merge=lfs -text*tfevents* filter=lfs diff=lfs merge=lfs -text32 unmodified lines333435363732 unmodified lines*.zip filter=lfs diff=lfs merge=lfs -text*.zst filter=lfs diff=lfs merge=lfs -text*tfevents* filter=lfs diff=lfs merge=lfs -textqwen3-coder-next-lora-Q4_K_M.gguf filter=lfs diff=lfs merge=lfs -textqwen3-coder-next-lora-Q8_0.gguf filter=lfs diff=lfs merge=lfs -text
1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253FROM ./qwen3-coder-next-lora-Q4_K_M.gguf
TEMPLATE """{{- if or .System .Tools }}<|im_start|>system{{- if .System }}{{ .System }}{{- end }}{{- if .Tools }}
# Tools
You may call one or more functions to assist with the user query.
You are provided with function signatures within <tools></tools> XML tags:<tools>{{- range .Tools }}{"type": "function", "function": {{ .Function }}}{{- end }}</tools>
For each function call, return a json object with function name and arguments within <tool_call></tool_call> XML tags:<tool_call>{"name": <function-name>, "arguments": <args-json-object>}</tool_call>{{- end }}<|im_end|>{{ end }}{{- range $i, $_ := .Messages }}{{- $last := eq (len (slice $.Messages $i)) 1 -}}{{- if eq .Role "user" }}<|im_start|>user{{ .Content }}<|im_end|>{{ else if eq .Role "assistant" }}<|im_start|>assistant{{ if .Content }}{{ .Content }}{{- else if .ToolCalls }}<tool_call>{{ range .ToolCalls }}{"name": "{{ .Function.Name }}", "arguments": {{ .Function.Arguments }}}{{ end }}</tool_call>{{- end }}{{ if not $last }}<|im_end|>{{ end }}{{- else if eq .Role "tool" }}<|im_start|>user<tool_response>{{ .Content }}</tool_response><|im_end|>{{ end }}{{- if and (ne .Role "assistant") $last }}<|im_start|>assistant{{ end }}{{- end }}"""
PARAMETER temperature 1.0PARAMETER top_k 40PARAMETER top_p 0.95PARAMETER stop "<|im_end|>"PARAMETER stop "<|endoftext|>"PARAMETER stop "</tool_call>"1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253FROM ./qwen3-coder-next-lora-Q8_0.gguf
TEMPLATE """{{- if or .System .Tools }}<|im_start|>system{{- if .System }}{{ .System }}{{- end }}{{- if .Tools }}
# Tools
You may call one or more functions to assist with the user query.
You are provided with function signatures within <tools></tools> XML tags:<tools>{{- range .Tools }}{"type": "function", "function": {{ .Function }}}{{- end }}</tools>
For each function call, return a json object with function name and arguments within <tool_call></tool_call> XML tags:<tool_call>{"name": <function-name>, "arguments": <args-json-object>}</tool_call>{{- end }}<|im_end|>{{ end }}{{- range $i, $_ := .Messages }}{{- $last := eq (len (slice $.Messages $i)) 1 -}}{{- if eq .Role "user" }}<|im_start|>user{{ .Content }}<|im_end|>{{ else if eq .Role "assistant" }}<|im_start|>assistant{{ if .Content }}{{ .Content }}{{- else if .ToolCalls }}<tool_call>{{ range .ToolCalls }}{"name": "{{ .Function.Name }}", "arguments": {{ .Function.Arguments }}}{{ end }}</tool_call>{{- end }}{{ if not $last }}<|im_end|>{{ end }}{{- else if eq .Role "tool" }}<|im_start|>user<tool_response>{{ .Content }}</tool_response><|im_end|>{{ end }}{{- if and (ne .Role "assistant") $last }}<|im_start|>assistant{{ end }}{{- end }}"""
PARAMETER temperature 1.0PARAMETER top_k 40PARAMETER top_p 0.95PARAMETER stop "<|im_end|>"PARAMETER stop "<|endoftext|>"PARAMETER stop "</tool_call>"123version https://git-lfs.github.com/spec/v1oid sha256:c53b67f0c1c1d45f9eac322515d43d6bced4525ab318665aefc6800028a628e0size 48487228832123version https://git-lfs.github.com/spec/v1oid sha256:90bc4030f6d5486fe4e3225ccdc2dbb2577fc87c8d3a1064ddee842a743d9d08size 84812254624.gitattributes+2
Modelfile.Q4_K_MAdded+53
Modelfile.Q8_0Added+53
qwen3-coder-next-lora-Q4_K_M.ggufAdded+3
qwen3-coder-next-lora-Q8_0.ggufAdded+3