/ Модель

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

Лицензия
Своя лицензия
Базовая модель
Qwen3.8-Flash-Next
Опубликована
29 авг 2026

Qwen3.8-Flash-Next-131B-A6B-GGUF

Генерация текстаТекст → текст15 профессий
14 143скачиваний за 30 дней38лайковвеса обновлены24 ноя 2026

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

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

Cyronius/Qwen3.8-Flash-Next-131B-A6B-GGUF — это оптимизированная GGUF-версия Qwen3.8-Flash-Next, основанная на модели Qwen от Qwen и подготовленная автором Cyronius.

Модель предназначена для генерации текста, рассуждений и агентских сценариев с вызовом инструментов через llama.cpp. Это текстовая сборка; отдельные vision-тензоры поставляются отдельно, а работа визуального контура после модификации не тестировалась.

Модель использует MoE-архитектуру с 48 слоями и 512 экспертами, из которых активируются параметры объёмом около 6B на токен. Общее число параметров сокращено примерно с 176B до 131B за счёт уменьшения n-gram hash-embedding-таблицы с 51,2B до 6,4B параметров: сохранено по одной из восьми голов для каждого типа n-грамм. Основная сборка Q3_K_XL занимает 64,8 GB, также доступна версия Q4_0 размером 75,4 GB. Заявлена поддержка контекста до 256K токенов в исходной архитектуре, но поведение на длинном контексте для этой модификации не проверялось; опубликованные тесты проведены при контексте до 8K.

По небольшому набору тестов сборка сохранила показатели базовой модели в tool calling, GSM8K и MMLU, однако perplexity на WikiText-2 ухудшилась с 2,40 до 4,66. Поэтому модель хорошо подходит для рассуждений, задач общего назначения и вызова инструментов, но может быть менее качественной в точном воспроизведении цитат, шаблонного текста и других сценариях, зависящих от поверхностного предсказания продолжений. Q4_0 структурно проверена, но отдельно не тестировалась. Для запуска требуется llama.cpp от 2026-08-27 или новее с поддержкой qwen4exp, а также значительный объём VRAM или оперативной памяти. Модель распространяется по лицензии qwen-community-1.0.

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

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

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

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

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

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

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

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

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

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

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

Открыть на Hugging Face

Qwen3.8-Flash-Next-131B-A6B (n-gram table pruned, GGUF)

A 64.8 GB GGUF of Qwen/Qwen3.8-Flash-Next that scores at parity with the full 90 GB quant on tool-calling, GSM8K, and MMLU — 28% smaller, with zero training and zero transformer surgery. The Files section also lists a 75.4 GB Q4_0 variant and an 86.1 GB UD-Q4_K_XL variant with calibrated n-gram heads.

Qwen3.8-Flash-Next carries a 51B-parameter n-gram hash-embedding table (~29% of total weights): 16 independent hash heads, 8 per n-gram type (bigrams / trigrams), injected at layer 1. This model keeps 1 head of 8 per n-gram type and drops the other 14, exploiting the built-in redundancy of multi-head hashing (each n-gram is looked up several independent ways; a Bloom-filter-style safety margin). Each build copies every other tensor byte-for-byte from its source quant, preserving its imatrix calibration.

Qwen3.8-Flash-Next (base)this model
total params~176B~131B
active / token6B6B
n-gram table51.2B (16 heads)6.4B (2 heads)
layers / experts48 / 51248 / 512 (untouched)
UD-Q3_K_XL GGUF size90 GB64.8 GB

Files

All three builds retain one bigram head and one trigram head.

filesizeinheritsfor
qwen38-keep1-Q3KXL.gguf64.8 GBunsloth UD-Q3_K_XLthe default — smallest, and the build used for the original benchmarks
qwen38-keep1-Q4_0.gguf75.4 GBbartowski Q4_0older GPUs where Q4_0 is much faster than K-/IQ-quants — AMD gfx906 (MI50/MI60), NVIDIA Pascal (P40/P100)
Qwen3.8-Flash-Next-UD-Q4_K_XL-heads-4-8.gguf86.1 GBUnsloth UD-Q4_K_XLcalibrated bigram and trigram heads

The Q4_0 build is bigger, not smaller. The n-gram table is what makes this model compact; Q4_0 simply stores every other tensor at more bits than Q3_K_XL does. You are buying throughput with VRAM. On gfx906 that trade is usually worth it — Q4_0 reaches llama.cpp's MMVQ path while K-quants and IQ4_NL fall through to a generic dequant path several times slower.

The Q4_0 build has not been separately benchmarked, and no one has yet reported running it. The surgery is byte-verbatim and structurally verified (dropped heads point at a shared all-zero row that decodes to exact zeros in Q4_0, kept heads are byte-identical to the source), but the numbers below come from the Q3_K_XL build and do not transfer. If you run it, please report back in the discussions.

UD-Q4_K_XL head selection

This build keeps original bigram head 4 and trigram head 8. The calibration swept all 64 bigram/trigram pairs. The exported GGUF matched the selected pair’s masked-source perplexity on the held-out run. It removes 25.2 GB from the 111.3 GB source quant.

EvaluationFull UD-Q4_K_XLHeads 4 and 8
WikiText-2 test perplexity (16 × 512 tokens)2.1345.730
Separate WikiText validation perplexity3.2094.038
Held-out NASA text perplexity8.3858.629
ARC-Challenge development subset46/4845/48

Use the UD-Q4_K_XL filename from the Files table as the model path in llama.cpp. The original benchmarks below use UD-Q3_K_XL.

Benchmarks

All rows measured on the same llama.cpp build (b10673, CUDA, A100), temp 0, same day. Tool-calling: 40 agentic cases scored on calling the right tool with the right arguments or correctly declining (schemas disjoint from anything the surgery could see — there is no training step). GSM8K-15 / MMLU-30 subsets, no-think mode. Perplexity: wikitext-2 test, 32×512-token chunks.

modelsizetoolsGSM8KMMLUppl
base UD-Q3_K_XL90 GB.9001.000.8332.40
this model (2/16 heads)64.8 GB1.0001.000.8334.66
table fully deleted (0/16)61.2 GB.9751.000.7674.80

Tool accuracy has a ±3-case run-to-run band across hardware backends at temp 0 (a CPU control run scored the base at .975) — read "1.000 vs .900" as parity with base, not as beating it. The one real cost is perplexity: the n-gram table turns out to be a surface-level next-token predictor. Removing 87.5% of it doubles wikitext perplexity while leaving reasoning and tool use at baseline.

For calibration: both cheaper cuts were also tested and rejected. Removing transformer layers (the classic prune) collapsed this architecture without healing — GSM8K fell to 0.33–0.67 and perplexity hit 13+ at 53–60 GB. The n-gram cut is the only free lunch here.

Running it

Needs llama.cpp from 2026-08-27 or newer (qwen4exp support; b10673 tested). Vendor-recommended sampling: instruct temp 0.7, top_p 0.8, presence_penalty 1.5; thinking temp 1.0, top_p 0.95.

# fully offloaded (~66 GB+ VRAM for Q3_K_XL, ~77 GB+ for Q4_0)
llama-server -m qwen38-keep1-Q3KXL.gguf -ngl 99 -c 8192

# smaller GPUs: keep the (sparse-gather) n-gram table in system RAM
llama-server -m qwen38-keep1-Q3KXL.gguf -ngl 99 -c 8192 \
  --override-tensor "per_layer_token_embd\.weight=CPU"

# CPU-only boxes work too (slow but correct), given free RAM to spare
# beyond the file size — ~70 GB for Q3_K_XL, ~80 GB for Q4_0

The --override-tensor flag matters more on the Q4_0 build: it moves the table (3.6 GB) to system RAM and leaves ~72 GB of transformer on the GPU, which is what makes 2×32 GB cards viable at all.

Text-only GGUF (vision tensors ship separately as unsloth's mmproj; the vision path is untested with this surgery). MTP speculative decoding is not available — upstream llama.cpp does not export or run the MTP head for this architecture yet.

Limitations

  • Wikitext perplexity 4.66 vs 2.40 for the base: prose is measurably less "polished-autocomplete" even though task performance holds. If your workload is verbatim-recall-heavy (quotes, boilerplate reproduction), the missing table may show up.
  • Evaluated on a small in-house benchmark (40 tool cases, GSM8K-15, MMLU-30) at ≤8K context. Long-context behavior (QSA sparse attention, 256K native) untested.
  • The original UD-Q3_K_XL and Q4_0 builds kept the first head of each n-gram type. UD-Q4_K_XL uses the calibrated pair above.
  • The Q4_0 build is unbenchmarked and, as of upload, unrun by anyone. It is structurally verified but not behaviourally verified — treat it as a build to test rather than a build to rely on until someone reports back.

How this model was made

Full write-up, surgery script, and raw result logs: github.com/Cyronius/model-experiments (surgery_qwen38.py).

Short version: the GGUF's per-head hash-table layout is entirely metadata-driven (ple.head_offsets, ple.head_vocab_sizes), and llama.cpp reads the table's row count back from the tensor itself. Dropped heads get vocab_size = 1 pointing at a shared all-zero row, so they contribute nothing and cost one row of storage — no llama.cpp patch, no requantization, no training. The whole build is a streaming byte copy: ~45 minutes on an NVMe laptop, and the entire experimental campaign that selected this configuration cost $1.50 of A100 time.

The all-zero row works because it decodes to exact zeros in every quant type used here: an IQ4_NL block with zero bytes, and a Q4_0 block whose d scale is zero, both yield 0.0 for all 32 elements. That is what makes the same script reusable across base quants — it reads the table's type out of the source file and byte-slices accordingly, so producing the Q4_0 variant needed no code change at all.

License

Qwen Community License 1.0, inherited from Qwen/Qwen3.8-Flash-Next. Quantized weights derived from unsloth/Qwen3.8-Flash-Next-GGUF (UD-Q3_K_XL and UD-Q4_K_XL builds) and bartowski/Qwen3.8-Flash-Next-GGUF (Q4_0 build) — thanks to both for the calibrated quants these builds inherit byte-for-byte, imatrix work included.

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

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

GPU в ailist

llama.cpp

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

GGUF-модель ждёт проверки: нужно выбрать файл кванта под доступные GPU.

Ревизия весов
bcfbf4d

0 моделей