/ Модель

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

Контекст
262 144 токена
Размер весов
78,9 ГБ
Лицензия
Своя лицензия
Архитектура
qwen4_exp · dense
Базовая модель
Qwen3.8-Flash-Next-Brisk-oQ4e-MTP
Библиотека
mlx
Опубликована
21 ноя 2026

Qwen3.8-Flash-Next-Brisk-Coder-oQ4e-MTP

Генерация текстаТекст → текст7 профессий

Четырёхбитная MLX-модель на основе Qwen3.8 Brisk, оптимизированная маской экспертов для генерации и решения задач по программированию.

265скачиваний за 30 дней1лайквеса обновлены22 ноя 2026

Бенчмарки

Как модель справилась с задачами пользователей ailist и что о ней публикуют открытые лидерборды

Публичные оценки

Из открытых лидербордов. Сравнивайте результаты одного теста при одинаковых условиях — отсутствие оценки не значит, что модель хуже.

В подключённых источниках результатов для этой модели пока нет.

Что умеет модель

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

blazkepa подготовил Qwen3.8-Flash-Next Brisk-Coder (oQ4e, MTP) — модель генерации текста для программирования, созданную на основе Brisk с маской экспертов ISTA-DASLab. В 48 слоях удалена половина маршрутизируемых экспертов: оставлено 256 из 512 на слой, а маршрутизация top-10 сохранена. Веса экспертов не переквантизировались; остальные компоненты, включая vision tower и MTP-голову, сохранены от Brisk. Репозиторий содержит 4-битные веса в формате safetensors и рассчитан на MLX и запуск через oMLX на Apple Silicon.

Модель предназначена прежде всего для решения задач программирования, включая генерацию и исправление кода, а также сценарии агентного использования. В описанном автором тесте на подмножестве LiveCodeBench она получила pass@1 77; сравнение ограничено одним запуском на вариант и настройкой конкретной системы. Сокращение числа экспертов снижает расход памяти, но качество общих знаний и работы вне кода заметно ухудшилось относительно Brisk. Польский чат может переходить на английский или зацикливаться; другие языки и возможности зрения автор не проверял. Для запуска рекомендованы oMLX 0.8.0 и Apple Silicon; совместимость с более старыми версиями и другими загрузчиками не подтверждена. Лицензия указана как other, поэтому конкретные условия следует проверять в репозитории модели.

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

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

Ограничения

Маска экспертов ухудшает общие знания и качество вне программирования; польский чат может отвечать по-английски или зацикливаться, а другие языки не проверялись. Оценка LiveCodeBench основана на одном запуске на вариант, а vision и агентные сценарии не тестировались; для запуска рекомендован oMLX 0.8.0, совместимость других загрузчиков не подтверждена.

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

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

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

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

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

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

Открыть на Hugging Face

Qwen3.8-Flash-Next Brisk-Coder (oQ4e, MTP)

Brisk with half of the experts removed, using the RCO Coder expert mask published by ISTA-DASLab. ISTA chose which 256 of the 512 experts per layer to keep for code, agentic use and vision, and published the list. I applied their list to my 4-bit MLX weights and kept everything else from Brisk: the weight edit against the "Wait, let me reconsider…" loops, the LoRA that stops thinking once the answer works, and the full MTP head. The routed experts take half the memory: about 44 GB with the n-gram table left on SSD instead of about 86 GB for Brisk, or 79 GB with everything in RAM, which is what oMLX does on a 128 GB Mac. Speed is the same as Brisk.

This is a coding model. Outside code it is clearly worse than Brisk (MMLU 89 → 77 % in English), and Polish chat is broken; other languages are probably affected too, but I did not test them. See Limitations.

At a glance

Built fromblazkepa/Qwen3.8-Flash-Next-Brisk-oQ4e-MTP + the expert mask from ISTA-DASLab/Qwen3.8-Flash-Next-GSQ-RCO-Coder-GGUF (tensor-allocation/*.rco-allocation.txt)
What changed vs Briskin every one of the 48 layers the routed experts and the matching router rows not in ISTA's list are removed (512 → 256, top-10 routing unchanged); the remaining experts are byte-identical, nothing is re-quantised; attention, Gated DeltaNet, shared expert, n-gram table and vision tower are byte-identical to Brisk
MTP headkept whole (its own 512 experts, 1.7 GB, byte-identical to Brisk) in model-mtp.safetensors; config.json sets mtp_num_experts: 512
On disk / in memory79 GB / all of it in RAM in oMLX on a 128 GB Mac (oMLX shows 74 GiB; it keeps everything resident when it fits). With the n-gram table on SSD, as oMLX does when the model does not fit, about 44 GB: an estimate from a measurement outside oMLX, not measured in oMLX
Speedsingle stream, MTP on, warm: 116 tok/s short context, 88 tok/s at 19 k context (Brisk 112 / 88); without MTP 70 / 62; draft acceptance 91 % / 86 %; measured fully resident, while Brisk runs with its n-gram table on SSD
Tested withoMLX 0.8.0 (macOS app), MacBook Pro M5 Max 128 GB, macOS 26

expert_mask.json lists the kept experts per layer. I checked them against ISTA's allocation file: 12 288 of 12 288 indices match.

Run it

oMLX on Apple Silicon, installed as on the norev card; tested only on 0.8.0. I only ran it on a 128 GB Mac. On 64 GB oMLX should move the n-gram table to SSD and it may fit with one request at a time; I have not tried it and do not know the speed in that mode. The separate MTP expert count (mtp_num_experts) is read by the Qwen4-Exp code in oMLX 0.8.0; older versions and other loaders may not know it.

hf download blazkepa/Qwen3.8-Flash-Next-Brisk-Coder-oQ4e-MTP \
  --local-dir ~/.omlx/models/blazkepa/Qwen3.8-Flash-Next-Brisk-Coder-oQ4e-MTP

omlx restart      # new model directories are picked up at start; the folder name is the model id

Meant to be used with thinking on. My thinking runs used temperature 0.6 / top_p 0.95 / top_k 20; generation_config.json keeps Qwen's 1.0, which I did not test on this model.

Results

Same setup as on the norev and Brisk cards: one machine, oMLX, a fixed 100-task subset of LiveCodeBench release_v6 (23 easy / 31 medium / 46 hard, contests 2025-02-15 … 04-06; the tasks predate the model, so possibly contaminated), my own harness. These numbers are not comparable with ISTA's LiveCodeBench score, which uses their own setup; only the differences between the rows matter.

Thinking mode, xhigh, temperature 0.6 / top_p 0.95 / top_k 20, 32 768 tokens, oMLX 0.8.0, one run each:

pass@1easy / medium / hardhit token limittotal tokens
base + ISTA mask6823 / 29 / 16291.66 M
norev + ISTA mask7423 / 29 / 22231.46 M
this model (Brisk + ISTA mask)7723 / 28 / 26191.31 M
for scale, all 512 experts (base and norev on oMLX 0.7.4): base6323 / 25 / 15331.71 M
norev6923 / 28 / 18281.47 M
Brisk, two runs75 / 7822–23 / 28–29 / 25–2620 / 171.32 / 1.30 M

The thinking runs of the masked models were made before the MTP head was added back. With greedy decoding the output with and without MTP is byte-identical (3 prompts × 768 tokens), so I did not repeat them. The 68 vs 63 is not evidence that the mask helps: 8 / 3 on tasks (p = 0.23), on different oMLX versions.

Paired on tasks against base + ISTA mask: this model +10 / −1 (sign test p = 0.012), all ten gains on hard tasks; on the 67 tasks both solve it uses 34 % fewer tokens. Ten tasks hit the limit only with the mask alone, none only with this model. The single loss is a medium task where the model thought for under 500 tokens and wrote wrong logic, the same kind of failure as on the Brisk card. Most of the gain comes from norev (74 with the mask); the LoRA adds 74 → 77 (+5 / −2, p = 0.45), within noise on its own. Against Brisk with all experts: +5 / −3 and +4 / −5, i.e. no difference I can see.

Without thinking, greedy, 8 192 tokens, measured earlier on norev + ISTA mask (not on this model): 53 of 100, same as norev with all experts, with 11 instead of 23 answers at the limit and 43 % fewer tokens. The stop LoRA made Brisk's non-thinking answers about 38 % longer (see the Brisk card), so expect this model to be somewhere in between; I did not measure it.

Limitations

  • Languages and general knowledge. ISTA's mask was calibrated on code, agentic and vision data. On norev + mask: MMLU (399 English questions) 89.0 % → 77.4 %, MMLU translated to Polish 86.0 % → 68.4 %. In Polish chat the model answers in English or falls into repetition loops. I did not test other languages.
  • One thinking run per variant; Brisk's two runs differ by 3 points, so treat single differences of a few points as noise. The paired comparison above is the stronger evidence.
  • This is ISTA's expert selection on my 4-bit oQ4e weights, not their GGUF (GSQ, about 1.9 bits per original weight; 58 GB on disk, about 30 GB resident). I did not measure their model.
  • Agentic use, SWE-bench-style tasks and vision are untested.
  • One quantisation, one machine, temperature 0.6 instead of Qwen's 1.0 in thinking mode.

Provenance, credit and license

Qwen/Qwen3.8-Flash-Next (Qwen Team) → GBP-DE/Qwen3.8-Flash-Next-oQ4e-WLSRefit-MTP (revision 8a284d64) → norev (weight edit, no training) → Brisk (LoRA trained on norev's own outputs, merged) → this repository (expert mask applied, MTP head kept).

The expert selection is the work of ISTA-DASLab: RCO (arXiv 2605.00649, github.com/IST-DASLab/RCO), published with their Qwen3.8-Flash-Next-GSQ-RCO-Coder-GGUF release (the repository is tagged Apache-2.0). All I did was apply it to these weights; expert_mask.json is derived from their allocation file. Thank you for publishing the allocation file.

In expert_mask.json, mtp_dropped: true and bytes_after describe the masking step, which removed the MTP head; the mtp_* fields record that it was then added back whole. ablation.json is the norev edit report (unchanged); the LoRA merge report is on the Brisk repository. checksums.sha256 lists the SHA-256 of every file. The masking and MTP scripts and the LiveCodeBench results are on github.com/blazkepa/flash-next-norev.

Qwen Community License 1.0, the license file of the original model is included unchanged.

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

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

GPU в ailist

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

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

MLX-модели работают только на Apple Silicon, на GPU NVIDIA они не запускаются.

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

0 моделей