3,488 yesterday

ollama run orcarouter/Qwen4-35B-A3B-abliterated

Models

View all →

Readme

OrcaRouter Qwen4-35B-A3B-abliterated The uncensored Qwen4-35B-A3B for Ollama — 3B active · hybrid linear + sparse attention · MTP · tools · 1M context

Apache-2.0 · 2 tags · 31 / 33 GB · 24 GB GPU · n-gram table off the GPU · reasoning

Website · Model Catalog · Hugging Face · GitHub · Discord · X


🧰 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.

Launch a harness →

🛡️ 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.

Try it on OrcaRouter →


Abliterated Qwen4-35B-A3B, run locally.

These are Ollama builds of an abliterated (refusal-removed) Qwen/Qwen4-35B-A3B. It is a 35B MoE with 256 routed experts (top-8) and one shared expert, about 3B active per token. It mixes Gated DeltaNet linear attention with sparse attention, has a built-in MTP head, and adds a 20B n-gram embedding table that is read, not computed.

A refusal subspace was removed from the BF16 weights before quantization. Harmful-prompt refusal drops from 92% to 7%, over-refusal goes down, and general capability is unchanged.

Only part of the model needs GPU memory. Ollama keeps the n-gram table (11.5 GB of each file) off the GPU on its own, so the 33 GB build runs on a 24 GB GPU.

MTP drafting is on. The built-in MTP head drafts tokens for faster decoding, with no extra download.


⚠️ 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 2.0 license 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 tag

Tag Download (Ollama) GPU memory, 32K context KLD ↓ Top-1 ↑ PPL vs. BF16
mix-33g · latest 33.10 GB 23.6 GB 0.080 91.5% +3.1%
mix-31g 30.88 GB 21.4 GB 0.117 89.7% +6.3%
  • Mix-33G fits a 24 GB GPU. 91.5% of next tokens match the BF16, and perplexity is 3.1% higher: a noticeable loss that is fine for chat and coding help.
  • Mix-31G leaves more room for longer contexts. 89.7% of next tokens match, and perplexity is 6.3% higher: long reasoning and math are clearly degraded.

Use Mix-33G if you have the memory.

GPU memory is what Ollama used on one GPU with num_ctx 32768 while it read a 27.6K-token prompt. The n-gram table is read from the model file as needed, so keep Ollama’s model directory on an SSD.


Usage (Ollama)

Requires Ollama v0.40.21 or later.

ollama run orcarouter/Qwen4-35B-A3B-abliterated            # Mix-33G
ollama run orcarouter/Qwen4-35B-A3B-abliterated:mix-31g

cURL

curl http://localhost:11434/api/chat -d '{
  "model": "orcarouter/Qwen4-35B-A3B-abliterated",
  "messages": [{"role": "user", "content": "Hello!"}]
}'

Python

from ollama import chat
resp = chat(
    model="orcarouter/Qwen4-35B-A3B-abliterated",
    messages=[{"role": "user", "content": "Hello!"}],
)
print(resp["message"]["content"])
  • Thinking is on by default. The reasoning comes back in message.thinking, the answer in message.content. Set "think" to low, medium, high (default), xhigh, max, or false.
  • Tool calls come back in message.tool_calls.
  • Sampling is set to Qwen’s thinking-mode recommendation (temperature 1.0, top_p 0.95, top_k 20).
  • Text only. These builds do not carry the vision encoder.
  • Both tags were run in Ollama v0.40.21 (chat, reasoning, a tool call and a 27.6K-token prompt).

Evaluation

Fidelity to the BF16

Both builds are scored against the abliterated BF16 GGUF they were quantized from, using llama.cpp’s full-vocabulary KLD.

The text is the model’s own answers: the abliterated BF16 answered held-out instruction prompts with Qwen’s recommended sampling (temperature 1.0, top_p 0.95, top_k 20), reasoning included. KLD is counted on the assistant tokens, reasoning and answer, over 80 windows of 2048 tokens. These prompts were not used to make the builds.

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.


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 + 1 shared expert; four-way hyper-connections; an n-gram embedding table on layer 1; one MTP layer
Weights in these files 35B (about 3B active per token) + a 20.5B n-gram lookup table at IQ4_NL (11.5 GB)
Quantization Per-tensor mixed llama.cpp types with an importance matrix, from the abliterated BF16
Context up to 1,048,576 tokens (inherited; evaluated at 2k) · Vocabulary 248,320
Runtime Ollama v0.40.21+, or llama.cpp b12969+; text in, text out; MTP drafting in both

Bias, risks, and limitations

  • Safety guardrails are substantially reduced. See the disclaimer. The model still often prefaces compliant answers with a disclaimer.
  • Mix-31G is clearly degraded (89.7% next-token agreement); long reasoning and math suffer first.
  • Refusal numbers come from a rule-based classifier, not an LLM judge.
  • Tested on CUDA only. CPU and Apple Metal have not been run with these files yet.
  • Not measured: coding and agentic benchmarks, long context (all fidelity numbers are at 2k), and vision.
  • Inherits the biases and limitations of Qwen/Qwen4-35B-A3B.

License

The Apache License 2.0, inherited from the base model Qwen/Qwen4-35B-A3B.

Elsewhere


One Gateway. Every Model.

Route Smarter · Ship Safer · Spend Less

Website · Models · GitHub · Discord · X