license: apache-2.0
license_link: LICENSE
language:
- en
- zh
pipeline_tag: text-generation
library_name: gguf
base_model: Qwen/Qwen4-35B-A3B
base_model_relation: quantized
tags: - gguf
- llama.cpp
- local
- qwen
- qwen4
- moe
- reasoning
- coding
- agentic
- abliterated
- uncensored
Qwen4-35B-A3B-abliterated GGUF
|
🧰 New from Orca — OrcaPod Run AI pentesting harnesses without installing them. 16 pentesting & red-team harnesses (Strix, PentAGI, PentestGPT, HexStrike AI, RedAmon and more) and 6 coding agents (Claude Code, Codex, Gemini CLI, OpenCode, Goose, Hermes) each run on an isolated cloud worker, in a browser terminal, browser VS Code or their own web UI, pointed at 15 OrcaCyber models from your plan. Verified-domain targets only. |
|
🛡️ New from Orca — OrcaCyber Zero 1.5 Post-trained for cybersecurity: vulnerability analysis, vulnerability reproduction, red teaming & offensive-security research. 98.01% pass@1 on CyberGym Level 1 · 1M context · function calling · OpenAI-compatible API. |
|
🔓 All hosted cyber and abliterated models as API Skip the download: OrcaRouter serves its cybersecurity and abliterated models behind one OpenAI-compatible API key. |
The uncensored Qwen4-35B-A3B in llama.cpp, on one 24 GB GPU.
31 GB and 33 GB builds · the 20B n-gram table stays on disk · built-in MTP drafting
OrcaRouter AI Gateway · X · Discord · GitHub · All Models
Abliterated Qwen4-35B-A3B, run locally.
These are GGUF builds of an abliterated (refusal-removed)
Qwen/Qwen4-35B-A3B: a 35B mixture of experts with about 3B
active per token, hybrid linear and sparse attention, a built-in MTP head, and a 20B n-gram embedding table that
is read, not computed.Harmful-prompt refusal drops from 92% to 7%, with no loss in general capability.
Each build keeps the n-gram table in a form llama.cpp can leave on disk and read on demand, so only the rest of
the model has to fit in memory.
⚠️ Disclaimer: read before use
This model is abliterated: its safety alignment has been substantially reduced. It will
comply with many harmful, unethical, offensive, or illegal requests that the original Qwen4-35B-A3B would
refuse.
- It is released strictly for legitimate research: interpretability, AI safety and
refusal-mechanism study, red teaming, and robustness evaluation. - You assume full responsibility for how you use it and for everything it generates. Add
your own safety, moderation and abuse-prevention layers before any deployment. - Use must comply with the Apache License 2.0 inherited from the base model, and
with all applicable law. - The authors accept no liability for misuse. Its outputs do not reflect the views of the
uploaders or of the Qwen team.
Pick a build
| Build | File | KLD ↓ | Top-1 ↑ | PPL vs. BF16 | GPU memory, 32K context |
|---|---|---|---|---|---|
Mix-33G |
33.10 GB | 0.080 | 91.5% | +3.1% | 22.5 GB |
Mix-31G |
30.88 GB | 0.117 | 89.7% | +6.3% | 20.4 GB |
- Mix-33G fits a 24 GB GPU (22.5 GB in use at 32K context). 91.5% of next tokens match the BF16: a
noticeable loss that is fine for chat and coding help. - Mix-31G leaves more room (20.4 GB at 32K context) for longer contexts or a smaller card. 89.7% of next
tokens match: long reasoning and math are clearly degraded.
Use Mix-33G if you have the memory.
GPU memory is what llama-server used on one GPU with the n-gram table left on disk (the command below), one
32K-token slot, while it read a 32K-token prompt. The table (11.5 GB of each file) is read from the file as needed,
so keep the file on an SSD.
Evaluation
Fidelity to the BF16
Each build is scored against the abliterated BF16 GGUF with llama.cpp's full-vocabulary KL divergence, on 80
windows of 2048 tokens. The text is the model's own answers, reasoning included, to held-out prompts that were
not used to make the builds, and only the assistant tokens are scored.
| File | KLD ↓ | Top-1 ↑ | PPL vs. BF16 | |
|---|---|---|---|---|
| Mix-33G | 33.10 GB | 0.080 | 91.5% | +3.1% |
| Mix-31G | 30.88 GB | 0.117 | 89.7% | +6.3% |
Method note. These are full-vocabulary KLD and next-token agreement at 2K context, not a downstream benchmark.
Abliteration
These numbers were measured on the abliterated BF16 against the original Qwen4-35B-A3B, served by vLLM with
Qwen4's reasoning parser, with identical prompts, splits and seed, greedy decoding and thinking on (the default
effort). Refusal is judged on the final answer by a rule-based classifier, not an LLM judge, so treat the numbers as
indicative.
Harmful-prompt refusal (lower = more uncensored). Average 7.2%, against 91.9% for the original.
| Benchmark | n | Original | Abliterated | Caveat (original → abliterated) |
|---|---|---|---|---|
| AdvBench | 100 | 98.0% | 7.0% | 82.0% → 42.0% |
| JailbreakBench (harmful) | 100 | 95.0% | 7.0% | 73.0% → 38.0% |
| StrongREJECT | 150 | 98.0% | 6.7% | 70.7% → 42.0% |
| HarmBench (standard) | 150 | 98.7% | 11.3% | 70.7% → 33.3% |
| MaliciousInstruct | 100 | 96.0% | 2.0% | 69.0% → 23.0% |
| SimpleSafetyTests | 50 | 100.0% | 12.0% | 66.0% → 20.0% |
| ForbiddenQuestions | 150 | 57.3% | 4.0% | 66.7% → 31.3% |
The model now answers, but often still opens with a safety disclaimer (the caveat column).
Over-refusal on benign prompts (lower = better).
| Benchmark | n | Original | Abliterated |
|---|---|---|---|
| XSTest-safe | 250 | 4.4% | 1.2% |
| JailbreakBench (benign) | 100 | 20.0% | 5.0% |
Capability. Every change is within the 95% confidence interval except CMMLU, which went up.
| Benchmark | n | Original | Abliterated |
|---|---|---|---|
| MMLU | 300 | 92.3% | 91.3% |
| MMLU-Pro (CoT) | 250 | 85.6% | 86.8% |
| GSM8K (CoT) | 150 | 95.3% | 95.3% |
| CMMLU | 500 | 90.4% | 92.0% |
Refusal and capability were measured on the BF16, not on these builds.
How the builds were made
A refusal subspace was estimated from the model's own activations on harmful and harmless prompts and projected
out of every weight that writes to the model's working stream; nothing was trained. The builds were then quantized
from the abliterated BF16 with an importance matrix, mixing llama.cpp types tensor by tensor, with the n-gram table
at IQ4_NL.
What's in this repo
| Path | Size | Contents |
|---|---|---|
Qwen4-35B-A3B-abliterated-Mix-33G.gguf |
33.10 GB | the 33 GB build (32 GB tier) |
Qwen4-35B-A3B-abliterated-Mix-31G.gguf |
30.88 GB | the 31 GB build (24 GB tier) |
LICENSE |
Apache License 2.0, from the base model |
Each build is a single file with the chat template, the MTP head and Qwen's sampling defaults embedded. These are
text-only builds.
Serving (llama.cpp)
Qwen4 is supported in llama.cpp from ggml-org/llama.cpp#33626
(release b12969 and later). These files were made and tested with b12973:
git clone https://github.com/ggml-org/llama.cpp && cd llama.cpp
git checkout b12973 # or any later release
cmake -B build -DGGML_CUDA=ON && cmake --build build -j --target llama-server llama-cli
# Mac: cmake -B build (Metal is on by default) · CPU only: cmake -B build
hf download orcarouter/Qwen4-35B-A3B-abliterated-GGUF Qwen4-35B-A3B-abliterated-Mix-33G.gguf --local-dir ./qwen4-gguf
llama-server -m qwen4-gguf/Qwen4-35B-A3B-abliterated-Mix-33G.gguf -ngl 99 -c 32768 --jinja \
--load-mode mmap --lazy-mode on -ot per_layer_token_embd=CPU \
--temp 1.0 --top-p 0.95 --top-k 20 --min-p 0.0
- The n-gram table stays on disk.
--load-mode mmap --lazy-mode on -ot per_layer_token_embd=CPUkeeps it out
of GPU memory and reads only the rows each token needs. - Thinking is on by default. With
--jinja, llama-server returns the reasoning inmessage.reasoning_content
and the answer inmessage.content. For non-thinking mode add--reasoning offand use Qwen's non-thinking
sampling (--temp 0.7 --top-p 0.8 --top-k 20 --presence-penalty 1.5). - Tool calls come back in
message.tool_callsthrough the OpenAI-compatible API. - Faster decoding with the built-in MTP head: add
--spec-type draft-mtp --spec-draft-n-max 2. In our test
(a coding prompt, greedy) 71–75% of the drafted tokens were accepted.
Model details
| Base model | Qwen/Qwen4-35B-A3B, abliterated |
| Architecture | qwen4 in llama.cpp. 40 layers: 30 Gated DeltaNet (linear-attention) + 10 sparse-attention layers; 256 routed experts (top-8) and a shared expert; four-way hyper-connections; an n-gram embedding table on layer 1; one MTP layer |
| Parameters | 35B (about 3B active per token) + a 20.5B n-gram lookup table · Vocabulary 248,320 |
| Context | up to 1,048,576 tokens (inherited; fidelity evaluated at 2K) |
| Runtime | llama.cpp b12969 or later; text in, text out |
Bias, risks, and limitations
- Safety guardrails are substantially reduced. See the disclaimer. The model still often prefaces compliant
answers with a disclaimer. - Refusal numbers come from a rule-based classifier, not an LLM judge.
- Refusal and capability were measured on the BF16, not on these builds. The builds were checked for fidelity
(KLD) and for coherent answers and tool calls. - Not measured: coding and agentic benchmarks, long context (fidelity is measured at 2K), vision, and speed
outside NVIDIA GPUs. - Tested on CUDA only. CPU and Apple Metal have not been run with these files.
- Inherits the biases and limitations of
Qwen/Qwen4-35B-A3B.
License
The Apache License 2.0, inherited from the base modelQwen/Qwen4-35B-A3B.
One Gateway. Every Model.
Route Smarter · Ship Safer · Spend Less
