license: apache-2.0
license_link: https://huggingface.co/Qwen/Qwen4-35B-A3B/blob/main/LICENSE
base_model:
- OpenUncensored/Qwen4-35B-A3B-Uncensored
base_model_relation: quantized
library_name: mlx
pipeline_tag: image-text-to-text
language: - en
tags: - mlx
- oq6e
- 6-bit
- qwen4
- moe
- uncensored
- abliterated
- vision-language
Qwen4-35B-A3B Uncensored — oQ6e + MTP (MLX)
Content note. This is a re-quantization of an abliterated (refusal-removed) model.
It has no safety alignment and will produce offensive, explicit, or otherwise
objectionable output, and it may state incorrect or unsafe things confidently.
Intended for research on refusal directions, red-teaming, and creative writing by
adults who understand what they are running. You are responsible for how you use it.
MLX oQ6e quantization of OpenUncensored/Qwen4-35B-A3B-Uncensored
(Apache-2.0), itself a directional-abliteration of Qwen/Qwen4-35B-A3B.
- Size: 45.4 GB, 10 shards, ~6.86 bpw
- Source precision: BF16 (33 shards) → oQ level 6, enhanced imatrix, group size 64, BF16 output, MTP preserved
- Runtime:
model_type: qwen4_moe,tokenizer_class: TokenizersBackend,trust_remote_code: false
(remote-codetokenization_qwen4.py/encoding_qwen4.pyare kept for reference only;tokenizer_config.jsoncarries noauto_map, so plain Transformers/oMLX loads it) - 6-bit vs the oQ4e build: +12 GB, −15% KLD
Quantization fidelity (teacher-forced, 2,044 token positions, Moby Dick)
KL divergence of next-token distributions against the same edit at a different precision,
with the oQ4→oQ6 quantization noise floor for scale:
| Pair | mean KL | p50 | p90 | p99 | top-1 agree | PPL |
|---|---|---|---|---|---|---|
| std oQ6e → this (uncensored oQ6e) | 0.351 | 0.181 | 0.889 | 2.107 | 74.5% | 23.70 → 23.53 |
| std oQ4e → std oQ6e (quant noise floor) | 0.376 | 0.181 | 0.980 | 2.664 | 74.6% | 24.26 → 23.70 |
| (reference) std oQ4e → uncensored oQ4e | 0.414 | 0.203 | 1.055 | 2.687 | 73.6% | 24.26 → 23.26 |
At 6 bits the refusal-ablation edit perturbs the distribution slightly less than the
4-bit conversion does (0.351 vs 0.376), i.e. the quantization contributes no measurable
damage of its own.
Benchmarks (100 samples per suite, deterministic, MLX/oMLX 0.8.5)
Thinking off — mean 78.3 (standard oQ6e-mtp: 84.0, Δ −5.7)
| Suite | this | std oQ6e-mtp | time (s) |
|---|---|---|---|
| MMLU | 66.0 | 69.0 | 103 |
| HellaSwag | 88.0 | 93.0 | 39 |
| ARC-C | 85.0 | 87.0 | 46 |
| WinoGrande | 75.0 | 77.0 | 41 |
| GSM8K | 93.0 | 96.0 | 255 |
| TruthfulQA | 63.0 | 82.0 | 44 |
Thinking on — mean 92.0 (standard oQ6e-mtp: 93.7, Δ −1.7)
| Suite | this | std oQ6e-mtp | time (s) |
|---|---|---|---|
| MMLU | 88.0 | 89.0 | 865 |
| HellaSwag | 94.0 | 94.0 | 236 |
| ARC-C | 96.0 | 96.0 | 111 |
| WinoGrande | 95.0 | 92.0 | 538 |
| GSM8K | 96.0 | 98.0 | 353 |
| TruthfulQA | 83.0 | 93.0 | 486 |
The comparison is the standard (non-abliterated) Qwen4 oQ6e-mtp under the same 100-sample
harness, so the delta isolates the base edit. n=100 carries ±3–5 pp sampling noise.
TruthfulQA is the systematic casualty (82→63 off, 93→83 on): TruthfulQA rewards
"I don't know"/hedging on common misconceptions, exactly the behavior an abliteration removes.
MMLU-off also shows 12% truncation at the 128-token cap, which costs a little accuracy;
thinking-on is the configuration this model should be judged in.
Recommended settings
| Setting | Value |
|---|---|
enable_thinking |
true |
mtp_enabled / mtp_adaptive_max_depth |
true / 3 |
qwen4_ple_ssd_offload |
true |
a8_prefill_enabled (min tokens) |
true (128) |
turboquant_kv_enabled / scheme / bits |
true / affine8 / 8.0 |
trust_remote_code |
false |