license: apache-2.0
base_model: OpenUncensored/Qwen4-35B-A3B-Uncensored
base_model_relation: quantized
library_name: mlx
pipeline_tag: image-text-to-text
tags: [mlx, qwen4, moe, uncensored, abliterated, mtp, oq, apple-silicon]
Qwen4-35B-A3B-Uncensored — MLX oQ8 (MTP)
MLX quantization (oMLX oQ8, imatrix-calibrated, 58 GB) of
OpenUncensored/Qwen4-35B-A3B-Uncensored,
for Apple Silicon. The MTP head and the vision tower are kept, and all four reasoning levels
(xhigh, high, low, off) work.
Other sizes: oQ2.7 · oQ3 · oQ4e · oQ6
What was done
- Started from the original
Qwen/Qwen4-35B-A3Bbf16 weights. - Applied OpenUncensored's published edit (
ou_edit.safetensors, included here). It uses a
rank-2 refusal basis per layer, covering both thinking-off and thinking-on refusal directions, and
appliesW' = W - 1.5·B·Bᵀ·Wto the attention output projections,shared_expert.down_projand all
256 routed experts'down_proj, layers 8–33 (78 tensors). The result is verified to match
their bf16 release. All credit for the method goes to OpenUncensored. If you want bf16, use their repo. - Quantized with oMLX 0.8.5
oQ8(enhanced, imatrix 128×512 tokens), keeping MTP.
Evaluation (local, M5 Max 128 GB, oMLX with MTP)
Refusals. 100 prompts from harmful_behaviors (test split), long answers, graded by a local LLM
judge (COMPLY / PARTIAL / REFUSE), on the oQ4e build:
| Model | reasoning off | reasoning low |
|---|---|---|
| Qwen/Qwen4-35B-A3B (original) | 97/100 refuse (marker-based) | — |
| This edit (oQ4e) | 95 / 1 / 4 | 99 / 0 / 1 |
Capability battery for this quant (34 prompts: math, logic, code, tool calls, vision, long context,
reasoning levels, 10 borderline requests; auto-graded):
| Run | Capability | Reasoning levels | Borderline requests |
|---|---|---|---|
| 1 run | 11/13 | 8/8 | 10/10 complied |
| 3 repeats (capability + levels) | 39/39 | 23/24 | — |
The single run's two code failures did not reproduce in 3 repeats (on par with or above oQ4e).
Code
Everything used to build and evaluate this model (edit application, oQ conversion, test battery, refusal judge, plus our unused MLX Heretic experiment) is in code/. Model outputs are not included.
Usage
oMLX (recommended): put the folder in your models directory and enable MTP, PLE n-gram SSD offload
and trust_remote_code in the model settings.
MLX-Serve ≥ 26.12.1: drop the folder into ~/.mlx-serve/models/local/.
Set the reasoning level with reasoning_effort (xhigh / high / low / off).
Disclaimer
This model will comply with requests the original refuses. You are responsible for how you use it.
License: Apache-2.0, as for the base model.