/ Модель

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

Контекст
262 144 токена
Размер весов
38 ГБ
Лицензия
Apache 2.0
Архитектура
qwen3_5_moe · dense
Базовая модель
Qwen3.6-35B-A3B
Библиотека
transformers
Опубликована
22 окт 2026

Qwen3.6-35B-A3B-REAP-128-experts

Изображение и текст → текст9 профессий
199скачиваний за 30 дней2лайкавеса обновлены22 окт 2026

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

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

Сжатая pruning-методом REAP мультимодальная MoE-модель Qwen для диалогов, генерации кода и анализа изображений.

Qwen3.6-35B-A3B-REAP-128-experts — мультимодальная модель семейства Qwen, созданная IAmTheRealGumbo на основе Qwen/Qwen3.6-35B-A3B. Это MoE-модель с 128 из 256 маршрутизируемых экспертов в каждом из 40 слоёв; на каждый токен по-прежнему выбираются 8 экспертов. После удаления экспертов модель содержит около 18,99 млрд параметров, а её веса в формате bf16 занимают 38 ГБ. Веса представлены в safetensors, модель использует библиотеку Transformers и поддерживает диалог, вызов инструментов и работу с изображениями.

Модель предназначена для диалоговых задач, генерации кода и анализа изображений; её можно запускать через vLLM. В тесте HumanEval она набрала 94,5% pass@1, однако оценивалась только генерация кода. Для калибровки pruning использовались данные с инструкциями по программированию, а дообучение после pruning не проводилось, поэтому качество в математике, многоязычном общении, обычном диалоге и агентном использовании инструментов может снижаться. Возможности обработки изображений и видео после pruning не оценивались; MTP-голова удалена, поэтому спекулятивное декодирование MTP недоступно. Лицензия — Apache-2.0.

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

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

Ограничения

Оценивалась только на HumanEval, а калибровка pruning проводилась на данных для кода, поэтому качество в других областях может снижаться. Качество обработки изображений и видео после pruning не проверялось; MTP-голова удалена, поэтому MTP speculative decoding недоступно.

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

Также подходит для

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

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

Открыть на Hugging Face

Qwen3.6-35B-A3B-REAP-128-experts

Qwen/Qwen3.6-35B-A3B MoE pruned using REAP (Router-weighted Expert Activation Pruning) to 50% of its experts: 128 of 256 routed experts per layer are kept in each of the 40 MoE layers. Each token is still routed to 8 experts, so active parameters stay at roughly 3B, while total parameters drop to 18.99B and the bf16 checkpoint to 38.0 GB.

Results

ModelExperts per layerExperts keptTotal paramsSize (bf16)vLLM GPU memory (weights)HumanEval pass@1
Qwen/Qwen3.6-35B-A3B (unpruned)256100%35.95B71.9 GB64.7 GiB94.5% (155/164)
Qwen3.6-35B-A3B-REAP-231-experts23190%31.96B63.9 GB58.8 GiB95.1% (156/164)
Qwen3.6-35B-A3B-REAP-192-experts19275%27.05B54.1 GB49.7 GiB93.3% (153/164)
Qwen3.6-35B-A3B-REAP-128-experts12850%18.99B38.0 GB34.7 GiB94.5% (155/164)
Qwen3.6-35B-A3B-REAP-64-experts6425%10.93B21.9 GB19.7 GiB85.4% (140/164)
Qwen3.6-35B-A3B-REAP-26-experts2610%6.15B12.3 GB10.7 GiB9.1% (15/164)
Qwen3.6-35B-A3B-REAP-8-experts83%3.88B7.8 GB6.5 GiB0.0% (0/164)
  • HumanEval: all 164 problems, pass@1, greedy decoding (temperature 0), thinking disabled (enable_thinking: false), max 1024 new tokens. Each model was served with vLLM 0.19 (NVIDIA vllm:26.04-py3 container) on an NVIDIA DGX Spark (GB10), prompted through the chat template to return the complete function in a code block, and scored with openai/human-eval.
  • pass@1 is the fraction of problems whose single generated answer passes all of the problem's unit tests (one greedy sample per problem, no retries).
  • Noise: two identical runs of the unpruned model scored 93.9% and 94.5%, so differences of 1–2 problems (about 1 point) are within run-to-run noise. In particular the 231-, 192- and 128-expert variants are not distinguishable from the unpruned model on this benchmark.
  • vLLM GPU memory is the weight memory vLLM reports at load ("Model loading took ..."), in GiB. Total usage on top of that depends on the KV cache size you configure.
  • Size is the total size of the safetensors files (decimal GB, as shown by Hugging Face). Parameter counts include the 0.45B vision encoder.

How it was pruned

  • Method: REAP scores each expert by the average of its router gate weight times the L2 norm of its output, over the tokens routed to it. The lowest-scoring experts in each layer are removed, along with their router rows. Top-k router weights are renormalized when scoring, matching the model's own routing.
  • Calibration data: 1024 samples from theblackcat102/evol-codealpaca-v1 (code instructions), up to 2048 tokens each, seed 42. All variants come from the same calibration pass; only the number of removed experts differs.
  • Unchanged: attention and linear-attention layers, the shared expert in every MoE layer, the vision encoder, the tokenizer and the chat template.
  • Removed: the multi-token-prediction (MTP) head. REAP does not calibrate it, so MTP speculative decoding is not available with this checkpoint.
  • No fine-tuning was done after pruning.
  • Code: CerebrasResearch/reap, with local changes to support the Qwen3.5/3.6 MoE architecture (stacked expert tensors). reap_args.yaml in this repo records the exact pruning arguments.

Usage

Same as the base model; the expert count is read from config.json.

vllm serve IAmTheRealGumbo/Qwen3.6-35B-A3B-REAP-128-experts

With transformers (version 5 or later, which includes the qwen3_5_moe architecture):

from transformers import AutoModelForImageTextToText, AutoProcessor

model_id = "IAmTheRealGumbo/Qwen3.6-35B-A3B-REAP-128-experts"
model = AutoModelForImageTextToText.from_pretrained(model_id, dtype="auto", device_map="auto")
processor = AutoProcessor.from_pretrained(model_id)

Limitations

  • Only HumanEval was evaluated. Calibration used code data only, so expert selection favors coding; other domains (math, multilingual, general chat, agentic tool use) may degrade more than HumanEval suggests.
  • The vision encoder is unchanged, but image and video understanding were not evaluated after pruning.
  • HumanEval is small (164 problems) and saturated for this model family; it shows large regressions, like those of the 64-expert and smaller variants, but not small ones.

Credits

Base model by the Qwen team (Qwen/Qwen3.6-35B-A3B, Apache-2.0). REAP by Lasby et al., REAP the Experts: Why Pruning Prevails for One-Shot MoE Compression (ICLR 2026).

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

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

GPU в ailist

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

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

Подбираем GPU…

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

0 моделей