library_name: mlx
license: apache-2.0
base_model: OpenUncensored/Qwen4-35B-A3B-Uncensored
base_model_relation: quantized
pipeline_tag: image-text-to-text
tags:
- mlx
- oq
- oqe
- quantized
- qwen4_moe
- mtp
- uncensored
- abliterated
Qwen4-35B-A3B-Uncensored-MLX-oQ8e-MTP
[!WARNING]
This model requires Trust Remote Code (trust_remote_code=True). Its tokenizer and chat processor run Python files shipped in this repository (tokenization_qwen4.py,processing_qwen4.py,encoding_qwen4.py). In oMLX, enable Trust Remote Code in the model's Advanced settings before loading.
| Loading mode | Weights in memory |
|---|---|
| N-gram table in memory (default) | 62.05 GB / 57.79 GiB |
| SSD N-gram Offload on | 39.01 GB / 36.33 GiB |
The 23.04 GB n-gram table can stay on SSD with oMLX's SSD N-gram Offload (qwen4_ple_ssd_offload) setting, which mmaps only the rows each token needs. KV cache and runtime buffers come on top of these numbers.
This checkpoint is an oQ8e (enhanced=True, imatrix-weighted) mixed-precision MLX quantization of OpenUncensored/Qwen4-35B-A3B-Uncensored, converted with oMLX v0.8.5 oQ streaming quantization with preserve_mtp=True.
It preserves the language backbone (35B total / 3B active MoE), the n-gram PLE embedding table, the vision encoder, and the multi-token prediction (MTP) head. Unquantized tensors, scales, and biases are stored in BF16.
- Language backbone effective bpw:
8.495bits/weight - Complete checkpoint effective bpw:
8.736bits/weight
Quantization and Bit Distribution
oQ8e allocates bits per layer using streamed layer-sensitivity measurement on the original BF16 weights, then quantizes each group with an importance matrix (1024 samples x 512 tokens, oqe_code_multilingual) via weighted clipping search and weighted least-squares (LSQ) refit. The n-gram table is quantized under its own offload policy (minimum 4-bit, outside the resident bit budget).
| Storage format | Logical weights | Share of total | Tensor storage | Effective bits/weight |
|---|---|---|---|---|
| Affine 8-bit, group 64 | 34.537B | 60.779% | 34.175 GiB | 8.50 |
| N-gram Affine 8-bit, group 32 | 20.480B | 36.042% | 21.458 GiB | 9.00 |
| Affine 8-bit, group 128 | 1.336B | 2.351% | 1.283 GiB | 8.25 |
| BF16 | 0.470B | 0.827% | 0.875 GiB | 16.00 |
| I64 | 0.000B | 0.000% | 0.000 GiB | 64.00 |
| Total | 56.823B | 100% | 57.792 GiB | 8.736 |
Storage Breakdown
| Component | Logical weights | Storage |
|---|---|---|
| Language backbone | 35.038B | 37.21 GB / 34.65 GiB |
| N-gram embedding | 20.480B | 23.04 GB / 21.46 GiB |
| Vision encoder | 0.447B | 0.89 GB / 0.83 GiB |
| MTP head | 0.859B | 0.91 GB / 0.85 GiB |
| Total | 56.823B | 62.05 GB / 57.79 GiB |
Source & License
Quantized directly from OpenUncensored/Qwen4-35B-A3B-Uncensored (based on Qwen/Qwen4-35B-A3B). Released under the Apache 2.0 license following the upstream model.