/ Модель

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

Контекст
1 048 576 токенов
Лицензия
Apache 2.0
Архитектура
qwen4_exp · dense
Базовая модель
Qwen4-35B-A3B-SM86-Fast
Библиотека
vllm
Опубликована
4 дек 2026

Qwen4-35B-A3B-SM86-Fast-Uncensored

Генерация текстаТекст → текст
264скачиваний за 30 дней0лайковвеса обновлены4 дек 2026

Описание модели

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

Разговорная 4-битная MoE-модель генерации текста на базе Qwen4, изменённая для снижения числа отказов и рассчитанная на запуск через пропатченную версию vLLM.

Qwen4-35B-A3B-SM86-Fast-Uncensored — неофициальная сборка сообщества на основе quant-mind/Qwen4-35B-A3B-SM86-Fast с применённым изменением OpenUncensored/Qwen4-35B-A3B-Uncensored. Это разговорная модель для генерации текста; отказные направления удалены методом направленной абляции, поэтому она может отвечать на запросы, которые исходная модель отклоняет. Сборка использует архитектуру Qwen4-35B-A3B, разреженную MoE-модель с INT4-маршрутизируемыми экспертами и LM-головой; часть весов BF16 сохранена без повторной квантизации. Формат весов — GPTQ 4-bit, лицензия — Apache 2.0.

Для полного применения изменения требуется пропатченная версия vLLM с тремя патчами, включая патч проекции остаточного сигнала. Без последнего патча при обслуживании запросов действует только изменение в attention-блоках. Автор приводит измерения производительности на двух RTX 3090 и результаты тестов, но оценка качества ответов на вредоносные запросы не проводилась. Модель может выдавать неверные, небезопасные или оскорбительные ответы; зрительная часть чекпойнта не проверялась, измерения проводились только для текста.

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

  • генерация ответов в чат-боте
  • свободный диалог с уменьшенным числом отказов
  • ответы на запросы, отклоняемые исходной моделью
  • решение математических задач GSM8K
  • генерация и продолжение исходного кода

Ограничения

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

Публичные бенчмарки

Результаты из открытых лидербордов в сравнении с лидерами каталога

Публичных оценок пока нет

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

Источники: Hugging Face Leaderboards, Hugging Face Eval Results, Open LLM v2, MTEB, timm, Open ASR, EvalPlus, LLM Stats

Бенчмарки пользователейпока нет

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

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

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

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

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

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

    Модели ответят на каждую задачу, судья оценит ответы по шкале 0–100.

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

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

Открыть на Hugging Face

Qwen4-35B-A3B-SM86-Fast-Uncensored

[!Warning] The refusals of this model have been removed by directional ablation. It answers requests the original declines, and what it writes can be wrong, unsafe or offensive. You are responsible for what you ask of it and for what you do with the output.

quant-mind/Qwen4-35B-A3B-SM86-Fast (Qwen4-35B-A3B with INT4 routed experts and LM head, for two RTX 3090s on vLLM 0.34.0) with the edit of OpenUncensored/Qwen4-35B-A3B-Uncensored applied without requantizing anything.

That edit removes a two-dimensional refusal subspace from every residual writer of layers 8 to 33 (W' = W - 1.5 B Bᵀ W, 78 tensors). Two thirds of them are plain BF16 matrices. The rest are the routed experts, 256 down projections per layer, which are 4-bit here, and OpenUncensored's card warns that quantizing them may weaken the edit. This build sidesteps that:

  • the 26 attention writers carry the edit in their BF16 weights;
  • the MLP writers are left exactly as in the base build. In every layer the routed and the shared experts share one basis and one strength, so editing all of them equals one projection of the block's summed output, y' = y - 1.5 (y B) Bᵀ. The runtime applies it from residual_edit.safetensors.

It needs a patched vLLM: the two patches of the base build plus reproduce/qwen4_exp-residual-edit.patch. Without the third one the checkpoint loads and serves only the attention part of the edit.

Unofficial community build, not affiliated with Qwen / Alibaba, OpenUncensored or vLLM.

Measured

Two RTX 3090s at 270 W, TP2, fp8 KV, text only, one stream, with the DFlash2 W4A16 drafter (7 draft tokens). Runtime: HyperQwen de39ebdf (vLLM 0.34.0) plus the three patches.

Refusal phrases on the first 100 prompts of the test split of mlabonne/harmful_behaviors (a refusal phrase in the first 400 characters of the answer; thinking off at the card's non-thinking sampling and 256 tokens, thinking on at the defaults and 2,000 tokens):

BuildThinking offThinking on
Base build98 / 10098 / 100
This build without the runtime projection (attention part only)75 / 100not measured
This build0 / 1000 / 100

A phrase count measures refusals, not answer quality. OpenUncensored's judged evaluation of the BF16 edit reports 2 and 1 refusals and 63 to 66 full answers of 72.

Against the base build on the same runtime:

Base buildThis build
Perplexity, 36,465 tokens of Go source2.25452.2612 (+0.30%)
Top-1 agreement with the base build96.0%
GSM8K, 200 questions, greedy195196
Forced tool call with a shell-hostile command4/44/4
Optional tool call, 10 needed / 10 not needed10 / 1010 / 10
Decode on real code and prose prompts, geomean257 to 271 tok/s257 tok/s
Tokens per verify step (DFlash2)3.17 to 3.413.39
Peak VRAM18.9 / 18.8 GiB18.9 / 18.8 GiB

The drafter was trained on the unedited model and reads layers inside the edited range; its acceptance did not move. Harness presets on a fresh load, second pass: 235 tok/s after a 12.6k-token prompt and 242 after a 224k-token prompt, cold prefill 7,637 tok/s.

Serving

# once, in the environment that has vllm==0.34.0
VLLM_DIR="$(python -c 'import vllm, os; print(os.path.dirname(vllm.__file__))')"
for p in qwen4_exp-quant-head-draft-vocab qwen4_exp-aux-hidden-states qwen4_exp-residual-edit; do
  patch -p1 -d "$VLLM_DIR" < reproduce/$p.patch
done

CUDA_DEVICE_ORDER=PCI_BUS_ID PYTORCH_CUDA_ALLOC_CONF=expandable_segments:False \
vllm serve /path/to/Qwen4-35B-A3B-SM86-Fast-Uncensored --served-model-name qwen4-35b-a3b-unc \
  --tensor-parallel-size 2 --distributed-executor-backend mp --dtype bfloat16 \
  --max-model-len 262144 --max-num-seqs 1 --max-num-batched-tokens 4096 \
  --gpu-memory-utilization 0.82 --kv-cache-dtype fp8 --block-size 2304 --language-model-only \
  --engram-config '{"disk_offload":true}' --prefix-cache-retention-interval None \
  --chat-template /path/to/Qwen4-35B-A3B-SM86-Fast-Uncensored/chat_template.agents.jinja \
  --speculative-config '{"method":"dflash","model":"/path/to/Qwen4-35B-A3B-DFlash2-W4A16","num_speculative_tokens":7,"draft_sample_method":"probabilistic","attention_backend":"FLASH_ATTN","kv_cache_dtype":"bfloat16"}' \
  --enable-prefix-caching --enable-prompt-tokens-details \
  --enable-auto-tool-choice --tool-call-parser qwen3_coder --reasoning-parser qwen3
  • The boot log must show Qwen4 residual edit on the MLP output of 26 layers (8 to 33). VLLM_QWEN4_RESIDUAL_EDIT=0 turns the projection off.
  • Everything else (the MTP fallback, block-size, the agent chat template, the n-gram table on disk) is as on the base build's card.

What differs from the base build

FileChange
model-00003-of-00008.safetensors26 BF16 attention writers edited (20 linear_attn.out_proj, 6 self_attn.o_proj): the component inside the refusal basis is 0.4999 to 0.5000 of the original, the change outside it at most 0.17% of the weight norm (BF16 rounding)
residual_edit.safetensorsnew: layers.N.mlp.B (orthonormal [2048, 2], fp32) and layers.N.mlp.s (1.5) for layers 8 to 33
every other weight filebyte-identical

PROVENANCE.md has the recipe, the gates and the hashes; reproduce/build_uncensored.py rebuilds this from the base build and OpenUncensored's edit.safetensors.

Limits

  • Measured on one rig, one stream, text only. The vision encoder is in the checkpoint and was not exercised.
  • No judged evaluation of the answers to harmful requests was run here, only the phrase count.
  • At temperature 0 two runs of the base build were not token-identical; the same applies here.

Credits

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

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

GPU в ailist

vLLM

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

Подбираем GPU…

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

0 моделей