/ Модель

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

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

Qwen4-35B-A3B-Uncensored

Изображение и текст → текст
3 018скачиваний за 30 дней252лайкавеса обновлены4 дек 2026

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

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

Мультимодальная MoE-модель OpenUncensored на базе Qwen4 для диалога, анализа изображений и задач с большим контекстом, с уменьшенной склонностью к отказам.

Qwen4 35B A3B Uncensored — мультимодальная модель OpenUncensored на базе Qwen/Qwen4-35B-A3B. Это MoE-модель с 35 млрд параметров и примерно 3 млрд активных параметров, принимающая текст и изображения и поддерживающая контекст до 1 млн токенов. Разработчики применили направленную абляцию к весам, чтобы снизить склонность исходной модели к отказам: изменены 78 тензоров в слоях 8–33, остальные тензоры совпадают с оригинальными. Модель поддерживает диалог, рассуждения и вызов инструментов.

Модель предназначена для ответов на вопросы по изображениям, диалога, программирования и продолжительных задач с большим контекстом. В приведённом авторами тесте она значительно реже отказывала на выбранных вредоносных запросах, при этом результаты MMLU и оценки фабрикаций в SQuAD 2.0 остались сопоставимы с исходной моделью. Эти результаты относятся к описанному авторами набору запросов и настройкам. Модель распространяется в формате safetensors по лицензии Apache-2.0.

Среди ограничений — модель всё ещё может отказывать или отвечать более безопасным вариантом; ответы могут обрываться при достижении лимита токенов. Авторы не измеряли влияние 4-битной квантизации на эффект абляции, а качество speculative decoding на изменённых весах также не оценивалось.

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

  • ответы на вопросы по изображениям
  • диалог с вызовом инструментов
  • анализ длинных документов и контекста до 1 млн токенов
  • генерация и объяснение кода
  • выполнение многошаговых задач с рассуждениями

Ограничения

Модель всё ещё может отказывать или давать более безопасный вариант ответа, а длинные ответы могут обрываться по лимиту токенов. Влияние 4-битной квантизации на эффект абляции и качество speculative decoding на изменённых весах не оценивались.

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

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

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

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

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

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

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

Открыть на Hugging Face

Qwen4 35B A3B Uncensored (OpenUncensored)

Available now on the OpenUncensored API, served from these exact weights on our own GPUs: qwen4-35b-a3b-uncensored (thinking off by default) and qwen4-35b-a3b-uncensored-thinking, with the full 1M context, tool calling and image input.

Qwen/Qwen4-35B-A3B (35B MoE, 3B active, 1M context, vision) with its refusals removed by directional ablation.

Same format and size as the original BF16 release. 78 tensors change: the residual writers of layers 8 to 33. Everything else (n-gram embedding table, vision tower, MTP head, router, gated-residual mixers, layers 0 to 7 and 34 to 39) is byte-identical to Qwen's files.

Results

Stock Qwen4 35B A3B and this model, same prompts, same settings, measured on these exact files with vLLM (vllm/vllm-openai:qwen4). Harmful prompts are 100 held-out requests (none were used to find the edit), sampled at the card's settings (thinking off: temperature 0.7, top-p 0.8, top-k 20, presence penalty 1.5, up to 4,096 tokens; thinking on: temperature 1.0, top-p 0.95, top-k 20, up to 8,192 tokens). Answers are graded by two judges from different model families (DeepSeek and GLM). Only finished answers are graded.

Qwen4 35B A3BThis model
Refusals, thinking off (refusal phrase in the answer)97 / 1002 / 100
Refusals, thinking on99 / 1001 / 100
Full answers, thinking off (both judges agree)2 / 7263 / 72
Full answers, thinking on (both judges agree)1 / 7266 / 72
MMLU, 300 questions, thinking off, greedy70.0%71.3%
SQuAD 2.0 unanswerable questions answered anyway (lower is better)7 / 1008 / 100

The gains in full answers are significant per prompt (exact McNemar test, p < 1e-18 in both modes). MMLU (p = 0.65) and SQuAD 2.0 fabrication (p = 1.0) are unchanged. Answers that hit the token limit are long, finished-looking code or guides cut off at the cap, not repetition loops.

How it was made

  1. Refusal directions. Qwen4 keeps 4 residual streams (gated residual, width 2,048 each). Every attention, DeltaNet and MoE branch writes one 2,048-wide output into all 4 streams with scalar weights. We read the mean of the 4 streams at the last prompt token after each of the 40 layers, for 128 harmful and 128 harmless prompts, with thinking off and on, and took the difference of means per layer and mode with the harmless mean projected out. The two modes refuse along different directions (cosine about 0.3), so each layer gets a rank-2 basis B that covers both.
  2. Where to edit. All residual writers on layers 8 to 33: the DeltaNet linear_attn.out_proj or sparse attention self_attn.o_proj, the shared expert down_proj, and the fused routed experts down_proj (all 256 experts). W' = W − 1.5 B Bᵀ W, which removes the refusal component each writer adds and flips half of it. We picked this from 17 screened settings (attention only, attention plus shared expert, all writers; strengths 1.0 to 3.0; several layer ranges) as the best trade between refusals and drift on harmless prompts. Attention-only edits also removed refusals but cost 6 MMLU points.
  3. Writing it in. The edit is computed in float32 and rounded once to BF16. For every edited tensor the refusal component is 0.50x the original (target |1 − 1.5|, error under 0.0002), the change outside B is BF16 rounding only (under 0.17%), and every untouched tensor is byte-identical, checked tensor by tensor.

edit.safetensors holds B and the strength for each of the 78 edited tensors, so the edit can be re-applied to the original weights or studied.

Use it

It runs exactly like the original. We served it on one B200 with vLLM:

vllm serve OpenUncensored/Qwen4-35B-A3B-Uncensored --trust-remote-code \
  --max-model-len 32768 --enable-prefix-caching --reasoning-parser qwen4

Qwen4 reasons by default. To turn thinking off for a request, send "chat_template_kwargs": {"reasoning_effort": "off"}. SGLang, transformers (5.26 or later), llama.cpp and MLX work as they do for the original; see the Qwen4 35B A3B model card.

Caveats

  • The routed experts are edited, so quantizing them to 4 bits may weaken the edit. We have not measured refusals after quantization yet.
  • The MTP head is unchanged. Speculative decoding works, but acceptance on the edited weights was not measured.
  • The model answers more requests, not more of everything: it still declines some, and some answers swap in a safer version of the task (graded PARTIAL by one judge).
  • MMLU here asks for a letter only. About 15% of answers in both models explain instead and count as wrong, so read the MMLU numbers as a paired comparison, not a leaderboard score.

Use it without GPUs

OpenUncensored serves this model behind an OpenAI-compatible API, from these exact weights on our own GPUs, along with the other uncensored open-weight models it hosts. qwen4-35b-a3b-uncensored answers with thinking off unless you send reasoning_effort (low, high or xhigh); qwen4-35b-a3b-uncensored-thinking reasons first. No account needed: buy a prepaid key at openuncensored.com/credits.

curl https://api.openuncensored.com/v1/chat/completions \
  -H "Authorization: Bearer $OU_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "model": "qwen4-35b-a3b-uncensored",
    "messages": [{"role": "user", "content": "Explain SQL injection with an example."}]
  }'

Follow us on X: https://x.com/OpenUncensored

License

Apache 2.0, the same as the original model.

Made by OpenUncensored.

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

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

GPU в ailist

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

Нельзя запустить

Модель не помещается в память одной GPU (80 ГБ).

Класс архитектуры
Qwen4MoeForConditionalGeneration
Ревизия весов
0b86787

0 моделей