license: apache-2.0
license_link: https://huggingface.co/Qwen/Qwen4-35B-A3B/blob/main/LICENSE
base_model: Qwen/Qwen4-35B-A3B
base_model_relation: quantized
pipeline_tag: image-text-to-text
library_name: gguf
gated: auto
extra_gated_prompt: >-
WARNING: Safety refusals have been largely removed from this model via
norm-preserving orthogonal projection. By accessing these weights, you
acknowledge and agree to all three statements below.
extra_gated_fields:
I understand safety alignment and refusal behaviors have been substantially removed: checkbox
I accept full legal and ethical responsibility for all outputs and downstream use: checkbox
I acknowledge these weights are provided AS-IS for research without warranty: checkbox
tags:
- qwen4
- qwen4_moe
- uncensored
- abliterated
- not-for-all-audiences
- gguf
- llama.cpp
- multimodal
Qwen4-35B-A3B-Uncensored-GGUF
Warning / 安全提示: Safety refusals have been largely removed from this checkpoint. It may generate unsafe, offensive, or inaccurate content if prompted. Provided strictly for research and authorized red-team evaluation under Apache-2.0 with no warranty.
Unified GGUF release (llama.cpp b12977+ / v1.1.1+) of our Pre-Norm 4-Stream Hyper-Connection Rank-2 abliterated Qwen/Qwen4-35B-A3B, combining the most popular quant tiers (Q6_K, Q5_K_M, Q4_K_M, Q3_K_M), untouched BF16 multimodal vision projector (mmproj), and optional MTP speculative draft head (Q8_0) in one repository.
- Looking for 2× RTX 3090 / vLLM W4A16 (INT4 + Official FP8 PLE, 210–230 tok/s)? See companion repo
bowmanslayer/Qwen4-35B-A3B-Uncensored-W4A16. - Looking for the official safety-aligned W4A16? See
bowmanslayer/Qwen4-35B-A3B-W4A16.
Available Quantizations (All-in-One Repo)
All GGUFs were converted directly from the abliterated BF16 checkpoint (llama.cpp b12995) with --no-mtp, keeping the 20.5B N-gram PLE table, vision tower, lm_head, routers, hyper-connections, and MTP draft head untouched by abliteration.
| File | Format | Recommended Hardware (with --lazy-mode auto PLE) |
Best For |
|---|---|---|---|
Qwen4-35B-A3B-Uncensored-Q6_K.gguf |
Q6_K |
48–64 GB RAM / 32 GB+ VRAM | Near-lossless 6-bit quality |
Qwen4-35B-A3B-Uncensored-Q5_K_M.gguf |
Q5_K_M |
32 GB RAM / 24–32 GB VRAM | Sweet-spot 5-bit quality vs size |
Qwen4-35B-A3B-Uncensored-Q4_K_M.gguf |
Q4_K_M |
24–32 GB RAM / 24 GB VRAM | Default daily driver (balanced 4-bit) |
Qwen4-35B-A3B-Uncensored-Q3_K_M.gguf |
Q3_K_M |
16–24 GB RAM / 16–24 GB VRAM | Compact 3-bit for tighter memory |
mmproj-Qwen4-35B-A3B-Uncensored-BF16.gguf |
BF16 (~0.84 GiB) |
Pair with any quant via --mmproj |
Multimodal image/vision input |
mtp-Qwen4-35B-A3B-Uncensored-Q8_0.gguf |
Q8_0 (~1.87 GiB) |
Pair via --spec-type draft-mtp |
Optional MTP speculative decoding |
Abliteration Methodology & Reference Metrics (Pre-Norm 4-Stream Rank-2)
- Directions are extracted from the true pre-norm 4-stream
hyper_inputresidual (out[1]ofattn_hyper_connection) across all 40 decoder layers rather than the post-hc_normmixed_input(which suffers up to 25–27× per-channel scaling distortion). - Per-layer biprojected norm-preserving orthogonal projection over the rank-2 4-stream SVD refusal subspace (
109residual write-back matrices modified; PLE, vision,lm_head, routers, and MTP untouched). - Reference verification (measured on our companion W4A16 build from the exact same abliterated BF16 weights on live
vllm/vllm-openai:qwen4, TP=2):- Held-out Refusal (Non-Thinking,
n=100,max_tokens=512):10.0%(10/100,empty=0, median157.5words) - Held-out Refusal (Thinking=High,
n=32,max_tokens=4096):6.25%(2/32,empty=0, median430.0words) - Capability Retention (
n=200, seed20261204, non-thinking): GSM8K98.0%(Base96.0%), ARC-C98.0%(Base96.0%), MMLU-Pro84.0%(Base84.0%), MMLU80.0%(Base74.0%) → Avg90.0%vs Base87.5%(+2.5%). - GGUF Smoke Test: Verified
Q4_K_Mloads and generates coherently inllama.cpp b12995with--lazy-mode auto.
- Held-out Refusal (Non-Thinking,
- Note: Specific prompt datasets are intentionally not redistributed.
Quick Start (llama.cpp b12977+ / v1.1.1+)
Important (
--lazy-mode auto): Qwen4 includes a 20.5B per-layer n-gram PLE table (per_layer_token_embd). Passing--lazy-mode autokeeps PLE rows lazily paged from NVMe/OS page cache so resident VRAM/RAM stays compact (~17–29 GB depending on quant).
# Single 24 GB GPU + 32 GB RAM (Q4_K_M + Vision + MTP speculative decoding)
llama-server \
-m Qwen4-35B-A3B-Uncensored-Q4_K_M.gguf \
--mmproj mmproj-Qwen4-35B-A3B-Uncensored-BF16.gguf \
-md mtp-Qwen4-35B-A3B-Uncensored-Q8_0.gguf \
--spec-type draft-mtp --spec-draft-n-max 2 \
--lazy-mode auto -ngl 99 --flash-attn on -c 65536 --port 8080
To toggle thinking off per request, pass "chat_template_kwargs": {"enable_thinking": false} (or "reasoning_effort": "off" | "low" | "high").
License, Attribution & Change Notice (Apache-2.0 §4b)
Derived from Qwen/Qwen4-35B-A3B (Apache-2.0) by Alibaba Cloud Qwen Team.
Changes made:
- Applied norm-preserving orthogonal projection over the pre-norm 4-stream Hyper-Connection rank-2 refusal subspace to selected BF16 language-model write-back projections and token embeddings to reduce refusal behavior.
- Converted the abliterated BF16 checkpoint to GGUF (
--no-mtp, plus separatemmproj-BF16andmtp-Q8_0) and quantized intoQ6_K,Q5_K_M,Q4_K_M, andQ3_K_Musingllama.cpp b12995.
Unofficial community derivative; not affiliated with or endorsed by the Qwen Team. Provided AS-IS without warranty.