/ Модель

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

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

Qwen3.5-0.8B-abliterated-diffusion

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

Экспериментальная диффузионная версия текстовой модели Qwen3.5 для исследования параллельной генерации текста и сравнения с авторегрессионным декодированием.

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

Бенчмарки

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

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

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

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

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

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

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

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

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

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

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

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

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

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

OpceanAI подготовила экспериментальный текстовый чекпойнт Qwen3.5-0.8B-abliterated-diffusion: веса модели Qwen3.5 объёмом 581,4 млн параметров преобразованы в языковую модель с masked diffusion. Вместо последовательной генерации слева направо модель итеративно заполняет маскированные позиции, используя двунаправленную обработку текста. В преобразованной архитектуре сохранены слои Qwen3.5 с гибридными Gated DeltaNet и полным вниманием; базовая модель и обученные LoRA-веса объединены. Контекст составляет 262 144 токена, файлы весов представлены в safetensors, библиотека — Transformers.

Чекпойнт предназначен для экспериментов с диффузионной генерацией текста и сравнений с авторегрессионной моделью. Автор указывает, что короткое обучение на 65 млн токенов оставило повторы, зацикливания и потерю связности; качество ниже базовой модели, а многошаговые рассуждения заметно просели. Скорость генерации зависит от числа шагов денойзинга и оборудования. Это не готовый чат-ассистент: для работы требуется применить патч dqwen, обычный AutoModelForCausalLM загружает причинную модель. Модель текстовая, без исходного vision encoder. Лицензия — Apache-2.0.

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

  • эксперименты с генерацией текста через masked diffusion
  • сравнение диффузионного и авторегрессионного декодирования
  • оценка влияния числа шагов денойзинга на скорость и качество
  • проверка сохранения фактических знаний при преобразовании языковой модели

Ограничения

Модель часто повторяет слова, зацикливается и теряет связность; качество ниже базовой модели, особенно в задачах многошагового рассуждения. Для диффузионной генерации требуется патч dqwen; KV-кэша нет, а обработчик изображений удалён.

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

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

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

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

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

Открыть на Hugging Face

What this is

A side product of the abliteration experiment: the same weights, no longer generating left to right, but by iterative parallel unmasking.

The architecture trick and the training recipe come from summerMC's dqwen, which adapted the LLaDA / Dream method to the Qwen3.5 hybrid family. This checkpoint applies that recipe to a 0.8B model that was already de-aligned.

[!WARNING] This is a research artifact, not a usable assistant. It was trained for about 55 minutes on 65 million tokens. It repeats words, loops, and loses the thread. The point is to show the conversion works and to measure the tradeoff, not to ship a chatbot.


How the conversion works

Qwen3.5 is a hybrid: 18 Gated DeltaNet layers and 6 full-attention layers. A masked diffusion model needs to see the sequence in both directions, and a causal recurrence cannot.

The recipe solves that by running the recurrence twice:

out = orig(h) + rev_gate * flip(orig(flip(h)))

rev_gate is a per-channel parameter initialised to zero, so step 0 of training is bit-identical to the base model. Training then decides how much the reverse direction contributes. In this checkpoint each of the 18 gates learned a mean magnitude between 0.05 and 0.075, so the model uses roughly 6% of the reverse path.

The rest of the surgery:

PieceChange
Full attentioncausal mask removed
DeltaNetforward scan + gated reverse scan
[MASK] token`<
Lossmasked-token cross-entropy, 1/t ELBO weighting, shifted prediction so the pretrained lm_head stays aligned
Decodingblock-wise confidence unmasking

Training

ItemValue
BaseOpceanAI/Qwen3.5-0.8B-abliterated
LoRAr=32, alpha=64, merged into the weights
Trainable20.5 M (LoRA + 18 rev_gate + mask_embed)
Data51,927 examples from tatsu-lab/alpaca
Sequence length512
Steps4,000
Tokens seen~65 M
Batch32, no accumulation
Hardwareone H200 SXM on Modal, ~55 minutes
Final loss0.19 on the last step, EMA 0.30

Samples

Verbatim from the end of training, greedy, 96 tokens, 32 denoising steps.

"Explain why the sky is blue."

The sky is blue because the the of the molecules in the atmosphere scatter the light from from the sun. the the molecules scatter the sky blue because to the sun's wavelength.

"Write a short poem about the sea."

The waves is a song,, A soothing and calm,, A soothing sound and sight, A peaceful and calm, A sight, a sound,, A soothing and soothing sight,, A song of beauty and grace, A song of peace and grace,

Rayleigh scattering is in there. The repetitions are the cost of 65 million tokens.


Results

Measured on one H200, greedy, same prompts and same parser for both models. The autoregressive baseline is the checkpoint this one was derived from.

BenchmarknAR abliteratedDiffusionDelta
MMLU, generative20042.0%45.5%+3.5 pp
GSM8K5021.0%4.0%−17.0 pp

Chance on MMLU is 25%, and one standard error on a proportion at n=200 is about 3.1 pp. The 3.5 point gap is inside the noise: the conversion kept the knowledge and lost the multi-step reasoning. That is the expected shape. Masked diffusion has no left-to-right scratchpad, so arithmetic that needs five sequential steps falls apart, while a single factual lookup survives.

Speed

128 tokens, same prompt, warmup excluded, three configurations of the sampler.

* tokens per second measured on one NVIDIA H200 SXM. Absolute values depend on the GPU and on whether the CUDA kernels for the linear-attention layers are available.

Decodingtok/s*Time for 128 tokens
AR, KV cache27.34.68 s
Diffusion, 16 steps218.90.58 s
Diffusion, 32 steps124.21.03 s
Diffusion, 64 steps61.72.07 s

The win is structural: 16 denoising steps emit 128 tokens, while the autoregressive path needs 128 forward passes. Fewer steps means lower quality, which is the knob the sampler exposes.

The AR baseline is slower than it should be on this hardware because the hybrid DeltaNet decode path still falls back to reference PyTorch kernels. Treat the ratio as a comparison between two implementations on the same machine, not as an absolute number for either architecture.


Usage

Plain AutoModelForCausalLM gives a causal model, not a diffusion model. The patch has to be applied first.

pip install -U transformers accelerate huggingface_hub safetensors
pip install flash-linear-attention
import sys
from huggingface_hub import snapshot_download
path = snapshot_download("OpceanAI/Qwen3.5-0.8B-abliterated-diffusion")
sys.path.insert(0, path)

from dqwen.hub import load_pretrained, generate

dlm, tok = load_pretrained(path)
print(generate(dlm, tok, "Explain why the sky is blue.", gen_len=96, thr=0.9))

thr is the confidence needed to commit a token per step. Lower is faster and worse.


Files

FileContents
model.safetensorsmerged weights, text-only (vision tower removed), bf16
dllm_extras.ptrev_gates (18), mask_embed, mask_id, eos_id
dqwen/loading, patching, training and sampling code
dllm_config.jsonbase model and decoding type
scripts/modal_diffusion.pythe exact training run used here
figures/the three plots above

The checkpoint is text only. The original model is multimodal; the diffusion conversion drops the vision encoder because masked diffusion text generation does not use it.


Limitations

  • 65 M tokens is nothing. Dream used 580 B for 7B parameters. Expect repetitions, loops, and drift on anything longer than a sentence.
  • Quality is below the base model. That is expected and visible in the samples above.
  • MMLU is the only benchmark that holds up. GSM8K drops by 17 points. lm-evaluation-harness loglikelihood scoring does not apply to this model, so both numbers come from generation with a strict letter parser.
  • No KV cache. Every denoising step is a full forward pass over the sequence.
  • Text only. The vision tower was removed during conversion.

Citation

@misc{qwen35-08b-abliterated-diffusion,
  title  = {Qwen3.5-0.8B-abliterated-diffusion: a masked diffusion conversion of an abliterated checkpoint},
  author = {OpceanAI},
  year   = {2026},
  note   = {Architecture recipe from summerMC dqwen, after LLaDA and Dream},
  url    = {https://huggingface.co/OpceanAI/Qwen3.5-0.8B-abliterated-diffusion}
}

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

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

GPU в ailist

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

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

Подбираем GPU…

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

0 моделей