Instructions to use cudabenchmarktest/qwen3.5-9b-qwen3.6-reasoning-distilled-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 cudabenchmarktest/qwen3.5-9b-qwen3.6-reasoning-distilled-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 cudabenchmarktest/qwen3.5-9b-qwen3.6-reasoning-distilled-GGUF # Run inference directly in the terminal: llama cli -hf cudabenchmarktest/qwen3.5-9b-qwen3.6-reasoning-distilled-GGUF
Install from WinGet (Windows)
winget install llama.cpp # Start a local OpenAI-compatible server with a web UI: llama serve -hf cudabenchmarktest/qwen3.5-9b-qwen3.6-reasoning-distilled-GGUF # Run inference directly in the terminal: llama cli -hf cudabenchmarktest/qwen3.5-9b-qwen3.6-reasoning-distilled-GGUF
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 cudabenchmarktest/qwen3.5-9b-qwen3.6-reasoning-distilled-GGUF # Run inference directly in the terminal: ./llama-cli -hf cudabenchmarktest/qwen3.5-9b-qwen3.6-reasoning-distilled-GGUF
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 cudabenchmarktest/qwen3.5-9b-qwen3.6-reasoning-distilled-GGUF # Run inference directly in the terminal: ./build/bin/llama-cli -hf cudabenchmarktest/qwen3.5-9b-qwen3.6-reasoning-distilled-GGUF
Use Docker
docker model run hf.co/cudabenchmarktest/qwen3.5-9b-qwen3.6-reasoning-distilled-GGUF
- LM Studio
- Jan
- vLLM
How to use cudabenchmarktest/qwen3.5-9b-qwen3.6-reasoning-distilled-GGUF with vLLM:
Install from pip and serve model
# Install vLLM from pip: pip install vllm # Start the vLLM server: vllm serve "cudabenchmarktest/qwen3.5-9b-qwen3.6-reasoning-distilled-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": "cudabenchmarktest/qwen3.5-9b-qwen3.6-reasoning-distilled-GGUF", "messages": [ { "role": "user", "content": "What is the capital of France?" } ] }'Use Docker
docker model run hf.co/cudabenchmarktest/qwen3.5-9b-qwen3.6-reasoning-distilled-GGUF
- Ollama
How to use cudabenchmarktest/qwen3.5-9b-qwen3.6-reasoning-distilled-GGUF with Ollama:
ollama run hf.co/cudabenchmarktest/qwen3.5-9b-qwen3.6-reasoning-distilled-GGUF
- Unsloth Studio
How to use cudabenchmarktest/qwen3.5-9b-qwen3.6-reasoning-distilled-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 cudabenchmarktest/qwen3.5-9b-qwen3.6-reasoning-distilled-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 cudabenchmarktest/qwen3.5-9b-qwen3.6-reasoning-distilled-GGUF to start chatting
Using HuggingFace Spaces for Unsloth
# No setup required # Open https://huggingface.co/spaces/unsloth/studio in your browser # Search for cudabenchmarktest/qwen3.5-9b-qwen3.6-reasoning-distilled-GGUF to start chatting
- Pi
How to use cudabenchmarktest/qwen3.5-9b-qwen3.6-reasoning-distilled-GGUF with Pi:
Start the llama.cpp server
# Install llama.cpp: brew install llama.cpp # Start a local OpenAI-compatible server: llama serve -hf cudabenchmarktest/qwen3.5-9b-qwen3.6-reasoning-distilled-GGUF
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": "cudabenchmarktest/qwen3.5-9b-qwen3.6-reasoning-distilled-GGUF" } ] } } }Run Pi
# Start Pi in your project directory: pi
- Hermes Agent new
How to use cudabenchmarktest/qwen3.5-9b-qwen3.6-reasoning-distilled-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 cudabenchmarktest/qwen3.5-9b-qwen3.6-reasoning-distilled-GGUF
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 cudabenchmarktest/qwen3.5-9b-qwen3.6-reasoning-distilled-GGUF
Run Hermes
hermes
- Atomic Chat new
- OpenClaw new
How to use cudabenchmarktest/qwen3.5-9b-qwen3.6-reasoning-distilled-GGUF with OpenClaw:
Start the llama.cpp server
# Install llama.cpp: brew install llama.cpp # Start a local OpenAI-compatible server: llama serve -hf cudabenchmarktest/qwen3.5-9b-qwen3.6-reasoning-distilled-GGUF
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 "cudabenchmarktest/qwen3.5-9b-qwen3.6-reasoning-distilled-GGUF" \ --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 cudabenchmarktest/qwen3.5-9b-qwen3.6-reasoning-distilled-GGUF with Docker Model Runner:
docker model run hf.co/cudabenchmarktest/qwen3.5-9b-qwen3.6-reasoning-distilled-GGUF
- Lemonade
How to use cudabenchmarktest/qwen3.5-9b-qwen3.6-reasoning-distilled-GGUF with Lemonade:
Pull the model
# Download Lemonade from https://lemonade-server.ai/ lemonade pull cudabenchmarktest/qwen3.5-9b-qwen3.6-reasoning-distilled-GGUF
Run and chat with the model
lemonade run user.qwen3.5-9b-qwen3.6-reasoning-distilled-GGUF-{{QUANT_TAG}}List all available models
lemonade list
Expand card: 22-scenario hard tool stress test + image handling section + honest HX8 knowledge regression + hf download/ollama create run instructions
Browse files|
@@ -65,6 +65,109 @@ GSM8K samples are drawn from `openai/gsm8k` (test split) with a fixed seed
|
|
| 65 |
(`1337`). The **same** 100 questions are used for base
|
| 66 |
and tuned so the delta is directly comparable.
|
| 67 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 68 |
## How this adapter was trained
|
| 69 |
|
| 70 |
```bash
|
|
|
|
| 65 |
(`1337`). The **same** 100 questions are used for base
|
| 66 |
and tuned so the delta is directly comparable.
|
| 67 |
|
| 68 |
+
|
| 69 |
+
### Stress test β 22 hard tool-calling scenarios (deterministic)
|
| 70 |
+
|
| 71 |
+
Decoding: `temperature=0`, `top_p=1.0`, `top_k=1`, `seed=42`.
|
| 72 |
+
Endpoint: http://localhost:11435/v1/chat/completions (Open Agents gateway).
|
| 73 |
+
|
| 74 |
+
Scores: **21 / 22** base, **20 / 22** tuned.
|
| 75 |
+
|
| 76 |
+
| # | Test | Base | Tuned |
|
| 77 |
+
|---|---|:---:|:---:|
|
| 78 |
+
| H1 | many-tool distraction (15 tools, 1 right answer) | β
| β
|
|
| 79 |
+
| HX1 | HARD: four-op precedence (12Β² β (5+3)) / 4 | β
| β
|
|
| 80 |
+
| H2 | nested object argument (recipient={name,address}) | β
| β
|
|
| 81 |
+
| HX2 | HARD: CβF conversion inside enum-constrained call | β
| β
|
|
| 82 |
+
| H3 | array argument (list of user_ids) | β
| β
|
|
| 83 |
+
| HX3 | HARD: Gauss formula vs brute force (sum 1..100) | β
| β
|
|
| 84 |
+
| H4 | enum normalization (user says 'cooling', enum is 'cool') | β
| β
|
|
| 85 |
+
| HX4 | HARD: nested-object + array (multi-attendee meeting) | β
| β
|
|
| 86 |
+
| H5 | numeric extraction from words ('fifty-two') | β
| β
|
|
| 87 |
+
| HX5 | HARD: world knowledge + calculator (c β v_sound) | β
| β
|
|
| 88 |
+
| H6 | negative + expression (calculator preserves parens) | β
| β
|
|
| 89 |
+
| HX6 | HARD: 5-element array from varied prose | β
| β
|
|
| 90 |
+
| H7 | chained sequential (convert + compute) | β
| β
|
|
| 91 |
+
| HX7 | HARD: schema min/max refusal or clamp (roll 5000 d20) | β | β |
|
| 92 |
+
| H8 | same tool, THREE different args (air_quality x 3) | β
| β
|
|
| 93 |
+
| HX8 | HARD: domain knowledge β 7 parallel calls (G7 capitals) | β
| β |
|
| 94 |
+
| H9 | tool non-existence (no tool fits β should NOT hallucinate) | β
| β
|
|
| 95 |
+
| HX9 | HARD: compound convert + chained compute (tax on EUR) | β
| β
|
|
| 96 |
+
| H10 | disambiguation (wiki vs news β user wants breaking news) | β
| β
|
|
| 97 |
+
| HX10 | HARD: deep-nested email with enum priority + body synthesis | β
| β
|
|
| 98 |
+
| H11 | enum strictness (user asks 'freezing' β not in enum) | β
| β
|
|
| 99 |
+
| H12 | reasoning-before-call (multi-step arithmetic β single call) | β
| β
|
|
| 100 |
+
|
| 101 |
+
**Honest notes on the failures:**
|
| 102 |
+
|
| 103 |
+
- **HX7**: Both models ignored JSON Schema `maximum: 1000` on count. Shared weakness.
|
| 104 |
+
- **HX8**: Base correctly listed Washington as a G7 capital. Tuned substituted Brussels (wrong) β knowledge regression after distillation on 500 samples.
|
| 105 |
+
- **HX3**: Initial test had overly narrow regex; accepts any algebraic form of Gauss formula now.
|
| 106 |
+
|
| 107 |
+
|
| 108 |
+
## Image handling β NOT SUPPORTED
|
| 109 |
+
|
| 110 |
+
This distilled model does **not** support image inputs. Attempting to pass
|
| 111 |
+
`images` to Ollama's `/api/chat` returns **HTTP 500**:
|
| 112 |
+
|
| 113 |
+
```
|
| 114 |
+
Failed to create new sequence: failed to process inputs: this model is missing data required for image input
|
| 115 |
+
```
|
| 116 |
+
|
| 117 |
+
### Why
|
| 118 |
+
|
| 119 |
+
Distilled GGUF was converted from Qwen3_5ForCausalLM (text subnet only). Vision encoder weights are not present in the merged safetensors, so llama.cpp's convert_hf_to_gguf produced a text-only GGUF. Ollama correctly detects the missing image tensors and returns HTTP 500 with a clean error message.
|
| 120 |
+
|
| 121 |
+
### Verified with a small probe (3 rendered test images)
|
| 122 |
+
|
| 123 |
+
| Model | Image-probe score | HTTP statuses |
|
| 124 |
+
|---|:---:|:---:|
|
| 125 |
+
| `qwen3.5:9b` (base) | 0 / 3 | 200 (serves images) |
|
| 126 |
+
| `qwen3.5-9b-qwen3.6-distilled:q4km` (tuned) | 0 / 3 | [500, 500, 500] (no vision) |
|
| 127 |
+
|
| 128 |
+
The base model *serves* image requests (Ollama reports `vision` in its
|
| 129 |
+
Capabilities) but its text-in-image OCR on the three probes was weak
|
| 130 |
+
(e.g. "HELLO" β "HELO", "42" β "44", "BANANA" β "barna"). Do not assume
|
| 131 |
+
the base model is a reliable OCR tool just because image requests return
|
| 132 |
+
HTTP 200.
|
| 133 |
+
|
| 134 |
+
### Remedy
|
| 135 |
+
|
| 136 |
+
For image+text workloads, use the base `qwen3.5:9b` (which has the vision tower). A multimodal-preserving distillation would require loading the full `Qwen3_5ForConditionalGeneration` checkpoint and keeping the vision layers frozen during LoRA training β out of scope for this text-only run.
|
| 137 |
+
|
| 138 |
+
|
| 139 |
+
## Running this model with Ollama
|
| 140 |
+
|
| 141 |
+
**Recommended path β download the Modelfile and build locally.**
|
| 142 |
+
Direct `ollama pull hf.co/...` will auto-derive a Modelfile from GGUF
|
| 143 |
+
metadata and may lose tool support. Using the Modelfile in this repo is
|
| 144 |
+
the reliable way to preserve `tools` + `thinking` capabilities:
|
| 145 |
+
|
| 146 |
+
```bash
|
| 147 |
+
# Install hf CLI if needed (part of huggingface_hub): pip install -U huggingface_hub
|
| 148 |
+
hf download cudabenchmarktest/qwen3.5-9b-qwen3.6-reasoning-distilled-GGUF Modelfile qwen3.5-9b-qwen3.6-reasoning-distilled.q4km.gguf --local-dir ./qwen-distilled
|
| 149 |
+
|
| 150 |
+
cd qwen-distilled
|
| 151 |
+
ollama create qwen3.5-9b-qwen3.6-distilled:q4km -f Modelfile
|
| 152 |
+
ollama show qwen3.5-9b-qwen3.6-distilled:q4km
|
| 153 |
+
# Capabilities should include: tools, thinking
|
| 154 |
+
|
| 155 |
+
# Tool-calling smoke test
|
| 156 |
+
curl -s http://localhost:11434/api/chat -d '{
|
| 157 |
+
"model": "qwen3.5-9b-qwen3.6-distilled:q4km",
|
| 158 |
+
"messages": [{"role": "user", "content": "What is the weather in Paris?"}],
|
| 159 |
+
"tools": [{"type":"function","function":{"name":"get_weather","description":"Get current weather","parameters":{"type":"object","properties":{"city":{"type":"string"}},"required":["city"]}}}],
|
| 160 |
+
"stream": false
|
| 161 |
+
}' | jq .message.tool_calls
|
| 162 |
+
```
|
| 163 |
+
|
| 164 |
+
To use a different quant, download the matching `.gguf` and edit the
|
| 165 |
+
Modelfile's `FROM` line (or use one of the comment-suggested filenames):
|
| 166 |
+
|
| 167 |
+
- `qwen3.5-9b-qwen3.6-reasoning-distilled.q4km.gguf` (~5.6 GB) β recommended
|
| 168 |
+
- `qwen3.5-9b-qwen3.6-reasoning-distilled.q80.gguf` (~9.5 GB) β higher fidelity
|
| 169 |
+
- `qwen3.5-9b-qwen3.6-reasoning-distilled.f16.gguf` (~17.9 GB) β full precision
|
| 170 |
+
|
| 171 |
## How this adapter was trained
|
| 172 |
|
| 173 |
```bash
|