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
- oq4e
- 4-bit
- qwen4
- moe
- uncensored
- abliterated
- vision-language
Qwen4-35B-A3B Uncensored — oQ4e + 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 oQ4e quantization of OpenUncensored/Qwen4-35B-A3B-Uncensored
(Apache-2.0), itself a directional-abliteration of Qwen/Qwen4-35B-A3B.
Replaces the earlier locally abliterated build.
- Size: 33 GB, 7 shards, ~4.96 bpw
- Source precision: BF16 (33 shards) → oQ level 4, 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)
Quantization fidelity (teacher-forced, 2,044 token positions, Moby Dick)
KL divergence of next-token distributions, plus the oQ4→oQ6 quant noise floor for scale:
| Pair | mean KL | p50 | p90 | p99 | top-1 agree | PPL |
|---|---|---|---|---|---|---|
| std oQ4e → this (uncensored oQ4e) | 0.414 | 0.203 | 1.055 | 2.687 | 73.6% | 24.26 → 23.26 |
| std oQ4e → std oQ6e (quant noise floor) | 0.376 | 0.181 | 0.980 | 2.664 | 74.6% | 24.26 → 23.70 |
The refusal-ablation edit shifts the distribution about as much as moving from oQ4 to oQ6,
i.e. the 4-bit conversion adds no measurable damage beyond the base edit.
Benchmarks (100 samples per suite, deterministic, MLX/oMLX 0.8.5)
Thinking off — mean 81.0 (standard oQ4e-mtp: 85.2, Δ −4.2)
| Suite | this | std oQ4e-mtp | time (s) |
|---|---|---|---|
| MMLU | 67.0 | 70.0 | 70 |
| HellaSwag | 93.0 | 93.0 | 30 |
| ARC-C | 87.0 | 89.0 | 45 |
| WinoGrande | 72.0 | 79.0 | 26 |
| GSM8K | 93.0 | 94.0 | 174 |
| TruthfulQA | 74.0 | 86.0 | 30 |
Thinking on — mean 91.0 (standard oQ4e-mtp: 93.2, Δ −2.2)
| Suite | this | std oQ4e-mtp | time (s) |
|---|---|---|---|
| MMLU | 87.0 | 89.0 | 605 |
| HellaSwag | 94.0 | 94.0 | 157 |
| ARC-C | 96.0 | 97.0 | 77 |
| WinoGrande | 92.0 | 89.0 | 335 |
| GSM8K | 94.0 | 98.0 | 302 |
| TruthfulQA | 83.0 | 92.0 | 297 |
Comparison is against the standard (non-abliterated) Qwen4 oQ4e-mtp at the same 100-sample
harness, so the delta isolates the base edit. n=100 carries ±3–4 pp sampling noise; the
WinoGrande and TruthfulQA deltas are the largest and most consistent.
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 |
Resident memory ≈ 19.2 GB with PLE SSD offload and 8-bit KV.