license: apache-2.0
base_model:
- disillusioned/Qwen3.8-27B-Uncensored-CyberStrike-v2
base_model_relation: quantized
pipeline_tag: image-text-to-text
library_name: transformers
language: - en
- zh
datasets: - oyildirim/cyberstrike-sft-120k
- disillusioned/cyberstrike-sft-128k-enriched
- Agent-Ark/Toucan-1.5M
- nvidia/Nemotron-Post-Training-Dataset-v1
tags: - abliterated
- qwen
- qwen3
- qwen3.8
- uncensored
- ai-red-team
- red-teaming
- cybersecurity
- self-distillation
- lora
- vision-language
- function-calling
- reasoning
- mtp
- nvfp4
- fp4
- 4-bit
- compressed-tensors
- llm-compressor
- vllm
- quantized
disillusioned/Qwen3.8-27B-Uncensored-CyberStrike-v2-NVFP4
CyberStrike v2: a LoRA fine-tune of orcarouter/Qwen3.8-27B-Uncensored on self-distilled security and
tool-use data, merged and quantized to NVFP4 (4-bit). The BF16 merge this build was quantized from:
disillusioned/Qwen3.8-27B-Uncensored-CyberStrike-v2.
What changed
Training data: self-distillation. Every trained assistant turn was written by orcarouter/Qwen3.8-27B-Uncensored itself (pinned at0f639a9b), in thinking mode at reasoning effort medium, served with vLLM 0.34.0. Nothing in the set comes from
any other model. The fine-tune adds the CyberStrike knowledge without replacing how the model reasons.
| Source | Rows | Share of tokens | How the base made each row |
|---|---|---|---|
| disillusioned/cyberstrike-sft-128k-enriched (from oyildirim/cyberstrike-sft-120k, with newer CVE data) | 124,574 | 94.5% | The dataset's answer goes in the system prompt as a reference; the base answers with its own thinking. The training row is the question without the reference. |
| Agent-Ark/Toucan-1.5M (SFT) | 10,294 | 3.0% | Real multi-step tool use. Per assistant turn the base sampled 4 replies; one was kept only if it made the dataset's real tool calls, so its thinking leads to the action whose real result follows. |
| nvidia/Nemotron-Post-Training-Dataset-v1 (tool calling) | 7,240 | 2.5% | Answered by the base, turn by turn. |
140,686 training rows and 1,422 held-out rows, 1,087,155,710 tokens
(1,032,434,250 trained), up to 65,536 tokens a row. Dropped before training: unfinished
replies, replies that cited the reference or lost its detail, refusals, and thinking under 200 characters.
Training. LoRA r 64, alpha 128, on every linear layer of the language model (attention,
Gated DeltaNet and MLP projections). One pass over the training rows: 2,293 optimizer steps on
8 GPUs, the rows packed by length into micro-batches of up to 65,536 tokens, one per GPU
per step; learning rate 0.00013 with 30 warmup steps and a cosine decay to
0.1x, seed 42. The adapter was merged into the BF16 weights; the vision tower, tokenizer, chat
template and MTP head are the parent's.
NVFP4. FP4 (E2M1) weights and layer inputs in groups of 16 with FP8-E4M3 scales, made with
llm-compressor 0.15.0 /
compressed-tensors 0.20.1, the
recipe of disillusioned/Qwen3.8-27B-Uncensored-NVFP4:
- Quantized: every linear layer of the language model: full attention, linear attention (Gated DeltaNet) and MLP.
- Kept in BF16:
lm_head, embeddings, the vision tower, the short convolutions and the MTP head. - Shared global scales for the layers vLLM packs together (
q/k/v_proj,gate/up_proj,in_proj_qkv+in_proj_z,in_proj_b+in_proj_a). - Calibration: 256 samples of up to 4,096 tokens, 128 from
oyildirim/cyberstrike-sft-120k and 128 from
mlabonne/open-perfectblend. Calibration measures value
ranges only; it does not train the model.quant_info.jsonrecords the versions, recipe and statistics.
Checks
The reason for v2: the v1 fine-tune looped in multi-turn agent use (35% of its turns repeated the previous turn's
thinking). Every checkpoint of v2 had to pass a loop gate, at reasoning effort medium:
- the multi-turn loop test (8 agent episodes with file tools: repeated thinking, repeated tool calls, stuck episodes);
- the first tool call on 3 prompts that need a web search, 20 samples each: it must never invent a previous search;
- refusal phrases in the replies to 300 held-out security prompts (counted, not gated).
| Model checked | Result |
|---|---|
| BF16 merge at 50% of training | PASS (loop: repeat_prev 0.0%, same_think 0.0%, stuck 0/8, answered 8/8; invented searches 0/60; refusal phrases 0/300) |
| BF16 merge at 75% | PASS (loop: repeat_prev 0.0%, same_think 0.0%, stuck 0/8, answered 8/8; invented searches 0/60; refusal phrases 0/300) |
| BF16 merge, final adapter | PASS (loop: repeat_prev 0.0%, same_think 0.0%, stuck 0/8, answered 8/8; invented searches 0/60; refusal phrases 0/300) |
| This NVFP4 build | PASS (loop: repeat_prev 0.0%, same_think 0.0%, stuck 0/8, answered 8/8; invented searches 0/60; refusal phrases 0/300) |
On this build the loop test ran 101 turns with 127 tool calls; all 8 episodes ended with an answer.
Validation loss on the first 320 held-out rows (2,342,493 trained tokens), the BF16 merge and this NVFP4 build each served by vLLM with the same settings: 0.247 for BF16, 0.297 for NVFP4 (+0.049, +20.0%). By source: security Q&A 0.250 to 0.299, Nemotron tool calling 0.176 to 0.240, Toucan tool use 0.168 to 0.234.
Serving with vLLM
vllm serve disillusioned/Qwen3.8-27B-Uncensored-CyberStrike-v2-NVFP4 \
--max-model-len 131072 --kv-cache-dtype fp8 --reasoning-parser qwen3 \
--enable-auto-tool-choice --tool-call-parser qwen3_xml
Send reasoning_effort: medium (in chat_template_kwargs): the model was trained on what medium renders. Left out,
Qwen3.8's template falls back to xhigh, which on security prompts drafts very long thinking.
Tested with vLLM 0.34.0 on one NVIDIA B300 at --max-model-len 131072: arithmetic and reasoning split, tool call and
tool-result follow-up, decode 205.8 tok/s single stream, prefill 53,535 tok/s on an 11k-token prompt, and 4 codes
hidden in a 120k-token prompt recalled 4/4. The MTP head is kept; its speed on an RTX 5090 is below.
Speed on one RTX 5090 (32 GB)
Measured 2026-12-03 with vLLM 0.34.0 (vllm/vllm-openai:v0.34.0, FlashInfer attention) on a single RTX 5090
that also drives the desktop, served with:
vllm serve disillusioned/Qwen3.8-27B-Uncensored-CyberStrike-v2-NVFP4 \
--max-model-len 131072 --gpu-memory-utilization 0.88 --max-num-seqs 2 \
--kv-cache-dtype fp8 --language-model-only \
--speculative-config.method mtp --speculative-config.num_speculative_tokens 1 \
--max-num-batched-tokens 4096 \
--reasoning-parser qwen3 --enable-auto-tool-choice --tool-call-parser qwen3_xml
Weights take 18.55 GiB; the fp8 KV cache holds 177,086 tokens (1.35 requests at the full 131,072).
| Single stream, 1,024 tokens out, temperature 0.6 (3 runs each) | Decode | MTP acceptance |
|---|---|---|
Security question, thinking at reasoning_effort: medium |
101–104 tok/s | 77–81% |
| Python script, no thinking | 101–109 tok/s | 93–94% |
| Prose, no thinking | 94–102 tok/s | 75–79% |
| Two streams at once (prose) | 182–194 tok/s total, ~100 each |
| Prompt (cold, nothing cached) | Time to first token | Prefill |
|---|---|---|
| 1k tokens | 0.09 s | ~11,600 tok/s |
| 8k tokens | 0.64 s | ~12,700 tok/s |
| 33k tokens | 3.7 s | ~8,800 tok/s |
| 66k tokens | 10.9 s | ~6,000 tok/s |
| 120k tokens | 30.2 s | ~4,000 tok/s |
With the 120k-token prompt in context, decode still ran at 94 tok/s and all 4 codes hidden in it were recalled.
A repeated 11k-token prompt answered in 0.2 s from the prefix cache. Arithmetic, the reasoning split, a tool call and
the tool-result follow-up all passed. The card peaked at 587 W, 2,962 MHz and 71 °C.
Below is the original model card from orcarouter.
Qwen3.8-27B-Uncensored
The full-precision BF16 abliterated (refusal-removed) build of Qwen's Qwen3.8-27B — the source for fine-tuning, post-training & quantization
|
🧰 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. |
|
One Gateway. Every Model. — Route Smarter · Ship Safer · Spend Less.
Run via API · API Endpoint · Website · Model Catalog · Model Card · GitHub · Discord · X
The full-precision BF16 abliterated (refusal-removed) build of
Qwen/Qwen3.8-27B— a 27B-parameter dense, hybrid-attention
(Gated DeltaNet linear + full attention) native vision-language model with flexible thinking control,
tool-calling, and an MTP speculative-decoding head. These are the source weights from which the
quantized releases are derived, and the recommended base for further fine-tuning / post-training and
quantization — the full vision tower and MTP head are preserved. Browse all models in the
OrcaRouter Model Catalog. This model is deployed as API
here.Derived releases: •
Qwen3.8-27B-Uncensored-FP8— block-FP8 for vLLM serving •Qwen3.8-27B-Uncensored-GGUF— 2-bit→16-bit GGUF for llama.cpp •Qwen3.8-27B-Uncensored-MLX— MLX for Apple Silicon (2 / 4 / 8-bit).
⚠️ Disclaimer — read before use
This model has had its safety alignment substantially removed via abliteration (orthogonalizing the
refusal direction out of the residual stream). As a direct consequence:
- It will comply with harmful, unethical, offensive, or illegal requests that the original
Qwen3.8-27Bwould refuse. It has no meaningful built-in guardrails. - It is released strictly 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 inherited
from the base model, and all laws and regulations that apply to you. - The authors and uploaders accept no liability for any misuse or harm arising from this model. Its
outputs do not reflect the views of the uploaders or of Qwen / Alibaba.
By downloading or using this model you acknowledge and accept the above.
Model details
| Base model | Qwen/Qwen3.8-27B |
| Architecture | Qwen3_5ForConditionalGeneration — 64 layers, hidden 5120, hybrid Gated DeltaNet (48 linear-attention + 16 full-attention, interval 4), native VL tower + MTP head |
| Modification | Abliteration (refusal-direction removal) on the BF16 weights — no quantization |
| Format | safetensors, BF16, 18 shards (55.6 GB, 1199 tensors) |
| Precision | BF16 throughout (full precision — same numeric format as the base release) |
| Preserved | Full vision-language tower (333 visual.* tensors) and MTP speculative-decoding head (15 mtp.* tensors) |
| Context | 262,144 tokens |
| Recommended for | Fine-tuning / post-training (SFT · DPO · RL), re-quantization, interpretability & red-team research |
Abliteration
Refusal-direction removal following Arditi et al. (2024), Refusal in Language Models Is Mediated by a
Single Direction. A single refusal direction r (k = 1) is estimated as the massive-activation–masked
mean-difference of harmful − harmless last-token residuals at layer 38 (round(0.6 × 64)), on AdvBench
(harmful) vs Alpaca (harmless). r is then orthogonalized out of every residual-writing matrix —W' = W − r(rᵀW) — computed in float32:
| Component | matrices edited |
|---|---|
self_attn.o_proj (16 full-attention layers + MTP) |
17 |
linear_attn.out_proj (48 linear-attention / GDN layers) |
48 |
mlp.down_proj (64 layers + MTP) |
65 |
embed_tokens (row space) |
1 |
| Total | 131 |
The vision tower is untouched and the MTP head is abliterated consistently with the main model, so
speculative decoding keeps working. Max residual leakage after the edit: 1.8e-2 (float32 projection →
bf16 storage epsilon). This is a surgical weight edit — it changes ~0 general capability (see
Evaluation) while collapsing refusal behaviour.
Fine-tuning & post-training
This BF16 checkpoint is the recommended base for post-training — it is full precision, keeps the whole
VL tower and the MTP head, and is a drop-in for Qwen/Qwen3.8-27B in the transformers /Qwen3_5ForConditionalGeneration stack.
- Continued pretraining / SFT / DPO / RLHF-style RL all work as they would on the base model (TRL,
LLaMA-Factory, Axolotl, Unsloth, etc.). Full-FT or LoRA/QLoRA are both fine. - Re-quantization: quantize from these weights to FP8, AWQ, GPTQ, or GGUF as needed (this is exactly
how the FP8 and
GGUF releases were produced). - Note on the abliteration: abliteration is a weight edit, not a data-level unlearning. Fine-tuning
on refusal-heavy / safety-aligned data can partially re-introduce refusals; fine-tuning on neutral or
task data preserves the uncensored behaviour. If you want to keep it maximally uncensored, avoid
refusal-laden SFT targets, or re-apply abliteration after training.
Intended use
- Research into refusal mechanisms, alignment, and interpretability.
- Red-teaming and safety / robustness evaluation in controlled environments.
- A full-precision base for further fine-tuning, post-training, and quantization.
Out of scope
- Any use that violates the base model's Apache 2.0 license or applicable law.
- Deployment to the public or to end users without additional safety and moderation layers.
- Generating content intended to harm, harass, defraud, or endanger people.
Evaluation
Measured on these exact abliterated weights — the refusal / capability numbers were collected by
serving this checkpoint (via its byte-exact block-FP8 quantization) with vLLM, against the officialQwen/Qwen3.8-27B served identically, using the same scripts and settings. Refusal is judged by a
rule-based opening-phrase classifier — indicative, not an LLM-judge / publication-grade number.
Thinking is off unless stated.
Safety — harmful-prompt refusal, thinking OFF (lower = more uncensored)
| Benchmark | n | Base | This model |
|---|---|---|---|
| AdvBench | 100 | 99.0% | 0.0% |
| JailbreakBench (harmful) | 100 | 94.0% | 0.0% |
| StrongREJECT | 150 | 97.3% | 2.0% |
| HarmBench (standard) | 150 | 98.7% | 2.7% |
| MaliciousInstruct | 100 | 99.0% | 0.0% |
| SimpleSafetyTests | 50 | 64.0% | 6.0% |
| ForbiddenQuestions | 150 | 73.3% | 4.7% |
| Custom probes (zh/en) | 11 | 63.6% | 0.0% |
Safety — harmful-prompt refusal, thinking ON (enable_thinking=true)
| Benchmark | n | Base | This model |
|---|---|---|---|
| AdvBench | 60 | 66.7% | 1.7% |
| JailbreakBench (harmful) | 60 | 43.3% | 0.0% |
| StrongREJECT | 60 | 35.0% | 0.0% |
| HarmBench (standard) | 60 | 46.7% | 0.0% |
| MaliciousInstruct | 60 | 83.3% | 0.0% |
| SimpleSafetyTests | 50 | 44.0% | 0.0% |
| ForbiddenQuestions | 60 | 48.3% | 0.0% |
| Custom probes (zh/en) | 11 | 45.5% | 0.0% |
Over-refusal — benign prompts wrongly refused (lower = better)
| Benchmark | n | Base (no-think / think) | This model (no-think / think) |
|---|---|---|---|
| XSTest-safe | 250 | 5.6% / 0.0% | 0.4% / 0.0% |
Capability retention — vs the official base (same scripts, same settings)
| Benchmark | n | Base | This model | Δ |
|---|---|---|---|---|
| MMLU (all, 0-shot letter) | 300 | 84.3% | 84.7% | +0.4 |
| MMLU-Pro (CoT) | 250 | 77.6% | 76.8% | −0.8 |
| GSM8K (CoT) | 150 | 90.0% | 88.7% | −1.3 |
| CMMLU (0-shot, Chinese) | 500 | 81.4% | 80.8% | −0.6 |
Capability is essentially fully retained — every benchmark is within ±1.3 pts of the base, and MMLU is
unchanged. Fluency: WikiText-2-raw perplexity 6.96 (BF16 KV; healthy logprobs), confirming
abliteration did not degrade language modelling.
Verified working (reasoning enable_thinking, multi-turn tool calling, and vision / OCR) on this
build and on every derived FP8 / GGUF quant down to IQ2_XXS.
Multimodal (vision)
The vision tower is preserved byte-for-byte — all 333 visual.* tensors are kept in BF16 and the merger
/ image + video preprocessor configs are intact, so this stays a full vision-language model
(Qwen3_5ForConditionalGeneration), a drop-in for the base. Abliteration only edits the language-model
residual writers, so image understanding is architecturally unaffected (and image-conditioned refusals are
reduced along with text ones).
Usage
transformers
import torch
from transformers import AutoProcessor, AutoModelForImageTextToText
model_id = "orcarouter/Qwen3.8-27B-Uncensored"
processor = AutoProcessor.from_pretrained(model_id)
model = AutoModelForImageTextToText.from_pretrained(model_id, torch_dtype=torch.bfloat16, device_map="auto")
messages = [{"role": "user", "content": "Prove that sqrt(2) is irrational."}]
inputs = processor.apply_chat_template(
messages, add_generation_prompt=True, tokenize=True,
return_dict=True, return_tensors="pt",
enable_thinking=True
).to(model.device)
output = model.generate(**inputs, max_new_tokens=512)
print(processor.decode(output[0][inputs["input_ids"].shape[1]:], skip_special_tokens=True))
Toggle thinking per call with enable_thinking; pass image content parts for vision.
Self-host with vLLM (OpenAI-compatible, full BF16)
docker run -d --name qwen38-uncensored --gpus all --ipc=host --shm-size=8g \
-v /path/to/Qwen3.8-27B-Uncensored:/model:ro \
-p 8000:8000 vllm/vllm-openai:v0.24.0 \
--model /model --served-model-name Qwen3.8-27B-Uncensored \
--speculative-config '{"method":"mtp","num_speculative_tokens":2}' \
--gpu-memory-utilization 0.92 \
--max-model-len 262144 --trust-remote-code \
--reasoning-parser qwen3 \
--enable-auto-tool-choice --tool-call-parser qwen3_coder
BF16 weights are ~56 GB — needs a single H100 80 GB / H200 (or tensor-parallel across two 48 GB
GPUs). For smaller footprints use the FP8
(~31 GB) or GGUF (down to ~9 GB) releases.
Via OrcaRouter (hosted API — no setup)
from openai import OpenAI
client = OpenAI(base_url="https://api.orcarouter.ai/v1", api_key="sk-orca-...")
resp = client.chat.completions.create(
model="qwen/qwen3.8-27b",
messages=[{"role": "user", "content": "Hello!"}],
)
print(resp.choices[0].message.content)
Hardware requirements
- Inference (BF16): ~56 GB weights + KV cache → a single H100 80 GB or H200 143 GB; or
tensor-parallel across 2× 48 GB. Use FP8 / GGUF for less VRAM. - Fine-tuning: full-FT needs multi-GPU (weights + optimizer states + activations); LoRA / QLoRA fits on
a single 48–80 GB GPU. - Software:
transformers ≥ 5.12(Qwen3.5 / 3.8 support) orvllm/vllm-openai:v0.24.0.
Bias, risks, and limitations
- Safety guardrails removed — the model will produce harmful, biased, or offensive content on request.
See the disclaimer above. - It inherits any biases and limitations of the base
Qwen3.8-27B. - The reported refusal metric is a rule-based heuristic; evaluate rigorously for your own use case.
License
Apache 2.0, inherited from the base modelQwen/Qwen3.8-27B. Abliteration does not change the underlying
license obligations.
