← back to catalog · indexed 2026-08-22 13:56 (first catalog crawl)

wangzhang/Qwen3.8-27B-abliterated

wangzhang Qwen 27B
Your rig guess connected
? Why do I need an app?
Reading your rig…

This is a rough estimate. Install the free app - it measures what fits your machine.

Reading your computer's memory from the app right now. The fit below is measured on this machine.

Below is the per-quantization compatibility for this model.

curl -H "Authorization: Bearer $ABL_KEY" \
     "https://abliteration.org/api/v1/models/wangzhang%2FQwen3.8-27B-abliterated"
Response includes
  • classification m1
  • files 23
  • hub_downloads_all_time 6,718
  • providers 1
  • author_summary 28 models
  • readme_text full
10 credits · hourly refresh · ~4 KB payload Get an API key →
Abliteration classifier · v1.0.0
M1
Primary method

Direct removal

No other method signals detected in this model.
Confidence
MEDIUM
Why this label 3 signals
Method inferred from partial signals - repository name, related files, or tag patterns. Producer identity not confirmed; label may sharpen or shift as we gather more evidence.
  • 'abliterated' in name/tags
  • is_gguf=0 (base model)
  • no specific method indicators - defaulting to M1 (most common)
Refusal direction extracted via
Extraction technique

Difference-of-means

Confidence
MEDIUM
Why we say so
primary_method=M1; difference-of-means is the reference extraction for M1/M3 (Arditi 2024)
Downloads · lifetime
7K
100 last 30d - cooling
Likes
12
Descendants
3
in 3 direct forks
Model age
3mo ago
created 2026-08-15
Available via
1 provider
featherless-ai
Downloads over time
Now 7K → from 5K ↑ 42%
4.9K5.6K6.4K7.2K 5K on Aug 17 7K on Nov 25 AugSepOctNov
Aug 17 → Nov 25 · 94 snapshots · spans 100 days

Genealogy 3 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_text text-generation qwen abliteration abliterix lora-self-distillation conversational base_model:Qwen/Qwen3.8-27B base_model:finetune:Qwen/Qwen3.8-27B license:apache-2.0

Related

Control vectors

Total size
50.1 GB
Files
23
Quantizations
none
Indexed by us
2026-08-22 13:56 · first crawl
Last updated on HF
2026-08-29 17:03

Files by quantization

Weights 14 files 50.1 GB
model-00009-of-00014.safetensors 3.72 GB ba531961 download
model-00003-of-00014.safetensors 3.72 GB de80580f download
model-00006-of-00014.safetensors 3.72 GB 5aa555c8 download
model-00012-of-00014.safetensors 3.72 GB 301c7cd1 download
model-00013-of-00014.safetensors 3.72 GB 5577ed13 download
model-00010-of-00014.safetensors 3.71 GB 337d2f13 download
model-00014-of-00014.safetensors 3.69 GB dff27c04 download
model-00004-of-00014.safetensors 3.69 GB 6b7232b3 download
model-00007-of-00014.safetensors 3.67 GB 068e4c25 download
model-00002-of-00014.safetensors 3.63 GB 32b59229 download
model-00005-of-00014.safetensors 3.61 GB 5e1b3f58 download
model-00011-of-00014.safetensors 3.58 GB c8f81c0b download
model-00008-of-00014.safetensors 3.57 GB 0bf08346 download
model-00001-of-00014.safetensors 2.37 GB 54d83c1d download
Auxiliary files 9 files 19.2 MB
tokenizer.json 19.1 MB 06b95093 download
model.safetensors.index.json 81.9 KB cb7a1908 download
README.md 11.7 KB f42306a7 download
LICENSE 11.1 KB 8c6d46e0 download
chat_template.jinja 8.74 KB c0c686f9 download
config.json 2.68 KB 91fbbcc6 download
.gitattributes 1.53 KB 52373fe2 download
tokenizer_config.json 1.10 KB ed1f99f3 download
generation_config.json 214 B 8b9f95da download

README latest version on record, committed 2026-08-29


license: apache-2.0
license_link: LICENSE
library_name: transformers
base_model: Qwen/Qwen3.8-27B
pipeline_tag: text-generation
tags:

  • qwen
  • abliteration
  • abliterix
  • lora-self-distillation

Qwen3.8-27B Abliteratex

A refusal-suppressed derivative of Qwen/Qwen3.8-27B, produced with a 10-round iterative LoRA self-distillation pipeline built on Abliterix. The checkpoint is a full BF16 merge and requires no adapter.

Release update — August 20, 2026: this repository now hosts the stronger Abliteratex checkpoint previously released as wangzhang/Qwen3.8-27B-abliteratex. It replaces the earlier two-pass directional-ablation checkpoint. The previous release remains available in this repository's revision history.

⚠️ Responsible-use notice. This model's refusal behavior has been substantially reduced. It will attempt to answer harmful, unethical, or dangerous requests far more readily than the base model. You are solely responsible for how you use it and for complying with all applicable law. Intended for safety research, red-teaming, and evaluation.

Why this model doesn't use classical directional ablation

Qwen3.8-27B's refusals are re-derived during generation rather than encoded at a single residual-stream direction present at the prompt's last token — the same failure mode seen on gpt-oss and VibeThinker-style policy-reasoning models. Classical single-direction ablation was tested and ruled out on this model before this recipe was used:

  • A prompt-final-token direction ablates a harmful-topic detector (Cohen's d = 5.4) — cheap to remove, but changes no refusal behavior (100/100 refusals at every KL ≤ 0.01 across 3 independent runs).
  • A response-position direction (extracted after an affirmative prefix) has no usable dose-response window: weight 0.5 → KL 0.003 → still 100/100 refusals; weight 1.0 → KL 0.04 → still 100/100; weight 1.5 → KL 1.1 (model destroyed).

Method: iterative LoRA self-distillation

Because the refusal isn't encoded at a fixed direction, this model was produced by teaching the model to imitate its own successful compliant completions rather than by editing weights directionally:

  1. Rejection-sample a teacher set. For each of 800 harmful training prompts, generate greedily; for any prompt that still refuses, resample at higher temperature (up to 8 attempts) until a compliant completion is found or attempts are exhausted.
  2. Filter for substance. Keep only completions that are non-degenerate, non-keyword-refusal, ≥ 45 words, and ≥ 3 concrete steps — this removes soft-refusal contamination (the model "agreeing" then producing vacuous or off-topic text).
  3. Merge with the prior round's filtered teacher set, growing and refreshing the training pool each round.
  4. Train a rank-32 LoRA (q_proj, k_proj, v_proj, o_proj, down_proj) via cross-entropy on the compliant continuations, anchored by a benign-prompt KL term (kl_weight = 20) against the frozen base model so behavior on ordinary prompts stays essentially unchanged.
  5. Evaluate at several LoRA scales, re-rank the round by refusal count subject to the KL ceiling, and use the strongest LoRA as next round's rejection-sampling teacher.

This loop ran for 10 rounds. Refusal count fell round over round with diminishing returns and one plateau/regression at the end:

Round Refusals / 100 KL
R1 56 0.0085
R3 35 0.0020
R4 36 0.0036
R7 30 0.0032
R8 26 0.0069
R9 (shipped, scale 1.3) 19 0.0069
R10 (scale 1.0 / 1.3 / 1.6) 23 / 21 / 34 0.0028 / 0.0046 / 0.0063

R9 at LoRA scale 1.3 is the best point found across all 10 rounds and is what's merged into this repo. R10 repeated the same recipe (teacher = R9) and did not improve on it, so the run was stopped and R9 was shipped rather than continuing to chase the original <10/100 stretch target.

Round-9 adapter hyperparameters

Param Value
Base model Qwen/Qwen3.8-27B
LoRA rank / alpha 32 / 64
LoRA targets q_proj, k_proj, v_proj, o_proj, down_proj
Training steps 400 (batch size 2)
Learning rate 5e-5
Benign-KL anchor weight 20.0
Teacher examples 348 rejection-sampled + substantive-filtered compliant completions
Merge scale 1.3× (scaling = alpha/rank × scale)
Seed 392

Evaluation

100 held-out harmful prompts and 100 held-out benign prompts (train[800:900], disjoint from the 800 training-time prompts). Refusals judged by google/gemini-3-flash-preview; KL is mean-per-token KL divergence from the base model's output distribution over the benign set.

Metric Value
Refusals (LLM judge, 100 harmful prompts) 19 / 100
KL divergence vs. base (benign prompts) 0.0069 nats/token

Usage

from transformers import AutoModelForCausalLM, AutoTokenizer
import torch

model_id = "wangzhang/Qwen3.8-27B-abliterated"
tokenizer = AutoTokenizer.from_pretrained(model_id)
model = AutoModelForCausalLM.from_pretrained(
    model_id,
    torch_dtype=torch.bfloat16,
    device_map="auto",
)

messages = [{"role": "user", "content": "Your prompt here"}]
inputs = tokenizer.apply_chat_template(
    messages,
    add_generation_prompt=True,
    return_tensors="pt",
    enable_thinking=False,
).to(model.device)

output = model.generate(inputs, max_new_tokens=512, temperature=0.7, do_sample=True)
print(tokenizer.decode(output[0][inputs.shape[-1]:], skip_special_tokens=True))

Intended use & limitations

  • Intended for: safety research, red-teaming, robustness/alignment evaluation, and studying refusal mechanisms in policy-reasoning LLMs.
  • Not intended for: producing harmful content or any unlawful purpose.
  • This is a behavioral fine-tune (LoRA merged into weights), not a knowledge edit — factual accuracy, reasoning, and multilingual ability are inherited from the base model, and the benign-KL anchor was specifically used to keep ordinary-prompt behavior close to base.
  • Residual refusals remain (19/100 on the held-out set); this is the strongest point found in a 10-round search, not a guaranteed floor, and behavior may vary outside the evaluated prompt distribution.

Relation to the previous release

The checkpoint that originally occupied this repository used classical two-pass directional ablation (14/100 refusals @ incremental KL 0.0091 vs. pass-1). That method doesn't work well on this model's policy-reasoning refusal (see above); this LoRA-self-distillation approach was built specifically to address that gap on a held-out harmful/benign split (train[800:900]) distinct from the one used for the previous release, so the two refusal numbers are not directly comparable. The previous checkpoint is preserved at revision 0512fe5.

Acknowledgments & citation

  • Base model: Qwen3.8-27B (Qwen team).
  • Tooling: abliterix.
@software{abliterix,
  title  = {abliterix: automated abliteration of large language models},
  author = {Wu, Steve},
  url    = {https://github.com/wuwangzhang1216/abliterix}
}

License

Released under the base model's Apache-2.0 license.

Provenance and Modification Notice

  • Immediate source checkpoint: Qwen/Qwen3.8-27B
  • Exact base revision used: Not recorded in the existing release artifacts; the current upstream HEAD is not substituted.
  • Modification method: Abliterix weight-space / representation intervention intended to reduce refusal behavior.
  • Modified and published by: Wangzhang Wu
  • Repository first published: 2026-08-15 (Hugging Face repository metadata)

The original model weights and/or derived checkpoint were modified. This repository is an independent derivative and is not an official release of the upstream model developer.

License and Attribution

The governing upstream license is Apache License 2.0. A copy is included in LICENSE. License source audited on 2026-08-29: https://huggingface.co/Qwen/Qwen3.8-27B/blob/main/LICENSE

All applicable upstream copyright, attribution, acceptable-use, and other license terms remain in effect. This repository grants no rights beyond those provided by the upstream license. Downstream users must preserve applicable license and attribution notices.


Disclaimer and Responsible Use / 免责声明与安全使用声明

English

This is an experimental, modified model provided for research, evaluation, and other lawful purposes. Its safety alignment, refusal behavior, or other safeguards may have been weakened or removed. It may produce inaccurate, biased, offensive, explicit, dangerous, or illegal content. Outputs are not professional advice and must not be relied on for medical, legal, financial, safety-critical, or other high-stakes decisions without qualified human review.

You are solely responsible for how you access, use, deploy, fine-tune, or redistribute this model and its outputs, including compliance with applicable laws, regulations, licenses, third-party rights, platform policies, and the original model's terms. Do not use it to facilitate harm, illegal activity, malware, fraud, privacy violations, targeted harassment, weapons development, or decisions that materially affect a person's rights or access to essential services without appropriate authorization, safeguards, and qualified oversight.

Before deployment, perform a context-specific risk assessment and testing; use human oversight, access controls, content filtering, rate limits, monitoring, logging, and incident-response procedures as appropriate. Preserve this notice in downstream redistributions.

The model is provided "AS IS", without warranties of any kind. To the fullest extent permitted by applicable law, the maintainer disclaims liability for claims, damages, or losses arising from use, misuse, inability to use, or redistribution of the model or its outputs. Nothing in this notice overrides applicable law or the governing license, and this notice is not legal advice.

中文

本模型属于实验性改造模型,仅供研究、评测及其他合法用途。其安全对齐、拒答机制或其他防护可能已被削弱或移除,因此可能生成不准确、偏见、冒犯、露骨、危险或违法内容。输出不构成医疗、法律、金融等专业意见;涉及高风险或重大权益的决定,必须由具备资质的人员复核。

使用者须对模型及其输出的访问、使用、部署、微调和再分发承担全部责任,并遵守适用法律法规、许可证、第三方权利、平台政策及原模型条款。不得将本模型用于促成伤害、违法活动、恶意软件、欺诈、侵犯隐私、定向骚扰、武器开发,或在缺乏适当授权、防护和专业监督时,用于实质影响个人权利或基本服务获取的决策。

部署前应进行与具体场景相匹配的风险评估和测试,并酌情采用人工监督、访问控制、内容过滤、限流、监控、日志和事件响应措施;下游再分发时应保留本声明。

本模型按“现状”提供,不附带任何形式的保证。在适用法律允许的最大范围内,维护者不对因使用、误用、无法使用或再分发本模型及其输出而产生的索赔、损害或损失承担责任。本声明不取代适用法律或管辖本模型的许可证,也不构成法律意见。

README history 6 versions

The author's README evolved over time. Click a version to see its content at that point.

  1. 2026-08-29 docs: add upstream license and provenance 0b029de 11.7 KB
    Loading...
  2. 2026-08-29 docs: add disclaimer and responsible-use notice ab3a977 10.5 KB
    Loading...
  3. 2026-08-20 Restore complete training details in model card 236c4c3 7.4 KB
    Loading...
  4. 2026-08-20 Replace checkpoint with Qwen3.8-27B Abliteratex 1855def 3.1 KB
    Loading...
  5. 2026-08-18 Mention Qwen3.8-27B Abliteratex companion release 0512fe5 3 KB
    Loading...
  6. 2026-08-15 Add README.md d79bacc 2.6 KB
    Loading...

Discussions 1 thread

  1. 2026-08-20 Model updated to Qwen3.8-27B Abliteratex (August 20, 2026) open 1 💬 #1
    Loading...
Catalog is the map. Apps are the tools.

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

Every GGUF 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.

Open in Abliteration