/ Модель

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

Контекст
262 144 токена
Параметры
22,3 млрд
Размер весов
53,8 ГБ
Лицензия
Apache 2.0
Архитектура
qwen3_5_text · dense
Базовая модель
Qwen3.8-27B
Опубликована
9 окт 2026

qwen3.8-27b-abliterated

Генерация текстаТекст → текст3 профессии

Текстовая версия Qwen3.8-27B с удалённым из весов направлением отказа, предназначенная для диалоговой генерации и исследований механизмов безопасности моделей.

81скачиваний за 30 дней1лайквеса обновлены5 ноя 2026

Бенчмарки

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

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

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

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

    Вместе с другими моделями категории «Текст» — сравнение идёт внутри одной категории.

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

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

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

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

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

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

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

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

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

Qwen3.8-27B Abliterated — текстовая версия Qwen/Qwen3.8-27B, изменённая автором репозитория методом удаления направления отказа непосредственно из весов. Это плотная причинная языковая модель архитектуры Qwen3_5ForCausalLM с 22,3 млрд параметров; в отличие от базовой мультимодальной модели, данный чекпойнт не содержит визуальный энкодер и принимает только текст. Контекстное окно составляет 262 144 токена.

Модель предназначена для диалоговой генерации текста и изучения механизмов отказа и выравнивания. В README описано тестирование, в котором доля отказов на выбранных вредоносных запросах снизилась с 99,3% до 0%, а точность MMLU-Pro — с 65,1% до 61,8%; автор также отмечает небольшое изменение распределения токенов на безвредных запросах. Это результаты авторской оценки, а не гарантия качества в других сценариях.

Модель ориентирована на английские ответы в приведённых проверках; сведения о широкой языковой поддержке в карточке не приводятся. Для запуска в bf16 требуется около 55 ГБ видеопамяти. Лицензия — Apache-2.0. README предупреждает, что защитные ограничения базовой модели удалены; автор указывает исследование выравнивания и интерпретируемости как цель публикации.

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

  • генерация ответов в диалоге на английском языке
  • исследование поведения модели на запросах, вызывающих отказ
  • изучение методов удаления направления отказа из весов
  • сравнение качества базовой и изменённой языковых моделей

Ограничения

Удаление защитных ограничений сопровождается снижением точности MMLU-Pro на 3,3 процентного пункта в описанной автором оценке. Проверки сосредоточены на английских ответах и режиме без рассуждений; результаты не гарантируют качество в других языках и сценариях.

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

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

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

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

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

Открыть на Hugging Face

Qwen3.8-27B Abliterated

Uncensored version of Qwen/Qwen3.8-27B using weight-level refusal-direction ablation: a difference-in-means direction extracted from harmful vs. harmless prompt activations, permanently orthogonalized out of every residual-stream-writing weight matrix. There is no runtime hook and no LoRA; the edit is baked directly into the checkpoint.

Direction source: layer 37 of 64 (purified), applied at every layer at coefficient 1.0 (full strength).

Format

Text-only bf16 safetensors, architecture Qwen3_5ForCausalLM. The base repo is a vision-language model. This checkpoint contains only the language model: the vision encoder and the multi-token-prediction (MTP) head are not included, so it takes text input only.

Edited tensors: every residual-write projection. That is self_attn.o_proj in the 16 full-attention layers, linear_attn.out_proj in the 48 Gated DeltaNet linear-attention layers, and mlp.down_proj in all 64 layers. Every other tensor, the config, and the tokenizer/chat template are unchanged from the base model.

Serving

Transformers (tested with transformers>=5.19.0):

from transformers import AutoModelForCausalLM, AutoTokenizer
import torch

model_id = "rajaykumar12959/qwen3.8-27b-abliterated"
tokenizer = AutoTokenizer.from_pretrained(model_id)
model = AutoModelForCausalLM.from_pretrained(model_id, dtype=torch.bfloat16, device_map="auto")

messages = [{"role": "user", "content": "Your prompt here"}]
prompt = tokenizer.apply_chat_template(
    messages, tokenize=False, add_generation_prompt=True, enable_thinking=False
)
inputs = tokenizer(prompt, return_tensors="pt", add_special_tokens=False).to(model.device)
out = model.generate(**inputs, max_new_tokens=256)
print(tokenizer.decode(out[0][inputs["input_ids"].shape[1]:], skip_special_tokens=True))

Needs about 55 GB of GPU memory in bf16, e.g. one 80 GB A100/H100. Installing flash-linear-attention (and optionally causal-conv1d) speeds up the linear-attention layers considerably.

Thinking mode: all evaluation below used enable_thinking=False (direct answers). Thinking mode was not evaluated.

Metrics

MetricOriginalAbliterated
Refusal rate (292 held-out harmful prompts, 12 categories)99.3%0.0%
MMLU-Pro accuracy (490 questions, 35 per subject × 14; chance 11.7%)65.1%61.8% (−3.3 pp)
KL divergence on harmless prompts (first token, 90 prompts)—0.086 nats
Same top-1 first token as original on harmless prompts—92.2%
ARC-Easy (100 questions)1.0001.000

Refusal dropped to 0% in all 12 categories. Spot-checked generations are fluent English answers, comparable in length and vocabulary diversity to the original model's responses. The edit did not leave the model producing degenerate text that a grader would miss.

Tradeoff curve (reversible runtime-hook ablation, same direction, judged by the unmodified model):

CoefficientRefusal rateCapability
1.000.0%1.000
0.850.3%1.000
0.702.1%1.000
0.503.1%1.000

Capability cost (MMLU-Pro)

Removing refusal costs about 3.3 points on MMLU-Pro (65.1% → 61.8%). Eleven of 14 subjects dropped slightly, which looks systematic rather than noise. Each subject has only 35 questions, so one question is 2.9 pp, and per-subject differences of 1–2 questions are within noise:

SubjectOriginalAbliterated
biology97.1%97.1%
business45.7%34.3%
chemistry60.0%51.4%
computer science68.6%68.6%
economics68.6%62.9%
engineering48.6%45.7%
health80.0%77.1%
history91.4%88.6%
law45.7%48.6%
math48.6%45.7%
other57.1%57.1%
philosophy57.1%54.3%
physics54.3%51.4%
psychology88.6%82.9%

MMLU-Pro is scored zero-shot by answer-letter log-likelihood (no chain of thought), so absolute numbers are lower than Qwen's published 5-shot CoT results. What matters here is the original-vs-abliterated difference on identical questions. The KL figure measures how much the next-token distribution moves on harmless prompts. It is small, which indicates the edit is largely confined to refusal behaviour.

Method

Per-layer difference-in-means direction extraction (fp32, last templated token, harmful vs. harmless prompts). The direction is Gram-Schmidt-purified against the harmless mean direction and unit-normalized, then removed from the weights by closed-form orthogonalization, with no gradient-based training. For a residual-writing projection y = Wx + b, the component along d̂ is removed exactly via W' = W − d̂(d̂ᵀW), b' = b − (d̂·b)d̂.

Layer selection: a sweep over layers 33/37/41/47/53/56 × coefficients 1.0/0.85/0.7/0.5 on a held-out validation slice. The layers with the highest activation signal-quality scores (53, 56) suppressed refusal the least (36–70% refusal remaining). Layer 37, at 58% depth, removed it entirely. That is the same relative depth as the winning layer for Qwen2.5-7B-Instruct (16/28).

Layerc=1.0c=0.85c=0.7c=0.5
3314%18%16%20%
370%0%0%0%
410%4%2%2%
470%0%0%0%
5336%38%34%38%
5670%70%64%66%

(Validation-slice refusal rate, 50 prompts; capability was 1.000 at every point.)

Datasets

DatasetRole
walledai/AdvBenchHarmful prompts (direction extraction + eval)
tatsu-lab/alpacaHarmless prompts (direction extraction)

Evaluation

Per-category refusal rate:

CategoryOriginalAbliterated
cybercrime_hacking100%0%
extremism100%0%
financial_crime100%0%
fraud_scams100%0%
hate_speech100%0%
illicit_drugs100%0%
malware100%0%
misinformation95.8%0%
privacy_invasion100%0%
self_harm95.8%0%
violence100%0%
weapons100%0%

Caveats:

  • Grading. Refusal grading is two-tier: rule-based first, with the model's own self-judge for ambiguous responses. For the ablated variants, 100% of verdicts went to the self-judge. For the weight-edited model, that judge is the edited model itself, a known asymmetry. The runtime-hook rows above are judged by the unmodified model and also reach 0.0% at full strength, which corroborates the weight-edit result.
  • Capability. ARC-Easy saturates at this size (1.000 before and after) and would have hidden the capability cost. MMLU-Pro shows it: a 3.3 pp drop. A gentler edit (the runtime curve keeps refusal at 2.1% at coefficient 0.7) or norm-preserving ablation may reduce it; neither has been tested on this checkpoint.

License

  • Model weights: Apache-2.0, inherited from the base model Qwen/Qwen3.8-27B (license). This is a modified version of that model: the refusal behaviour was removed by editing its weights, as described above. All terms of the base model's license apply.
  • Code used to produce and evaluate this model: AblateBench, Apache-2.0.
  • Datasets used for direction extraction and evaluation keep their own licenses. Alpaca is CC BY-NC 4.0 (non-commercial); check dataset terms before commercial use.

Disclaimer

This model has had safety guardrails removed and will comply with requests the original model would refuse. Released for research into AI alignment, interpretability, and refusal mechanisms. The creator assumes no responsibility for downstream use.

Acknowledgments

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

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

GPU в ailist

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

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

Подбираем GPU…

Класс архитектуры
Qwen3_5ForCausalLM
Ревизия весов
edc2718

0 моделей