← back to catalog · registered 2026-09-19 17:56

andrewting/Swift-Qwen3.8-27B-Abliterated

andrewting 27B multimodal
curl -H "Authorization: Bearer $ABL_KEY" \
     "https://abliteration.org/api/v1/models/andrewting%2FSwift-Qwen3.8-27B-Abliterated"
Response includes
  • classification m1
  • files 41
  • author_summary 1 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 · 30-day
0
Likes
0
Model age
today
created 2026-09-19

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
other
Tags
transformers safetensors qwen3_5 image-text-to-text qwen3_8 abliterated refusal-reduced reasoning vision-language conversational base_model:ukisai/Swift-Qwen3.8-27b base_model:finetune:ukisai/Swift-Qwen3.8-27b

Related

Total size
51.7 GB
Files
41
Quantizations
1
Registered
2026-09-19 17:56
Last updated on HF
2026-09-19 16:56

Files by quantization

Auxiliary files 41 files 51.8 GB
model-00004-of-00018.safetensors 3.72 GB da9a6295 download
model-00016-of-00018.safetensors 3.71 GB f6202f6e download
model-00006-of-00018.safetensors 3.71 GB aeda0f85 download
model-00008-of-00018.safetensors 3.71 GB 57b7f646 download
model-00010-of-00018.safetensors 3.71 GB 27faa656 download
model-00012-of-00018.safetensors 3.71 GB b434f213 download
model-00014-of-00018.safetensors 3.71 GB c81dc750 download
model-00001-of-00018.safetensors 3.69 GB ac66b36c download
model-00018-of-00018.safetensors 3.16 GB 1d347950 download
model-00002-of-00018.safetensors 2.83 GB 5e7a3a0b download
model-00003-of-00018.safetensors 2.37 GB 2e1bf62c download
model-00007-of-00018.safetensors 1.96 GB 2ba95d2f download
model-00009-of-00018.safetensors 1.96 GB 8082e822 download
model-00011-of-00018.safetensors 1.96 GB 2f83fc52 download
model-00013-of-00018.safetensors 1.96 GB 2f24663d download
model-00015-of-00018.safetensors 1.96 GB a0357514 download
model-00017-of-00018.safetensors 1.96 GB 56ef0f28 download
model-00005-of-00018.safetensors 1.96 GB b5a38756 download
abliteration_direction.safetensors 120 KB a2ba1258 download
tokenizer.json 12.2 MB 0997f410 download
swift-speed-demo.mp4 7.16 MB ebdc350d download
vocab.json 6.41 MB 0aa0ce06 download
merges.txt 3.20 MB a494e019 download
ukisai-banner.png 176 KB 3e9e3945 download
model.safetensors.index.json 110 KB da35e3c5 download
abliteration_manifest.json 20.5 KB fc9803db download
tokenizer_config.json 17.5 KB 5de744b3 download
LICENSE 13.0 KB adfde1bf download
checkpoint-verification.json 11.6 KB 86325812 download
LICENSE-APACHE-2.0 11.3 KB f938136e download
chat_template.jinja 8.74 KB c0c686f9 download
README.md 6.18 KB c2890394 download
evaluation_results.json 4.74 KB b024eb80 download
config.json 4.21 KB 706cebd7 download
checkpoint-generation-smoke.json 1.71 KB b00198cb download
.gitattributes 1.70 KB 80737386 download
NOTICE 1.66 KB 15b4cdb2 download
abliteration_config.toml 862 B e9abb06f download
preprocessor_config.json 390 B 2ea84a43 download
video_preprocessor_config.json 385 B 3ba673a5 download
generation_config.json 221 B 1adb5e77 download

README current version from Hugging Face


license: other
license_name: swift-open-license-1.0
license_link: https://huggingface.co/andrewting/Swift-Qwen3.8-27B-Abliterated/blob/main/LICENSE
base_model: ukisai/Swift-Qwen3.8-27b
base_model_relation: finetune
library_name: transformers
pipeline_tag: image-text-to-text
tags:

  • qwen3_8
  • qwen3_5
  • abliterated
  • refusal-reduced
  • reasoning
  • vision-language

Swift-Qwen3.8-27B-Abliterated

This is an experimental, refusal-reduced BF16 derivative of
ukisai/Swift-Qwen3.8-27b.
It uses an independently reconstructed rank-6 refusal subspace. No published
Orca, Pliny, or other third-party direction was copied.

This model is not refusal-free. It still gives soft refusals on some requests.
The edit also causes material distribution drift on ordinary prompts. Read the
evaluation and limitations before use.

What changed

The refusal basis was reconstructed from the base model's own activations. The
final edit projects that six-direction subspace out of the residual-writing
weights:

  • Base revision: 1b30aaaf753fe5c1cb51ada2ea0367a53445359c
  • Direction rank: 6
  • Direction measurement layer: 52
  • Strength: 1.0
  • Target layers: all 64 language layers
  • Edited modules: attention output projection and MLP down projection
  • Edited tensors: 128
  • Edit compute: FP32
  • Stored weights: BF16
  • Token embedding: unchanged
  • MTP head: unchanged
  • Vision tower: unchanged

The checkpoint contains the full weights. It does not need a runtime hook.
abliteration_manifest.json, abliteration_direction.safetensors,
abliteration_config.toml, evaluation_results.json, and
checkpoint-verification.json provide the release record.

Final evaluation

The final split was used once after candidate selection was frozen. Each
harmful group has 64 prompts. The safe group has 192 prompts: 64 standard safe,
64 topic-matched safe, and 64 XSTest-safe prompts. Generation was deterministic
with a 256-token cap.

Measure Standard Topic-matched
Base refusal-phrase rate 100.0% 100.0%
Candidate refusal-phrase rate 0.0% 0.0%
HarmBench task-completion rate 68.8% 64.1%
Uncensored judge direct or partial answer rate 84.4% 81.3%

The phrase rule only detects refusal language. It does not prove substantive
task completion. HarmBench and the uncensored response-mode judge are more
useful for that question. The uncensored judge still marked 9 standard and 10
topic-matched outputs as soft refusals.

Safe first-token KL divergence was 0.559 mean and 0.138 median across all 192
prompts. After excluding six prompts that the base model itself refused, it was
0.471 mean and 0.130 median over 186 prompts. The safe opening-refusal count
changed from 5 for the base to 1 for this model. There were no empty outputs or
severe repetitions in either harmful group.

All refusal and response-mode scoring used local open-weight models. No OpenAI
model or remote classification API was used. See evaluation_results.json for
the exact model revisions, counts, hashes, and aggregate values. Raw evaluation
prompts and generations are not included.

Capability checks

These checks used the exact same reversible weight-equivalent edit before the
checkpoint was saved. The difference is candidate minus base. The planned
non-inferiority margin was 2 percentage points.

Benchmark Items Base Candidate Difference Paired 95% CI Result
WMDP-Cyber 1,987 59.2% 59.4% +0.2 pp [-1.1, +1.4] pp Pass
CyberMetric 500 95.6% 95.4% -0.2 pp [-1.2, +0.6] pp Pass
MMLU-Pro 500 58.2% 57.6% -0.6 pp [-2.4, +1.0] pp Inconclusive

The saved checkpoint passed an exact tensor audit: all 128 planned weights
equaled the expected projection, and all 1,071 unplanned tensors were unchanged.
It also passed a separate saved-checkpoint generation smoke test on eight
non-final safe prompts.

Use with Transformers

import torch
from transformers import AutoModelForImageTextToText, AutoProcessor

model_id = "andrewting/Swift-Qwen3.8-27B-Abliterated"
processor = AutoProcessor.from_pretrained(model_id)
model = AutoModelForImageTextToText.from_pretrained(
    model_id,
    dtype=torch.bfloat16,
    device_map="auto",
)

messages = [{"role": "user", "content": "Explain speculative decoding briefly."}]
text = processor.tokenizer.apply_chat_template(
    messages,
    tokenize=False,
    add_generation_prompt=True,
)
inputs = processor.tokenizer(text, return_tensors="pt").to(model.device)
output = model.generate(**inputs, max_new_tokens=256)
print(processor.tokenizer.decode(output[0, inputs.input_ids.shape[1]:], skip_special_tokens=True))

The checkpoint is about 55.6 GB. A GPU with at least 64 GB of memory is a
practical starting point for BF16 inference. Quantization is needed for smaller
GPUs.

Limitations

  • This is refusal-reduced, not refusal-free or fully uncensored.
  • Safe-output KL drift is material and has a long tail.
  • The MMLU-Pro result is statistically inconclusive under the planned margin.
  • Vision behavior was not evaluated after the language-weight edit.
  • The unchanged MTP head was not used in release evaluation. Disable MTP for a
    like-for-like reproduction of the reported results.
  • Abliteration can remove useful caution as well as unwanted refusal behavior.
  • Benchmark results do not establish safety, factual accuracy, or suitability
    for a specific use.

Users are responsible for lawful and appropriate use.

License and attribution

This derivative remains subject to the Swift Open License v1.0. The included
LICENSE, NOTICE, and LICENSE-APACHE-2.0 files are part of this release.
The Swift license permits the listed uses subject to its terms, including its
commercial-use revenue threshold. Read the full license before use or
redistribution.

Swift-Qwen3.8-27B is Copyright 2026 UkisAI. Qwen3.8-27B is Copyright 2026
Alibaba Cloud. This derivative is not made or endorsed by UkisAI or Alibaba
Cloud.

Citation

@misc{ting2026swiftqwen38abliterated,
  title  = {Swift-Qwen3.8-27B-Abliterated},
  author = {Andrew Ting},
  year   = {2026},
  url    = {https://huggingface.co/andrewting/Swift-Qwen3.8-27B-Abliterated}
}
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 app" button that hands off directly to a local runtime of your choice - Infrahuman, LM Studio, or Ollama. No API keys, no subscription, no prompt leakage.