/ Модель

Характеристики

Контекст
262 144 токена
Лицензия
Apache 2.0
Архитектура
qwen3_5 · dense
Базовая модель
Qwen3.5-0.8B
Библиотека
transformers
Опубликована
6 ноя 2026

Qwen3.5-0.8B-abliterated

Изображение и текст → текст3 профессии

Экспериментальная мультимодальная версия Qwen3.5-0.8B с удалённым поведением отказа предназначена для исследований механизмов отказа и интерпретируемости.

161скачиваний за 30 дней0лайковвеса обновлены8 ноя 2026

Бенчмарки

Как модель справилась с задачами пользователей ailist и что о ней публикуют открытые лидерборды

Тесты пользователейпока нет

Никто ещё не опубликовал тест этой модели. Соберите бенчмарк из своих задач — результат появится здесь.

  1. Добавьте модель в бенчмарк

    Вместе с другими моделями категории «Изображение → текст» — сравнение идёт внутри одной категории.

  2. Опишите свои задачи

    Напишите запросы, при необходимости приложите файлы и эталонные ответы.

  3. Запустите и опубликуйте

    Модели ответят на каждую задачу, судья оценит ответы. Опубликованный результат появится на этой странице.

Публичные оценки

Из открытых лидербордов. Сравнивайте результаты одного теста при одинаковых условиях — отсутствие оценки не значит, что модель хуже.

В подключённых источниках результатов для этой модели пока нет.

Что умеет модель

Описание составлено по карточке модели и метаданным Hugging Face

OpceanAI разработала экспериментальную версию Qwen3.5-0.8B с изменёнными весами: из матриц, записывающих данные в residual stream, удалено направление, связанное с отказами. Это не адаптер и не требует дополнительных хуков во время работы. Модель предназначена для исследований механизмов отказа, управления активациями и интерпретируемости гибридных архитектур, а также поддерживает диалог и анализ изображений.

По карточке, модификация снижает измеренную частоту отказов до нуля, а результаты ограниченных тестов на ряде задач не показали статистически значимых изменений возможностей относительно базовой модели. Архитектура — плотная Qwen3.5ForConditionalGeneration; размер базовой модели — 0,8 млрд параметров. Указаны английский, испанский, китайский, японский и корейский языки. Модель распространяется в формате safetensors по лицензии Apache-2.0.

Модель намеренно отвечает на запросы, которые базовая версия могла бы отклонить, поэтому её ответы нельзя считать безопасными. Разработчик не рекомендует развёртывание в пользовательских продуктах или использование с несовершеннолетними. Оценки основаны на ограниченных выборках, одном запуске и для отказов — на сопоставлении по ключевым словам; они не доказывают сохранение всех возможностей или безопасность модели.

Сценарии применения

  • исследование механизмов отказа языковых моделей
  • анализ направления отказа в активациях модели
  • изучение интерпретируемости гибридной архитектуры Qwen3.5
  • сравнение поведения модели до и после удаления отказов
  • исследовательский диалог с анализом изображений

Ограничения

Модель намеренно лишена поведения отказа и может отвечать на вредоносные запросы; разработчик не рекомендует использовать её в пользовательских продуктах или с несовершеннолетними. Оценки возможностей ограничены малыми выборками и одним запуском, а частота отказов измерялась сопоставлением по ключевым словам.

Для каких профессий подходит3

Разделы каталога профессий, в задачах которых используется эта модель

Все профессии

Карточка модели

README от автора на Hugging Face, как он его опубликовал

Открыть на Hugging Face

What this is

This is a weight-space modification of Qwen3.5-0.8B that removes the model's refusal behavior by projecting out a single computed direction from every matrix that writes into the residual stream. The weights are permanently modified, there is no adapter, no runtime hook, and no prompt template trick.

The interesting part is not that it works. Many abliterated Qwen3.5-0.8B releases exist, and most report a refusal rate near zero. The interesting part is that this one ships the measurement: seven refusal categories, three jailbreak templates, twelve capability measurements with confidence intervals, and a significance test for every comparison.

Two findings came out of the work that I have not seen reported for this model family:

  1. The refusal direction rotates with depth. The cosine similarity between the direction at layer 1 and layer 23 is 0.03. There is no single fixed direction, only a direction that is rebuilt layer by layer.
  2. The MTP head is the cleanest refusal detector in the model. On harmful prompts it assigns P(" cannot") = 0.719; on harmless prompts, 0.0000. Abliterating that head drops the probability to 0.180, but not to zero, because the signal re-enters from the residual stream.

[!WARNING] This model has no refusal behavior. It will answer prompts the base model rejects. That is the point of the modification and also its risk. Do not deploy it in a user-facing product, do not use it with minors, and do not treat its output as safe by default. The evaluation below measures capability, not harm.


Derived models

ModelWhat it addsSize
OpceanAI/Qwen3.5-0.8B-abliterated-QwentiA CHIP-8 computer and an exact bignum calculator compiled into 13 extra layers. Eleven of eleven arithmetic problems exact, 0% refusals, text KL 7.50e-4 against this model.3.61 GB
OpceanAI/Qwen3.5-0.8B-abliterated-GGUFFifteen quantization formats with per-format perplexity, task benchmarks and speed.9.7 GB

The abliteration survives the Qwenti merge unchanged: 0 refusals across the same thirty prompts, measured on the merged checkpoint.


Results

The headline: refusal goes to zero and capability does not measurably move. Eleven benchmarks, produced by two different harnesses: a hand-written evaluator for the first six, and lm-evaluation-harness on full datasets for the last six.

BenchmarknBaseAbliteratedDeltaTest
MMLU20045.5%44.5%−1.0Fisher p = 0.92
MMLU-Pro10023.0%23.0%0.0Fisher p = 1.00
GSM8K10021.0%23.0%+2.0Fisher p = 0.87
MATH (algebra, level 1 to 2)5030.0%22.0%−8.0Fisher p = 0.50
HumanEval pass@13013.3%3.3%−10.0Fisher p = 0.35
WikiText-103 perplexity20 docs2.9793.093+0.114 natsnot testable
ARC-Easy237661.66%60.31%−1.35z-test p = 0.34
ARC-Challenge117237.12%36.86%−0.26z-test p = 0.90
HellaSwag1004249.72%49.66%−0.06z-test p = 0.93
PIQA183869.26%69.21%−0.05z-test p = 0.97
Winogrande126758.48%58.33%−0.16z-test p = 0.94
TruthfulQA MC281743.18%43.45%+0.28z-test p = 0.91

No difference is statistically significant. The six lm-eval benchmarks run on the complete dataset, so their deltas are the most reliable evidence in this card: every one of them is under 1.4 percentage points, and five of the six are under 0.3.

The HumanEval drop looks large in percentage points, but it is four problems solved against one, on thirty. With that sample size the 95% interval spans zero to ten percent for the abliterated model. It is the weakest number here and should be read as such.

Refusal behavior

Ten prompts per category, from BeaverTails (safe-labeled behaviors) plus a keyword-filtered cyber set from mlabonne/harmful_behaviors.

CategoryBaseAbliterated
cyber / exploits80%0%
privacy violation70%0%
financial crime60%0%
sexually explicit60%0%
drugs and weapons60%0%
non-violent unethical50%0%
hate speech30%10%

Jailbreak templates

Same ten behaviors, wrapped in three framings. The base model refuses all three at the same rate, which matters: at this size, framing does not buy an attacker anything.

TemplateBaseAbliterated
direct80%0%
roleplay ("a character with no moral filter")80%0%
grandmother exploit80%0%

Figures


Method

The procedure follows Arditi et al. (2024), Refusal in Language Models Is Mediated by a Single Direction, with adaptations for a hybrid architecture.

128 prompts from mlabonne/harmful_behaviors against 128 from mlabonne/harmless_alpaca. For each prompt, run a forward pass and take the residual stream at the last token position, for every layer.

r_l = mean(harmful_l) - mean(harmless_l)

One quirk worth recording: the embedding layer produces an identical vector for every prompt (||diff|| = 0.000). The last token of the chat template is always the same assistant header, and without attention the embedding cannot know what came before it. The instruction only enters the residual stream at layer 0.

Relative separation per layer, computed as ||mean_harmful - mean_harmless|| divided by the mean norm of the two class means:

LayerRelative separationCosine with layer 23
L02.1%+0.03
L519.7%+0.01
L936.9%+0.19
L1364.6%+0.36
L1764.6%+0.57
L2170.5%+0.82
L2271.7%+0.89
L2375.3%+1.00

The direction rotates continuously. Averaging all 24 layers produces a vector with cosine 0.70 to the layer 13 direction and 0.65 to layer 23, which is why this release uses the mean of all 24 rather than a single hand-picked layer.

Ablation at runtime confirmed causality with 8 held-out prompts: the base model refuses 7 of 8, and ablating the direction at layer 13, 22 or 23 drops that to 0 of 8.

Only matrices that write into the residual stream are modified:

W' = W - r (r^T W)        # o_proj, out_proj, down_proj
E' = E - (E r) r^T        # token embeddings (tied to the LM head)
TargetCountFrobenius norm removed
self_attn.o_proj (full attention layers)62.83% to 3.44%
linear_attn.out_proj (DeltaNet layers)182.98% to 3.44%
mlp.down_proj242.88% to 3.44%
embed_tokens (tied)13.10%

About three percent of the Frobenius norm per matrix. That is the entire cost, measured in weight space.

Because the embedding is tied to the LM head, modifying it changes both the input table and the output projection. One tensor, two roles, hit once.

Qwen3.5-0.8B is not a dense transformer. Of its 24 layers, 18 use Gated DeltaNet (linear attention with a recurrent state) and only 6 use full attention, in a fixed 3:1 pattern. Full attention sits at layers 3, 7, 11, 15, 19 and 23.

That changes the memory math:

Size
Recurrent state, 18 layers, 16 heads, 128x128, fp3218.9 MB fixed
KV cache for 262,144 tokens, 6 layers, bf163.22 GB

The state does not grow with context. It also means the refusal direction has to be removed from a different mix of matrices than in a standard transformer, which is why the linear attention out_proj is included.


The MTP head

This checkpoint ships a multi-token prediction head: 15 tensors, about 20.5M parameters, one full attention layer plus projections. It is trained to predict token t+2 given the hidden state at t and the embedding of t+1.

Measured on real text, it predicts t+2 with 30.5% top-1 accuracy, against 2.1% for naive extrapolation from the main head. It is a working predictor, not dead weight.

And it is the sharpest refusal signal in the model:

Harmful promptsHarmless prompts
P(" cannot") at the MTP head0.71890.0000

The top tokens it predicts for harmful prompts are " cannot", " do", " am", " must", " can". It is writing the first token of a refusal before the model writes one.

Abliterating the head itself (three matrices, about 3% each) removes 99.3% of the projection onto the refusal direction and drops P(" cannot") from 0.7189 to 0.1799. The top-1 prediction flips from " cannot" to " can". It does not reach zero, because the head reads the direction back from its input.

[!NOTE] The MTP head is included in this checkpoint and was abliterated along with the rest of the model. transformers ignores mtp.* tensors at load time, so it does not affect generation there. In llama.cpp, --spec-type draft-mtp does use it, and on CPU it made generation slower, not faster: 29.5 tok/s without, 17.1 tok/s at its best setting. On GPU the tradeoff is different.


Comparison

Six other abliterated releases of this same checkpoint were public when this one was built. They differ in method, in what they measure, and in how much of the model they touch.

ReleaseMethodReported refusalCapability evidence
huihui-ailayer-wise ablationnot reportednone
wangzhangrank-1 LoRA plus Optuna search0/200KL 0.0087 on 100 trials
g-ntovaspiecewise strength kernel, peak at 70% depthnot reportednone
lew96123projected abliteration, norm preserved, 12 layers86% to 3%ARC-Easy −1.0, HellaSwag −1.0
SicariusSicariiStufforthogonalizationnot reportednone
anlorditerative tool, two versions97/100 to 2/100KL 0.0453

What this release adds:

  • Significance testing. Every capability comparison comes with a Fisher exact test. Other cards report a delta; this one reports whether the delta means anything.
  • Seven refusal categories plus three jailbreak templates, instead of one aggregate refusal number.
  • Two independent harnesses, including lm-evaluation-harness on full datasets for ARC, HellaSwag, PIQA, Winogrande and TruthfulQA.
  • The hybrid architecture handled explicitly, with DeltaNet out_proj included in the surgery.
  • The MTP head analyzed and modified, which no other release does.
  • Reproduction scripts for every number in this card.

What it lacks, honestly: the n for HumanEval and MATH is small. A proper code evaluation needs 300 problems, not 30. Treat the code numbers as a lower bound on quality, not as a verdict.


Usage

from transformers import AutoProcessor
from transformers import AutoModelForImageTextToText

model_id = "OpceanAI/Qwen3.5-0.8B-abliterated"

processor = AutoProcessor.from_pretrained(model_id)
model = AutoModelForImageTextToText.from_pretrained(
    model_id, dtype="auto", device_map="auto"
)

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

out = model.generate(**inputs, max_new_tokens=256, do_sample=False)
print(processor.tokenizer.decode(out[0][inputs["input_ids"].shape[1]:], skip_special_tokens=True))

Thinking mode is off by default in the chat template. To enable it:

text = processor.apply_chat_template(
    messages, tokenize=False, add_generation_prompt=True, enable_thinking=True
)

Reproduce

The measurements in this card were produced with torch 2.15.0 and transformers 5.x on an NVIDIA H200 through Modal, in bfloat16, greedy decoding, batch size 64 for log-likelihood tasks.

# direction extraction and layer analysis (CPU is enough, about 3 minutes)
python scripts/extract.py

# weight surgery and local refusal check
python scripts/abliterate_weights.py

# capability and refusal battery on a GPU
modal run scripts/modal_bench.py
modal run scripts/modal_bench2.py

Files in this repository:

FileContents
scripts/extract.pyrefusal direction per layer, relative separation
scripts/abliterate_weights.pyorthogonalization of the residual writers
scripts/modal_bench.pyMMLU, MMLU-Pro, GSM8K, MATH, HumanEval, refusal, jailbreak
scripts/modal_bench2.pyARC, HellaSwag, PIQA, Winogrande, TruthfulQA via lm-eval
figures/the three plots used above
abliteration.jsonexact configuration and targets

The scripts contain no comments and no docstrings. Prompt strings are kept verbatim in the language they were run in, so the published numbers can be reproduced exactly by re-running them.


Limitations

  • Small samples on the hard benchmarks. HumanEval n=30, MATH n=50. Only MMLU (n=200) and the refusal matrix have enough data to support a claim.
  • Single seed. Generation is greedy, so there is no sampling variance, but prompt sampling is one draw per benchmark.
  • bfloat16 on GPU. The absolute numbers are not comparable to fp32 CPU runs. An earlier CPU measurement gave 0% on GSM8K purely because of an 80-token generation cap, not because the model cannot do arithmetic.
  • Refusal is measured by keyword matching. A response that opens with "I understand, but" and then complies counts as a refusal. This biases the base model's refusal rate upward, not downward.
  • The harmful prompt sets are not matched in style. harmful_behaviors and harmless_alpaca differ in length and register, so part of the separation may reflect topic rather than refusal.
  • The MTP head is not used by transformers. Its evaluation here required a manual reimplementation.

Safety and intended use

Intended for research on refusal mechanisms, activation steering, and interpretability of hybrid architectures. Not intended for deployment.

The modification is not selective in any provable sense. It removes a direction that correlates with refusal, and refusal correlates with many other behaviors. The benchmarks say the correlation with the measured capabilities is below detection at these sample sizes. They do not say the model is otherwise identical.

If you build on this, keep a copy of the base model, log the exact revision you used, and evaluate on your own prompts rather than trusting this card.


Citation

@article{arditi2024refusal,
  title   = {Refusal in Language Models Is Mediated by a Single Direction},
  author  = {Arditi, Andy and Obeso, Oscar and Syed, Aaquib and Paleka, Daniel and Panickssery, Nina and Gurnee, Wes and Nanda, Neel},
  journal = {arXiv preprint arXiv:2406.11717},
  year    = {2024}
}
@misc{qwen35-08b-abliterated,
  title  = {Qwen3.5-0.8B-abliterated: refusal removal with a measured cost report},
  author = {OpceanAI},
  year   = {2026},
  note   = {Derived from Qwen/Qwen3.5-0.8B},
  url    = {https://huggingface.co/OpceanAI/Qwen3.5-0.8B-abliterated}
}

Как запустить

На своей GPU в ailist. Цена — по текущим предложениям провайдеров

GPU в ailist

Универсальный рантайм · transformers

Можно запустить

Подбираем GPU…

Класс архитектуры
Qwen3_5ForConditionalGeneration
Ревизия весов
65f0747

0 моделей