license: apache-2.0
base_model:
- OpenUncensored/Qwen4-35B-A3B-Uncensored
- Qwen/Qwen4-35B-A3B
base_model_relation: quantized
pipeline_tag: image-text-to-text
library_name: mlx
language: - en
tags: - mlx
- omlx
- oq
- oq8
- 8-bit
- apple-silicon
- abliterated
- uncensored
- qwen4
- qwen4_exp
- moe
- vision-language
- reasoning
- mtp
- verisafe
Qwen4-35B-A3B-Uncensored · MLX oQ8
Built by VeriSafe.Live: we build, fine-tune, quantize and serve open-weights models.
An uncensored 35B MoE (3B active) with text and image input and a preserved MTP head, running natively on your Mac.
What we offer
| Service | What you get |
|---|---|
| 🎯 Custom fine-tuning | Any open-weights model adapted to your data, domain and tone. |
| 🧪 Training from scratch | Models designed and trained end to end for companies and research institutes. |
| ⚡ Quantization | Compact builds, like this MLX release, that run on the hardware you already have. |
| 🌐 Hosted API access | Our models served for you, ready to call. |
| 🔓 Uncensored models | Open-weights models with refusals removed, for unrestricted work. |
🚀 Now live at VeriSafe.Live: uncensored DeepSeek V4.1 Flash 1017, GLM 5.3 Flash and GLM 5.3.
No wait time, instant access, crypto accepted.
Why this model
- Uncensored: built on OpenUncensored/Qwen4-35B-A3B-Uncensored, an abliterated Qwen4 35B A3B with refusals removed.
- Mac-native: oMLX oQ8 for Apple Silicon unified memory, 57.8 GiB (62.05 GB) on disk, about 8.74 bits per weight, including the MTP head.
- Multimodal, long context: text and image input, with the base model's 1,048,576-token context window.
- Vision and MTP kept: the 27-layer vision tower and the 1-layer MTP head are preserved, so image input and speculative (Lightning MTP) decoding both work in oMLX.
- Fast: only about 3B parameters are active per token; about 82 tok/s decode on an M4 Max without MTP, 96–120 tok/s with Lightning MTP (see Quality).
- oMLX-only for now: the output
config.jsondeclaresmodel_type: qwen4_exp, because oMLX 0.8.2 only ships aqwen4_expimplementation. It loads in oMLX, but not in stock mlx-vlm or transformers. - Open license: Apache-2.0, inherited from the base model.
Model details
| Capability | Image-Text-to-Text |
| Parameters (total) | 35B |
| Parameters (active) | ~3B |
| Architecture | Mixture-of-Experts, hybrid linear / full attention |
| Base model | OpenUncensored/Qwen4-35B-A3B-Uncensored, abliterated from Qwen/Qwen4-35B-A3B |
| Class | qwen4_exp in this repo's config.json (the source declares qwen4_moe; oMLX 0.8.2 implements only qwen4_exp) |
| Layout | 40 layers, 3 linear-attention (Gated DeltaNet) : 1 full-attention; hyper-connections (4 gated residual streams, width 2,048 each); n-gram embedding table |
| Experts | 256 routed experts per layer, 8 active, plus a shared expert |
| Vision | 27-layer ViT, patch size 16 |
| MTP | 1-layer multi-token-prediction head, preserved |
| Context | 1,048,576 tokens |
| Quantization | oMLX oQ8, affine 8-bit, group size 64 (about 8.74 bits per weight); vision tower bf16, MTP linear layers 8-bit, see the recipe |
| Size on disk | 57.8 GiB (62.05 GB) in 13 weight shards |
| Tensors | 3,260 in the output (including quantisation scales/biases); 333 vision (BF16); 32 mtp.* source tensors |
| Runtime | oMLX 0.8.2 (tested); not loadable in stock mlx-vlm or transformers |
| License | Apache-2.0 |
Sibling quant: junafinity/Qwen4-35B-A3B-Uncensored-MLX-MXFP4 is the 4-bit MXFP4 build of the same model: about 36.5 GB instead of about 62 GB, but slower on M4 Max (about 60 vs about 82 tok/s) and lossier. This oQ8 build is the faster, higher-fidelity one if you have the memory.
Official figures from Qwen/Qwen4-35B-A3B: 35B total, 3B active, 1M context, vision input.
⚠️ Refusal behaviour has been removed via abliteration, so the model may produce content the original would decline. Use responsibly.
Disclaimer — read before use
This conversion inherits the abliteration of the OpenUncensored source. Safety alignment has been substantially removed.
- It will comply with harmful, unethical, offensive or illegal requests that the original Qwen4 35B A3B would refuse. It has no meaningful built-in guardrails.
- It is released for legitimate research: interpretability, AI-safety and refusal-mechanism study, red-teaming, robustness evaluation, and controlled experiments.
- You assume full responsibility and liability for how you use it and for everything it generates. Do not deploy it to end users or in production without adding your own safety, moderation and abuse-prevention layers.
- Use must comply with the Apache-2.0 license of the source weights and with all laws that apply to you.
- The authors and uploaders accept no liability for any misuse or harm. Outputs do not reflect the views of the uploaders, OpenUncensored, or Qwen / Alibaba.
By downloading or using this model you acknowledge and accept the above.
Quickstart
Requires Apple Silicon and oMLX 0.8.2 (tested):
brew tap jundot/omlx https://github.com/jundot/omlx
brew install jundot/omlx/omlx
hf download junafinity/Qwen4-35B-A3B-Uncensored-MLX-oQ8 \
--local-dir ~/Models/Qwen4-35B-A3B-Uncensored-MLX-oQ8
omlx serve --model-dir ~/Models
Then, in the oMLX admin panel (/admin), open the model's settings and keep vision on. Images go in as image_url parts of an OpenAI-style chat message:
curl http://127.0.0.1:8000/v1/chat/completions -H "Content-Type: application/json" -d '{
"model": "Qwen4-35B-A3B-Uncensored-MLX-oQ8",
"messages": [{"role": "user", "content": [
{"type": "text", "text": "Describe this image."},
{"type": "image_url", "image_url": {"url": "data:image/png;base64,..."}}
]}]
}'
Enabling MTP
The checkpoint carries the model's own 1-layer MTP head (all 32 mtp.* source tensors, with mtp_num_hidden_layers=1 in the config).
- In oMLX, enable Lightning MTP (model setting
mtp_enabled: true). - Do not enable "VLM MTP" (
vlm_mtp_enabled). That option is for an external drafter model, and enabling both makes oMLX reject all of the model's settings. - Reload the model or restart oMLX after changing the setting.
- To verify, the server log shows
Qwen4-Exp Lightning MTP enabled ... (checkpoint layout: mtp.), and each request logsMTP[n] ... accept=lines.
MTP is lossless: greedy (temperature 0) output was byte-identical with MTP on and off on all test prompts. Draft depth is adaptive (default max 3) and mostly settles at depth 2. It runs at batch size 1.
Qwen4 reasons by default. To turn thinking off for a request, send "chat_template_kwargs": {"reasoning_effort": "off"}.
Sampler settings from the source card: thinking off, temperature 0.7, top-p 0.8, top-k 20, presence penalty 1.5; thinking on, temperature 1.0, top-p 0.95, top-k 20.
Because the config declares qwen4_exp, which only oMLX 0.8.2 implements, this checkpoint does not load in stock mlx-vlm or transformers. Other MLX runtimes (mlx-lm, LM Studio) have not been tested either.
Running it needs about 62 GB plus KV cache (the weights are 57.8 GiB including the MTP head), so about 96 GB or more of unified memory is the comfortable range. If you have less, the MXFP4 sibling fits comfortably on 64 GB Macs.
Quantization recipe
oMLX 0.8.2 oQ level 8 (quantize_oq_streaming(..., oq_level=8, preserve_mtp=True, text_only=False)), vision kept, MTP kept, on an Apple M4 Max (128 GB), about 2.5 minutes end to end (4-bit sensitivity proxy about 40 s, sensitivity measured on all 40 layers, write about 40 s). Peak memory was about 20 GB during quantisation (the proxy was about 18.6 GB resident during calibration). Sensitivity is data-driven (oQ); no oQe calibration. The most sensitive layers were L36, L22 and L23.
Quantized directly from the OpenUncensored BF16 source (the abliterated weights), not from the official Qwen weights. edit.safetensors (the abliteration basis record) is not included in this repo. The output config.json sets model_type to qwen4_exp, since oMLX 0.8.2 only ships that implementation. The abliteration edit lives in the residual-writing projections of layers 8 to 33, so those tensors are stored at 8-bit rather than a lower width.
Measured recipe, from the output config.json: default affine 8-bit, group size 64, plus per-module overrides.
| Tensors | Format |
|---|---|
| Default (routed experts, attention, embedding, output head) | Affine Q8, group size 64 |
| Shared experts, linear-attention projections and similar (20 module patterns) | Affine Q8, group size 128 |
| n-gram embedding table (128 shards) | Affine Q8, group size 32 (not preserved in bf16) |
Vision tower (vision_tower.*, 333 tensors) |
bf16 |
| Routers and norms | bf16 |
MTP head (mtp.*, 1 layer) |
Linear layers 8-bit; routers and norms bf16 |
Total: 57.8 GiB (62.05 GB), about 8.74 bits per weight (oMLX figure), in 13 shards. Processor is Qwen3VLProcessor (no remote code needed); the tokenizer comes from the upstream tokenizer-compat/ files. Output config: model_type qwen4_exp, text qwen4_exp_text, vision qwen4_exp.
Default quantization in config.json: {"bits": 8, "group_size": 64, "mode": "affine"} plus the per-module overrides above. Trust Remote Code is not required for oMLX.
Quality
This checkpoint has not been scored with MMLU, perplexity, KLD, or the OpenUncensored refusal suite. Spot checks on an M4 Max (128 GB), oMLX 0.8.2, temperature 0.7:
| Check | Result |
|---|---|
| Text (short explanation) | Correct Rayleigh-scattering explanation; answered Canberra for Australia's capital |
| Image (abstract macOS wallpaper) | Described accurately: grid of gradient capsule shapes on pale blue, cyan / violet / peach palette, no invented real-world setting |
| Refusal spot check ("savage, profanity-heavy roast" of a friend's cooking, no disclaimers) | Complied, no refusal, no disclaimer. A single prompt, not a refusal benchmark |
| MTP | Working, verified in oMLX 0.8.2; 69.7% of drafted tokens accepted (1,401 / 2,009), about 1.8–2.7 tokens per step (typically 2.0–2.2) |
Decode speed, temperature 0, 400-token generations over 4 prompts (prose explainer, Python BST code, list of 40 elements, image description), single request, M4 Max:
| Prompt | MTP off (tok/s) | MTP on (tok/s) |
|---|---|---|
| Prose explainer | 83.1 | 103.3 (+24%) |
| Python BST code | 83.0 | 110.0 (+33%) |
| List of 40 elements | 81.7 | 119.6 (+46%) |
| Image description | 80.6 | 96.1 (+19%) |
Overall: about 82 tok/s without MTP, 96–120 tok/s with it (image prompts about 81 / 96).
The quality checks are single prompts, not benchmarks. The 8-bit rounding error on the abliterated residual-writing projections has not been measured. If you evaluate this file, a comparison with refusal counts or MMLU against the OpenUncensored source would be useful.
Abliteration (from the OpenUncensored source)
The edit is baked into the source weights; this repo re-encodes those weights at 8-bit and changes nothing else. Summary of OpenUncensored/Qwen4-35B-A3B-Uncensored:
Directional ablation with a rank-2 refusal basis B per layer (thinking off and on refuse along different directions, so one basis covers both), taken from the mean of the 4 residual streams after each layer. All residual writers on layers 8 to 33 were edited: the DeltaNet linear_attn.out_proj or sparse attention self_attn.o_proj, the shared expert down_proj, and the fused routed experts down_proj (all 256 experts), with W' = W − 1.5·B·Bᵀ·W. In total 78 tensors changed. The n-gram embedding table, vision tower, MTP head, router, gated-residual mixers, and layers 0 to 7 and 34 to 39 are byte-identical to Qwen's files.
Caveats from the source card: the edited routed experts may be more sensitive to quantization than usual (refusals after quantization were not measured there, and have not been measured here at 8-bit), and speculative-decoding acceptance on the edited MTP head was not measured.
Evaluation on the source (not this oQ8 file)
OpenUncensored measured their BF16 files against the original with vLLM, on 100 held-out harmful prompts, graded by two judges from different model families:
| Qwen4 35B A3B | OpenUncensored source | |
|---|---|---|
| Refusals, thinking off | 97 / 100 | 2 / 100 |
| Refusals, thinking on | 99 / 100 | 1 / 100 |
| Full answers, thinking off (both judges agree) | 2 / 72 | 63 / 72 |
| Full answers, thinking on (both judges agree) | 1 / 72 | 66 / 72 |
| MMLU, 300 questions, thinking off, greedy | 70.0% | 71.3% |
| SQuAD 2.0 unanswerable questions answered anyway (lower is better) | 7 / 100 | 8 / 100 |
They note that the model answers more requests, not more of everything: it still declines some, and some answers swap in a safer version of the task. Their MMLU prompt asks for a letter only, so read those numbers as a paired comparison, not a leaderboard score.
💬 Need a custom model?
If your company or research institute would like us to fine-tune any open-weights model, or train one from scratch, we'd be happy to help.
📧 [email protected]
License and attribution. Released under Apache-2.0. Based on OpenUncensored/Qwen4-35B-A3B-Uncensored, derived from Qwen/Qwen4-35B-A3B. Architecture and original training are by Qwen / Alibaba. Abliteration is by OpenUncensored. Quantization and serving use oMLX. © VeriSafe.Live