/ Модель

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

Лицензия
Apache 2.0
Базовая модель
Qwen3.8-27B
Библиотека
exllamav3
Опубликована
15 окт 2026

Qwen3.8-27B-Optimized-MTP-Heads-exl3

Генерация текстаТекст → текст3 профессии
0скачиваний за 30 дней7лайковвеса обновлены19 окт 2026

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

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

Квантованная EXL3-голова MTP для Qwen3.8-27B, ускоряющая speculative decoding при меньшем расходе памяти.

Это вспомогательная квантованная голова MTP для Qwen3.8-27B, подготовленная автором репозитория HermiHg в формате EXL3 для exllamav3. Она предназначена для ускорения генерации методом speculative decoding: голова предлагает несколько токенов, а базовая модель проверяет их, сохраняя идентичность результата обычному декодированию целевой модели.

Репозиторий содержит только тензоры MTP, упакованные как sidecar, а не самостоятельную модель. Доступны варианты смешанной точности размером 158,4, 188,7 и 224,4 МиБ; в них точность распределена по тензорам с учётом чувствительности к качеству черновых предложений. Для работы требуются совместимая модель на базе Qwen3.8-27B и сервер exllamav3 с включённым MTP-драфтингом. Автор сообщает о более высокой или равной доле принятых черновых токенов по сравнению с равномерными квантованиями аналогичного или большего размера на проверенных нагрузках.

Модель не предназначена для самостоятельной генерации: это оптимизация скорости и памяти при использовании базовой модели. Языковые возможности и модальности определяются совместимой базовой моделью Qwen3.8-27B. Лицензия репозитория — Apache-2.0.

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

  • ускорение генерации текста на Qwen3.8-27B
  • снижение расхода VRAM на черновую голову speculative decoding
  • ускорение генерации кода с проверкой токенов целевой моделью
  • ускорение генерации рассуждений с MTP-драфтингом

Ограничения

Это не самостоятельная модель: необходима совместимая базовая модель Qwen3.8-27B и поддержка MTP в exllamav3. Приведённые показатели принятия черновых токенов измерены на ограниченном наборе нагрузок и не гарантируют одинакового ускорения в других сценариях.

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

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

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

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

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

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

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

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

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

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

Открыть на Hugging Face

Qwen3.8-27B Optimized MTP Heads (EXL3)

A per-tensor mixed-precision EXL3 quantization of the Qwen3.8-27B MTP (multi-token prediction) draft head, packaged as a sidecar that shadows the built-in MTP weights of the base model. Each optimized checkpoint is smaller than the same-size uniform quant while posting equal-or-better draft acceptance — because bits are concentrated where the draft head is actually sensitive (the feature projection fc) and spent far more cheaply where it is not (q, k, v, gate).

This is not a standalone model. It is the draft head a speculative-decoding server runs alongside the target: the MTP head proposes tokens, the target verifies them, and decoding stays lossless (accepted output is identical to the target's own output). What this changes is speed and memory — a smaller, higher-acceptance draft head means more tokens accepted per verification step and less VRAM for the drafter.

What the sidecar does

The files in this repo contain only the mtp.* tensors — the MTP head: the feature projection fc, one attention block (q/k/v/o), one SwiGLU MLP (gate/up/down), and the 7 norm tensors. When placed alongside a base model, exllamav3 loads the directory's safetensors in alphabetical order, and tensors in a later file shadow earlier ones. A file named mtp-*.safetensors sorts after the base model's model-*.safetensors, so this sidecar's mtp.* tensors override the base model's built-in MTP head.

Tip — trim the base model: because the sidecar shadows the base model's own MTP weights, those original mtp.* tensors are dead weight. You can ask your agent to strip the MTP weights from any base model you pair this sidecar with, reclaiming their full size with no change in behavior.

Compatible base models

The MTP head is defined by the shared Qwen3.8-27B base, so this sidecar works with any model built on that base, including:

  • Qwen3.8-27B
  • Swift
  • ThinkingCap
  • AREX-2
  • abliterated variants
  • any other Qwen3.8-27B derivative

Checkpoints

FileSizeeff. bpw
mtp-3.1bpw.safetensors158.4 MiB3.13smallest
mtp-3.7bpw.safetensors188.7 MiB3.73sweet spot
mtp-4.4bpw.safetensors224.4 MiB4.43highest quality
mtp-4bit.safetensors202.8 MiB4.01uniform reference
mtp-5bit.safetensors253.4 MiB5.01uniform reference
mtp-6bit.safetensors304.0 MiB6.01uniform reference

Measured performance

Draft acceptance (accepted draft tokens / total draft tokens), 50 runs per workload, against the Qwen3.8-27B target. Four workloads: repetitive, prose, prose_thinking (reasoning), code_thinking (reasoning). geomean is the geometric mean across the four — a size-balanced overall figure that weights every workload equally.

CheckpointSizerepetitiveproseprose_thinkingcode_thinkinggeomean
mtp-3.1bpw158.4 MiB0.7050.2030.2260.8180.403
mtp-3.7bpw188.7 MiB0.7360.2080.2270.8390.413
mtp-4bit202.8 MiB0.7110.2060.2200.8210.403
mtp-4.4bpw224.4 MiB0.7450.2120.2330.8290.418
mtp-5bit253.4 MiB0.7320.2050.2300.8320.411
mtp-6bit304.0 MiB0.7470.2060.2310.8380.415

Mean accept length (draft tokens accepted per verification round) — the direct throughput driver (higher = fewer verification steps per token):

CheckpointSizerepetitiveproseprose_thinkingcode_thinkinggeomean
mtp-3.1bpw158.4 MiB4.981.431.585.732.83
mtp-3.7bpw188.7 MiB5.201.461.595.892.90
mtp-4bit202.8 MiB5.031.451.545.762.84
mtp-4.4bpw224.4 MiB5.271.491.645.822.94
mtp-5bit253.4 MiB5.181.441.615.842.89
mtp-6bit304.0 MiB5.291.451.625.882.92

The mixed-precision win

Every optimized checkpoint sits on the size–quality Pareto frontier and dominates a uniform quant that is the same size or larger:

  • mtp-3.7bpw (188.7 MiB) beats mtp-4bit (202.8 MiB) on all four workloads while being 14 MiB smaller (geomean 41.32 vs 40.28).
  • mtp-4.4bpw (224.4 MiB) beats mtp-5bit (253.4 MiB) on repetitive, prose and prose_thinking while being 29 MiB smaller (geomean 41.81 vs 41.12).
  • mtp-4.4bpw (224.4 MiB) exceeds mtp-6bit (304.0 MiB) on geomean (41.81 vs 41.54) while being 26% smaller.

The uniform 4/5-bit checkpoints are never the right answer: a smaller optimized checkpoint is always at least as good.

Acceptance vs size — Pareto frontier

Each plot shows draft acceptance against model size. The black line connects only the Pareto-optimal checkpoints; a checkpoint is dominated (gray open) if a smaller one is at least as good.

How it was built

Quantized clean from the BF16 MTP head (no dequant-from-quant) with exllamav3's EXL3 format: per-tensor bitrate, identity Hessian (no calibration data), seed 0, mul1. The 7 norm tensors are held in bf16 (a bit-exact copy of the source). The 8 quantizable linears are allocated independently:

TensorParamsShare3.1bpw3.7bpw4.4bpwSensitivity
fc (feature projection)52.4 M12.3%567highest (cliff at 3→4 bit)
q62.9 M14.8%22.53lowest
k5.2 M1.2%468low
v5.2 M1.2%468low
o31.5 M7.4%33.54low
gate89.1 M21.0%2.533.5low
up89.1 M21.0%33.54medium
down89.1 M21.0%3.545high
Total424.7 M100%3.133.734.43

The allocation comes from a systematic per-tensor sensitivity sweep: each tensor's bit width was lowered one at a time (the rest held at baseline) and the acceptance cost measured. The ordering that emerged is

fc  ≫  down  >  up  >  o  >  gate  >  k, v  >  q

fc is only 12% of the parameters but dominates acceptance (it has a hard cliff between 3 and 4 bit), so it is the first tensor to be protected and the last to be cut. q is 15% of the parameters but nearly free to compress, and k/v are quite insensitive but there's little to gain. Reinvesting the savings from q/k/v/gate into fc is exactly what makes each optimized checkpoint smaller than the uniform quant at equal acceptance.

Usage

Pair the sidecar with any compatible base model (see above) and run exllamav3 with MTP drafting enabled:

  1. Copy one of the mtp-*.safetensors files into the base model's directory. Keep the mtp- prefix so it sorts after the base model's model-*.safetensors and shadows the built-in head.
  2. (Optional) strip the base model's own mtp.* tensors to reclaim their drive space.
  3. Launch with --mtp or configure mtp drafting in tabbyAPI.

License

Apache-2.0. Base model: Qwen/Qwen3.8-27B.

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

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

GPU в ailist

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

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

В репозитории нет config.json: не понять архитектуру модели.

Ревизия весов
411edf8

0 моделей