Text Generation
GGUF
GGUF
qwen3
qwen
quantized
cerebellum
imatrix
Mixture of Experts
mixed-precision
3-bit
conversational
Eval Results (legacy)
Instructions to use deucebucket/Qwen3.6-35B-A3B-Cerebellum-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 deucebucket/Qwen3.6-35B-A3B-Cerebellum-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 deucebucket/Qwen3.6-35B-A3B-Cerebellum-GGUF:Q3_K_M # Run inference directly in the terminal: llama cli -hf deucebucket/Qwen3.6-35B-A3B-Cerebellum-GGUF:Q3_K_M
Install from WinGet (Windows)
winget install llama.cpp # Start a local OpenAI-compatible server with a web UI: llama serve -hf deucebucket/Qwen3.6-35B-A3B-Cerebellum-GGUF:Q3_K_M # Run inference directly in the terminal: llama cli -hf deucebucket/Qwen3.6-35B-A3B-Cerebellum-GGUF:Q3_K_M
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 deucebucket/Qwen3.6-35B-A3B-Cerebellum-GGUF:Q3_K_M # Run inference directly in the terminal: ./llama-cli -hf deucebucket/Qwen3.6-35B-A3B-Cerebellum-GGUF:Q3_K_M
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 deucebucket/Qwen3.6-35B-A3B-Cerebellum-GGUF:Q3_K_M # Run inference directly in the terminal: ./build/bin/llama-cli -hf deucebucket/Qwen3.6-35B-A3B-Cerebellum-GGUF:Q3_K_M
Use Docker
docker model run hf.co/deucebucket/Qwen3.6-35B-A3B-Cerebellum-GGUF:Q3_K_M
- LM Studio
- Jan
- vLLM
How to use deucebucket/Qwen3.6-35B-A3B-Cerebellum-GGUF with vLLM:
Install from pip and serve model
# Install vLLM from pip: pip install vllm # Start the vLLM server: vllm serve "deucebucket/Qwen3.6-35B-A3B-Cerebellum-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": "deucebucket/Qwen3.6-35B-A3B-Cerebellum-GGUF", "messages": [ { "role": "user", "content": "What is the capital of France?" } ] }'Use Docker
docker model run hf.co/deucebucket/Qwen3.6-35B-A3B-Cerebellum-GGUF:Q3_K_M
- Ollama
How to use deucebucket/Qwen3.6-35B-A3B-Cerebellum-GGUF with Ollama:
ollama run hf.co/deucebucket/Qwen3.6-35B-A3B-Cerebellum-GGUF:Q3_K_M
- Unsloth Desktop
- Pi
How to use deucebucket/Qwen3.6-35B-A3B-Cerebellum-GGUF with Pi:
Start the llama.cpp server
# Install llama.cpp: brew install llama.cpp # Start a local OpenAI-compatible server: llama serve -hf deucebucket/Qwen3.6-35B-A3B-Cerebellum-GGUF:Q3_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:8080/v1", "api": "openai-completions", "apiKey": "none", "models": [ { "id": "deucebucket/Qwen3.6-35B-A3B-Cerebellum-GGUF:Q3_K_M" } ] } } }Run Pi
# Start Pi in your project directory: pi
- Docker Model Runner
How to use deucebucket/Qwen3.6-35B-A3B-Cerebellum-GGUF with Docker Model Runner:
docker model run hf.co/deucebucket/Qwen3.6-35B-A3B-Cerebellum-GGUF:Q3_K_M
- Lemonade
How to use deucebucket/Qwen3.6-35B-A3B-Cerebellum-GGUF with Lemonade:
Pull the model
# Download Lemonade from https://lemonade-server.ai/ lemonade pull deucebucket/Qwen3.6-35B-A3B-Cerebellum-GGUF:Q3_K_M
Run and chat with the model
lemonade run user.Qwen3.6-35B-A3B-Cerebellum-GGUF-Q3_K_M
List all available models
lemonade list
- Hermes Agent
How to use deucebucket/Qwen3.6-35B-A3B-Cerebellum-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 deucebucket/Qwen3.6-35B-A3B-Cerebellum-GGUF:Q3_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:8080/v1 hermes config set model.default deucebucket/Qwen3.6-35B-A3B-Cerebellum-GGUF:Q3_K_M
Run Hermes
hermes
- Atomic Chat
- OpenClaw
How to use deucebucket/Qwen3.6-35B-A3B-Cerebellum-GGUF with OpenClaw:
Start the llama.cpp server
# Install llama.cpp: brew install llama.cpp # Start a local OpenAI-compatible server: llama serve -hf deucebucket/Qwen3.6-35B-A3B-Cerebellum-GGUF:Q3_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:8080/v1 \ --custom-model-id "deucebucket/Qwen3.6-35B-A3B-Cerebellum-GGUF:Q3_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"
docs: rewrite card around 14GB recommended build; benches in Evaluations; trim legacy v1/v3 clutter
Browse files
README.md
CHANGED
|
@@ -76,118 +76,66 @@ model-index:
|
|
| 76 |
metrics:
|
| 77 |
- name: pass@1
|
| 78 |
type: pass@1
|
| 79 |
-
value: 0.
|
| 80 |
source:
|
| 81 |
name: Local benchmark run (RTX 3090, llama.cpp)
|
| 82 |
url: https://huggingface.co/deucebucket/Qwen3.6-35B-A3B-Cerebellum-GGUF/tree/main/benchmark_results
|
| 83 |
---
|
| 84 |
|
| 85 |
-
## 14 GB variant β recommended (the sweet spot)
|
| 86 |
-
|
| 87 |
-
`Qwen3.6-35B-A3B-Cerebellum-14GB.gguf` β 14.0 GB, 3.34 bpw. Q3_K_M base + Q4_K on the routed `ffn_down_exps` (ablation-informed).
|
| 88 |
-
|
| 89 |
-
Size ladder (1x RTX 3090, llama.cpp; HumanEval/+ via upstream EvalPlus, greedy temp 0, n=164):
|
| 90 |
-
|
| 91 |
-
| build | size | HumanEval / HumanEval+ |
|
| 92 |
-
|---|---|---|
|
| 93 |
-
| micro | 11.96 GB | 90.9 / 87.2 |
|
| 94 |
-
| **14 GB** | **14.0 GB** | **93.3 / 90.2** |
|
| 95 |
-
| uniform Q3_K_M | 16.0 GB | 91.5 / 89.0 |
|
| 96 |
-
| Base | 17.3 GB | 92.7 / 89.0 |
|
| 97 |
-
|
| 98 |
-
The 14 GB build has the highest HumanEval of the family β above the 16 GB uniform Q3_K_M (-2 GB) and matching the 17.3 GB Base (-3.3 GB). Long-context needle recall passes to 90K+. Decode ~168 tok/s (3B-active MoE); fits 160K+ context at ~19 GB on a 24 GB card.
|
| 99 |
-
|
| 100 |
-
Launch (single card): `llama-server -m Qwen3.6-35B-A3B-Cerebellum-14GB.gguf -ngl 99 -fa on --reasoning off`. Evidence: `benchmark_results/14gb/`.
|
| 101 |
-
|
| 102 |
-
---
|
| 103 |
-
|
| 104 |
<p align="center">
|
| 105 |
<img src="cerebellum_banner.png" alt="Cerebellum" width="640">
|
| 106 |
</p>
|
| 107 |
|
| 108 |
# Qwen 3.6 35B-A3B β Cerebellum GGUF
|
| 109 |
|
| 110 |
-
Sensitivity-guided mixed-precision quantization of [Qwen/Qwen3.6-35B-A3B](https://huggingface.co/Qwen/Qwen3.6-35B-A3B).
|
| 111 |
|
| 112 |
-
| Variant | File | Size | BPW |
|
| 113 |
-
|---------|------|------|-----|
|
| 114 |
-
| **
|
| 115 |
-
|
|
| 116 |
|
| 117 |
-
|
| 118 |
|
| 119 |
-
|
| 120 |
|
| 121 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 122 |
|
| 123 |
-
|
| 124 |
|
| 125 |
-
|
| 126 |
-
|-----------|:---:|:---:|:---:|
|
| 127 |
-
| **ARC-Challenge** | **95.8%** | 94.8% | 96.1% |
|
| 128 |
-
| **HellaSwag** | **92.3%** | 91.5% | 91.5% |
|
| 129 |
-
| **MMLU-Redux** | **75.0%** | 73.9% | 74.1% |
|
| 130 |
-
| **HumanEval base** | **70.7%** | β | 64.0% |
|
| 131 |
-
| **HumanEval+** | **65.2%** | β | 56.7% |
|
| 132 |
-
| Vision smoke (36 images) | **100%** | 100% | β |
|
| 133 |
|
| 134 |
-
v3
|
| 135 |
-
|
| 136 |
-
## v3 Allocation
|
| 137 |
-
|
| 138 |
-
| Group | Precision | Rationale |
|
| 139 |
-
|-------|-----------|-----------|
|
| 140 |
-
| `attn_qkv` | Q3_K_M | Critical for vision and attention routing |
|
| 141 |
-
| `ssm_out` | Q3_K_M | Most sensitive tensor per ablation (+0.24 PPL) |
|
| 142 |
-
| `ffn_gate_exps` | Q2_K | Q2_K regularization outperforms Q3_K_M |
|
| 143 |
-
| `ffn_up_exps` | Q2_K | Q2_K regularization outperforms Q3_K_M |
|
| 144 |
-
| `ffn_down_exps` | Q2_K | Acceptable loss for size savings |
|
| 145 |
-
| `ffn_gate_shexp` | Q2_K | Q2_K regularization outperforms Q3_K_M |
|
| 146 |
-
| `ffn_up_shexp` | Q2_K | Q2_K regularization outperforms Q3_K_M |
|
| 147 |
-
| `ffn_down_shexp` | Q2_K | Q2_K regularization outperforms Q3_K_M |
|
| 148 |
-
| `attn_gate` | Q2_K | Q2_K regularization outperforms Q3_K_M |
|
| 149 |
-
| `ssm_alpha`, `ssm_beta` | Q2_K | Q2_K regularization outperforms Q3_K_M |
|
| 150 |
-
|
| 151 |
-
Protected: all norms (F32), SSM state params (F32), router tensors (default).
|
| 152 |
-
|
| 153 |
-
## Ablation Data
|
| 154 |
-
|
| 155 |
-
Full ablation methodology and results are in the `ablation/` directory:
|
| 156 |
-
|
| 157 |
-
- `group_ablation_results.log` β Forward ablation: demote each group to Q2_K, measure PPL
|
| 158 |
-
- `reverse_ablation_results.log` β Reverse ablation: from fully-demoted v1, restore each group
|
| 159 |
-
- `cerebellum_v3_overrides.txt` β The 360-line tensor type override file used for v3
|
| 160 |
-
|
| 161 |
-
Key finding from reverse ablation: **7 of 10 groups perform better at Q2_K than Q3_K_M** β imatrix-guided Q2_K acts as beneficial regularization on gate, mixing, and shared expert weights.
|
| 162 |
|
| 163 |
## Usage
|
| 164 |
|
| 165 |
```bash
|
| 166 |
-
#
|
| 167 |
-
llama-server -
|
| 168 |
-
--mmproj mmproj-F16.gguf --n-gpu-layers 99 --ctx-size 8192
|
| 169 |
|
| 170 |
-
#
|
| 171 |
-
llama-server -
|
| 172 |
-
--mmproj mmproj-F16.gguf --n-gpu-layers 99 --ctx-size 8192
|
| 173 |
```
|
| 174 |
|
| 175 |
## Files
|
| 176 |
|
| 177 |
-
| File | Size |
|
| 178 |
-
|------|------|-------
|
| 179 |
-
| `Qwen3.6-35B-A3B-Cerebellum-
|
| 180 |
-
| `Qwen3.6-35B-A3B-Cerebellum-Q3_K_M.gguf` |
|
| 181 |
-
| `mmproj-F16.gguf` | 858 MB |
|
| 182 |
-
| `benchmark_results/
|
| 183 |
-
| `ablation/` | β |
|
| 184 |
|
| 185 |
## Methodology
|
| 186 |
|
| 187 |
-
Built with [Cerebellum](https://github.com/deucebucket/cerebellum) β sensitivity-guided mixed-precision quantization
|
| 188 |
-
|
| 189 |
-
Quantized by [@deucebucket](https://huggingface.co/deucebucket).
|
| 190 |
|
| 191 |
## Independent records
|
| 192 |
|
| 193 |
-
This
|
|
|
|
| 76 |
metrics:
|
| 77 |
- name: pass@1
|
| 78 |
type: pass@1
|
| 79 |
+
value: 0.902
|
| 80 |
source:
|
| 81 |
name: Local benchmark run (RTX 3090, llama.cpp)
|
| 82 |
url: https://huggingface.co/deucebucket/Qwen3.6-35B-A3B-Cerebellum-GGUF/tree/main/benchmark_results
|
| 83 |
---
|
| 84 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 85 |
<p align="center">
|
| 86 |
<img src="cerebellum_banner.png" alt="Cerebellum" width="640">
|
| 87 |
</p>
|
| 88 |
|
| 89 |
# Qwen 3.6 35B-A3B β Cerebellum GGUF
|
| 90 |
|
| 91 |
+
Sensitivity-guided mixed-precision quantization of [Qwen/Qwen3.6-35B-A3B](https://huggingface.co/Qwen/Qwen3.6-35B-A3B). Cerebellum measures which weight groups survive extreme compression and which don't, then writes a single GGUF with per-tensor precision assignments β a standard GGUF that runs on stock `llama.cpp`, no fork.
|
| 92 |
|
| 93 |
+
| Variant | File | Size | BPW | Best for |
|
| 94 |
+
|---------|------|------|-----|----------|
|
| 95 |
+
| **14 GB** (recommended) | `Qwen3.6-35B-A3B-Cerebellum-14GB.gguf` | **14.0 GB** | 3.34 | best coding, 160K+ context |
|
| 96 |
+
| v3 (smallest) | `Qwen3.6-35B-A3B-Cerebellum-v3-Q3_K_M.gguf` | 11 GB | 2.76 | tightest VRAM, vision |
|
| 97 |
|
| 98 |
+
## Evaluations
|
| 99 |
|
| 100 |
+
Coding β upstream EvalPlus (`evalplus.codegen` against `llama-server`, greedy / temp 0, n=164), same protocol across the size ladder:
|
| 101 |
|
| 102 |
+
| build | size | HumanEval | HumanEval+ |
|
| 103 |
+
|-------|------|:---:|:---:|
|
| 104 |
+
| micro | 11.96 GB | 90.9 | 87.2 |
|
| 105 |
+
| **14 GB (recommended)** | **14.0 GB** | **93.3** | **90.2** |
|
| 106 |
+
| uniform Q3_K_M | 16.0 GB | 91.5 | 89.0 |
|
| 107 |
+
| Base | 17.3 GB | 92.7 | 89.0 |
|
| 108 |
|
| 109 |
+
Long-context: needle recall passes to 90K+ (`verify-stress`). Throughput: ~168 tok/s decode (3B-active MoE); fits 160K+ context at ~19 GB on a 24 GB card. Per-question artifacts in `benchmark_results/14gb/`.
|
| 110 |
|
| 111 |
+
## Why the 14 GB over v3
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 112 |
|
| 113 |
+
v3 (11 GB) is the tightest-VRAM build. The 14 GB spends ~3 GB more to promote the routed `ffn_down_exps` to Q4_K β the group the ablation identifies as where the quality lives β and that gives it the family's **best coding** plus 160K+ context headroom. It posts above the 16 GB uniform Q3_K_M (β2 GB) and matches the 17.3 GB Base (β3.3 GB): the Base's extra promotions buy ~0 coding, so 14 GB is the efficient point. Pick v3 only when VRAM is tight or you need the vision projector.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 114 |
|
| 115 |
## Usage
|
| 116 |
|
| 117 |
```bash
|
| 118 |
+
# 14 GB (recommended)
|
| 119 |
+
llama-server -m Qwen3.6-35B-A3B-Cerebellum-14GB.gguf -ngl 99 -fa on --reasoning off
|
|
|
|
| 120 |
|
| 121 |
+
# v3 (smallest, with vision)
|
| 122 |
+
llama-server -m Qwen3.6-35B-A3B-Cerebellum-v3-Q3_K_M.gguf --mmproj mmproj-F16.gguf -ngl 99 -c 8192
|
|
|
|
| 123 |
```
|
| 124 |
|
| 125 |
## Files
|
| 126 |
|
| 127 |
+
| File | Size | Notes |
|
| 128 |
+
|------|------|-------|
|
| 129 |
+
| `Qwen3.6-35B-A3B-Cerebellum-14GB.gguf` | 14 GB | recommended β best coding, 160K+ ctx |
|
| 130 |
+
| `Qwen3.6-35B-A3B-Cerebellum-v3-Q3_K_M.gguf` | 11 GB | smallest; vision (with mmproj) |
|
| 131 |
+
| `mmproj-F16.gguf` | 858 MB | vision projector (F16) |
|
| 132 |
+
| `benchmark_results/` | β | per-question evaluation artifacts |
|
| 133 |
+
| `ablation/` | β | ablation logs + tensor override maps |
|
| 134 |
|
| 135 |
## Methodology
|
| 136 |
|
| 137 |
+
Built with [Cerebellum](https://github.com/deucebucket/cerebellum) β sensitivity-guided mixed-precision quantization: crush each tensor group, measure the impact, allocate precision under a size budget, output a plain GGUF. imatrix-calibrated. Quantized by [@deucebucket](https://huggingface.co/deucebucket).
|
|
|
|
|
|
|
| 138 |
|
| 139 |
## Independent records
|
| 140 |
|
| 141 |
+
This line has a recorded data point in [club-3090's BENCHMARKS](https://github.com/noonghunna/club-3090/blob/master/BENCHMARKS.md) (author-rig numbers from a full `report.sh --full` chain). The same report corrected their engine-support table for this model ([issue #390](https://github.com/noonghunna/club-3090/issues/390), [PR #393](https://github.com/noonghunna/club-3090/pull/393)). Numbers there are author-reported, not club-validated.
|