← back to catalog · registered 2026-09-30 22:58

pekkAi/Qwen3.8-27B-Uncensored-NVFP4-RTX5090

pekkAi 27B multimodal second-order
curl -H "Authorization: Bearer $ABL_KEY" \
     "https://abliteration.org/api/v1/models/pekkAi%2FQwen3.8-27B-Uncensored-NVFP4-RTX5090"
Response includes
  • classification m-uncensored
  • files 17
  • author_summary 11 models
  • readme_text full
10 credits · hourly refresh · ~4 KB payload Get an API key →
Abliteration classifier · v1.0.0
M-U
Primary method

Uncensored (method unknown)

No other method signals detected in this model.
Confidence
LOW
Why this label 3 signals
Weak or ambiguous signals. Best guess based on catalog patterns; treat as tentative and check the evidence below.
  • 'uncensored' in name/tags but no 'abliterated' marker
  • method not identifiable from author declaration alone
  • may be DPO fine-tune, prompt engineering, or unknown technique
Refusal direction extraction

No specific extraction method could be identified for this model. The producer either did not document it or used a proprietary pipeline.

What is a refusal direction? →
Downloads · 30-day
0
Likes
0
Model age
today
created 2026-09-30
Downloads over time
Now0→from0↑0%
00110 on Sep 300 on Oct 1SepOct
Sep 30 → Oct 1 · 2 snapshots · spans 1 day

Genealogy 0 direct forks

Full fork graph →

This model's place in the market. Above: what it was derived from. Below: the tree of everything derived from it.

Metadata

License
apache-2.0
Tags
transformers safetensors qwen3_5 image-text-to-text nvfp4 modelopt uncensored abliterated qwen qwen3 qwen3.8 vision-language

Related

Total size
16.7 GB
Files
17
Quantizations
1
Registered
2026-09-30 22:58
Last updated on HF
2026-09-30 22:24

Files by quantization

Auxiliary files 17 files 16.7 GB
model-00001-of-00002.safetensors 9.35 GB bb43d36a download
model-00002-of-00002.safetensors 7.34 GB 658cf8f5 download
tokenizer.json 12.2 MB 0997f410 download
vocab.json 6.41 MB 0aa0ce06 download
merges.txt 3.20 MB a494e019 download
model.safetensors.index.json 231 KB 5324177c download
README.md 16.9 KB a54eaed7 download
config.json 14.6 KB f4d21c70 download
LICENSE 11.3 KB f938136e download
hf_quant_config.json 9.76 KB 884023ec download
chat_template.jinja 8.74 KB c0c686f9 download
.gitattributes 1.53 KB 52373fe2 download
processor_config.json 1.16 KB 33818c7f download
tokenizer_config.json 1.12 KB c240896a download
preprocessor_config.json 390 B 2ea84a43 download
video_preprocessor_config.json 385 B 3ba673a5 download
generation_config.json 214 B 8b9f95da download

README current version from Hugging Face


license: apache-2.0
tags:

  • nvfp4
  • modelopt
  • uncensored
  • abliterated
  • qwen
  • qwen3
  • qwen3.8
  • vision-language
  • blackwell
    library_name: transformers
    pipeline_tag: image-text-to-text
    base_model:
  • orcarouter/Qwen3.8-27B-Uncensored
    base_model_relation: quantized

pekkAi/Qwen3.8-27B-Uncensored-NVFP4-RTX5090

NVFP4 (W4A4) quantization of orcarouter/Qwen3.8-27B-Uncensored, made with Model-Optimizer 0.47.0rc0. The weights are 16.7 GiB (the BF16 original is 52 GB), sized to fit a single 32 GB Blackwell card like an RTX 5090 while leaving as much VRAM as possible for context. It follows the same layout as gittensor-model-hub/Qwen3.8-27B-NVFP4-RTX5090 (NVFP4 lm_head, no MTP head), applied to the uncensored model.

What's different from a standard NVFP4 export

This model Typical ModelOpt NVFP4
Linear layers NVFP4 W4A4, group size 16 same
lm_head NVFP4 BF16
KV cache FP8 FP8
MTP (speculative decoding) head removed kept, BF16
Vision tower BF16 BF16
Calibration 512 image-text samples, seq len 512 text only

lm_head is quantized. ModelOpt leaves lm_head in BF16 by default. With a 248K vocabulary it takes 2.37 GiB on its own, more than any single decoder layer. In NVFP4 it's 0.67 GiB.

The MTP layer is gone. Qwen3.8 ships one multi-token-prediction layer for speculative decoding. I removed its weights (0.79 GiB) and set mtp_num_hidden_layers: 0, so MTP speculative decoding isn't available with this checkpoint. Use the DSpark drafter below instead; it's faster than the built-in MTP head anyway.

Together these free about 2.5 GiB of VRAM. With FP8 KV cache this model uses about 32 KiB per token (16 full-attention layers × 4 KV heads × 256 head dim; the other 48 layers are linear attention and don't grow with context), so the saving is worth about 80K extra tokens of context on the same card.

The vision encoder (model.visual*), embeddings, and the small linear-attention projections (conv1d, in_proj_a, in_proj_b) stay in BF16.

Speculative decoding: use DSpark

This model pairs well with the gittensor-model-hub/Qwen3.8-27B-DSpark-NVFP4 drafter (1.3 GB) in SGLang. The drafter was trained against the censored Qwen3.8-27B, but in my testing the accept length holds up on this uncensored model too, so you keep the speedup without giving back the VRAM the MTP head used.

Smoke test

MMMU-Pro, 50 examples, single-shot, served with SGLang:

Checkpoint Score
This model 92%
Earlier NVFP4 export (BF16 lm_head, text-only calibration) 78%

50 examples is only enough to show the model isn't broken (±~5 points of noise); it isn't a real benchmark.


Original Model Card

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

Run via API API endpoint Website Model Catalog Model Card License BF16 262K context Vision-Language MTP

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-27B would 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 official
Qwen/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) or vllm/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 model
Qwen/Qwen3.8-27B. Abliteration does not change the underlying
license obligations.

Catalog is the map. Apps are the tools.

Run models on your own machine, not in the cloud.

Every model page has an "Open in Abliteration" button that hands the model directly to the first-party desktop client, at the quantization your rig can actually run. No API keys, no subscription, no prompt leakage.