181 Downloads Updated 16 hours ago
ollama run MobiusDevelopment/Qwen4-35B-A3B-Uncensored-A8E4-128K
Updated 16 hours ago
16 hours ago
10748aed6770 · 44GB
Uncensored mixed-precision quant of Qwen/Qwen4-35B-A3B: 8-bit attention, 4-bit experts, refusals removed with CHiPS. Tuned to run entirely on a single 24 GB GPU with a 128K context. Includes vision.
Same recipe as MobiusDevelopment/Qwen4-35B-A3B-A8E4-128K, built from the CHiPS-abliterated weights instead of the original.
The base is Kujira/Qwen4-35B-A3B-CHiPS-Abliterated-GGUF, an edit of unsloth’s Qwen4-35B-A3B GGUF files. CHiPS (Causal Head-isolated Projection Steering) reduces refusals without training: it removes one direction from the attention output of seven layers, plus one head in an eighth. All other tensors, including the router, every expert, the MTP layer and the n-gram embedding table, are byte-identical to unsloth’s.
Reported by Kujira on their UD-Q8_K_XL, 312 harmful requests in English, Japanese and Chinese:
Our own check on this build, 6 borderline requests (lock picking, hotwiring, a profane roast, a phishing email for security training, a graphic revenge scene, dangerous chemical mixes): the original A8E4 refused 1 (hotwiring), this model refused none. Thinking, tool calls and vision work the same as in the original.
Attention runs on every token, so its quantization error adds up. Each expert only sees a few tokens, so experts tolerate 4-bit well (see MoQE). A8E4 keeps attention, the linear-attention (SSM) layers, hyper-connections, shared experts and embeddings at Q80, and quantizes only the routed experts (ffn{gate,up,down}_exps, 256 experts, 8 active) to Q4_K.
The file is 40.5 GiB, but 20.3 GiB of that is Qwen4’s per-layer n-gram embedding table (per_layer_token_embd). It is a lookup table: each token reads only a few rows, so it stays in system RAM and costs no VRAM. The part on the GPU is about 20 GiB.
| vs CHiPS Q8_0, code corpus | A8E4 | Q4_K_M |
|---|---|---|
| Mean KL divergence | 0.025 | 0.180 |
| 99th-percentile KL divergence | 0.54 | 3.56 |
| Perplexity change | +1.3% | +9.4% |
| Same top token | 97.4% | 93.4% |
On the same corpus the CHiPS Q8_0 itself scores perplexity 1.355, against 1.319 for the original Q8_0 (+2.7%).
RTX 3090 Ti 24 GB, Ollama 0.40.21, flash attention on, q8_0 KV cache, 128K context:
OLLAMA_FLASH_ATTENTION=1
OLLAMA_KV_CACHE_TYPE=q8_0
ollama run MobiusDevelopment/Qwen4-35B-A3B-Uncensored-A8E4-128K
OpenAI-compatible endpoint: http://localhost:11434/v1, model MobiusDevelopment/Qwen4-35B-A3B-Uncensored-A8E4-128K.
Default sampling: temperature 0.6, top_p 0.95, top_k 20, min_p 0.
Tools: function calling works through Ollama’s qwen4 renderer and parser.
Thinking: the reasoning is returned separately from the answer, in the thinking field on /api/chat (streaming or not) and in the reasoning field on /v1/chat/completions.
Apache 2.0, inherited from Qwen4-35B-A3B.