/ Модель

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

Контекст
262 144 токена
Параметры
5,1 млрд
Размер весов
80,4 ГБ
Лицензия
Apache 2.0
Архитектура
qwen4_exp_text · MoE
Базовая модель
qwen-3.8-next-40b-exp-moe-pruned-bf16
Библиотека
transformers
Опубликована
4 сен 2026

qwen-3.8-next-40b-exp-moe-healed-bf16

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

Промежуточный экспериментальный текстовый чекпойнт Qwen-3.8-Next-MoE для воспроизводимости исследований обрезки экспертов и стабилизации маршрутизации.

571скачиваний за 30 дней0лайковвеса обновлены6 сен 2026

Бенчмарки

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

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

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

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

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

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

Экспериментальный текстовый чекпойнт Qwen-3.8-Next-40B-MoE-Healed от Davd-b01, созданный на основе Qwen от Alibaba Cloud. Это промежуточный результат исследования обрезки MoE-модели и стабилизации маршрутизации экспертов, а не готовый релиз. Веса BF16 сохранены в формате safetensors; архитектура Qwen4ExpForCausalLM сочетает 48 гибридных MoE-блоков с Gated DeltaNet, а размер модели в метаданных указан как 5,1 млрд параметров. README приводит 40,22 млрд общих параметров и около 2,6 млрд параметров экспертов на токен; контекст — 262 144 токена. Модель принимает и генерирует текст, поддерживает чат, но её башня зрения не включена.

Чекпойнт предназначен для воспроизводимости экспериментов с обрезкой экспертов, router healing и калибровкой PLE. В README сообщается о стабилизации маршрутизации относительно исходного неисправного чекпойнта, однако стандартные бенчмарки не проводились, и конкурентное качество не подтверждено. Для работы требуется стек инференса с явной поддержкой qwen4_exp, Gated DeltaNet, Hyper-Connections и PLE; обычные загрузчики плотных трансформеров не подходят. Лицензия — Apache-2.0.

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

  • воспроизведение экспериментов по обрезке экспертов MoE
  • исследование стабилизации маршрутизации экспертов
  • изучение влияния калибровки PLE на текстовую модель

Ограничения

Это промежуточный исследовательский чекпойнт без подтверждённых стандартными бенчмарками качества, гарантий безопасности или пригодности к развёртыванию. Нужен inference-стек с поддержкой архитектуры qwen4_exp; обычные загрузчики плотных трансформеров не работают.

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

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

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

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

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

Открыть на Hugging Face

⚠️ EXPERIMENTAL WEIGHTS — NOT A FINAL RELEASE ⚠️

[!WARNING]

THESE ARE EXPERIMENTAL RESEARCH WEIGHTS. THIS IS NOT A FINISHED OR PRODUCTION MODEL.

Every qwen-3.8-next-40b-exp-* repository is an intermediate checkpoint of an ongoing weight-surgery research line — not a release, not a final version, not a validated product.

  • Not validated for end-user deployment, standalone inference, or any downstream product.
  • No safety, alignment, or quality guarantees. Behaviour can change or regress between checkpoints.
  • Non-standard architecture (qwen4_exp): requires an inference stack that explicitly supports it.
  • Published only for reproducibility of MoE pruning, router-healing, PLE-calibration and distillation experiments.

If you are looking for a model to actually use, use the upstream Qwen release instead.

Qwen-3.8-Next-40B-MoE-Healed (BF16)

Full BFloat16 weights of the experimental hybrid model Qwen-3.8-Next-40B after memory-pruning surgery and a routing-stabilization run (router healing) over the 48 MoE gates $W_{\text{gate}}$, with the PLE associative memory table pruned to 2.0M entries.

1. Diagnosis of the pruned base

The pruned base checkpoint showed expert starvation and routing collapse:

  1. Routing imbalance — the 48 $W_{\text{gate}}$ routers still carried logits initialized for a much larger expert space, leaving ~38% of experts fully inactive or below 0.2% traffic.
  2. Syntactic collapse into loops — critical layers (layer 3, Gini 0.728; layer 44, Gini 0.706) concentrated up to 8.8% of all traffic in a single monopolist expert, inducing infinite lexical repetition in open-ended generation.
  3. PLE hypertrophy — factual-memory injection ran at $\rho = |\Delta h_{\text{PLE}}| / |h_{\text{residual}}| = 0.658$, roughly double the stable range ($0.20 \sim 0.35$).

2. Router-healing SFT (150 steps)

A closed-loop protocol with triple balancing pressure:

  • ST-MoE auxiliary balance loss: $\mathcal{L}{\text{aux}} = N \sum{i=1}^N f_i \cdot P_i$
  • Logarithmic starvation barrier (KL): asymmetric exponential penalty on experts whose share falls below $\frac{0.5}{N}$.
  • Inter-expert load variance: $\mathcal{L}_{\text{var}} = \text{Var}(f)$.
  • Parametric surgery: 99.96% of the model frozen. Only the 48 $W_{\text{gate}}$ routers (15.73M trainable parameters) were optimized with AdamW, warmup and cosine decay ($LR_{\max} = 3 \times 10^{-4}$).

3. Quantitative results, pre vs post healing

Audited on an NVIDIA RTX PRO 6000 (96 GB VRAM) with a multi-domain battery (concurrent Python, CoT mathematics, legal doctrine, tool calling):

IndicatorPre-healingPost-healingChange
Trigram repetitionPathological (infinite loops)0.69%Loops eliminated
Lexical diversity (Distinct-1)$<0.30$0.81High vocabulary variability
Shannon routing entropy ($H$)$0.680$$0.8353$+22.8%
Inactive experts (0 hits)$22.6$ / 128 (17.7%)$16.6$ / 128 (12.9%)6 dead experts revived per layer
Top-1 expert share$7.20%$$6.12%$-15.0%
Top-3 expert share$18.90%$$15.75%$-16.7%
PLE injection ratio ($\rho$)$0.658$$0.600$Damped toward the stable band

[!NOTE] These numbers describe relative improvement over a broken checkpoint, not competitive benchmark results. No standard benchmark (MMLU, GSM8K, HumanEval…) has been run on this checkpoint, and none should be inferred from the table above.

Architecture (qwen4_exp)

PropertyValue
Total layers48 hybrid MoE blocks
Hidden size2,560
AttentionGated DeltaNet linear attention, 3 linear blocks per 1 full-attention block (full_attention_interval: 4)
Hyper-Connections4 residual streams, rank-320 projections
Routed experts128 per layer, top-10 active (num_experts_per_tok: 10)
Shared expert1 dense expert (intermediate size 640)
PLE memoryAssociative n-gram table, 2,000,000 base entries (ngram_size: 3)
Vocabulary248,320
Native context262,144 tokens
PrecisionBFloat16
  • Total parameters: 40.22B (1,294 tensors, 80.44 GB BF16)
  • Activated per token: top-10 routed experts + 1 shared dense expert ($\approx$ 2.6B expert parameters per token, on top of the attention and embedding stack)
  • Checkpoint class: text-only (Qwen4ExpForCausalLM); the vision tower is not included
  • PLE memory: n-gram table pruned to 2,000,000 entries

4. Requirements

Non-standard architecture. It needs an inference stack with explicit qwen4_exp support (Gated DeltaNet linear attention + 4-stream Hyper-Connections + PLE associative memory). Standard dense-Transformer loaders will not work.

[!NOTE] Shard 1 is ~49.6 GB. Use hf download / snapshot_download with resume rather than a plain browser download.

Experiment line

RepositoryRole
qwen-3.8-next-40b-exp-clean-bf16Clean baseline
qwen-3.8-next-40b-exp-clean-healed-bf16Router-healed, text-only
qwen-3.8-next-40b-exp-moe-pruned-bf16512→128 expert pruning
qwen-3.8-next-40b-exp-moe-healed-bf16Pruned + router-healed + PLE 2.0M
qwen-3.8-next-40b-exp-ple-2m-tableRouting tables and calibration artifacts
qwen-3.8-next-40b-exp-cartridge-generalDelta cartridge testbed
qwen-3.8-next-40b-exp-profiling-metricsProfiling metrics

5. Credits

Based on the architectures and research of David Aylward (logic65), the Qwen team (Alibaba Cloud), and work on adaptive MoE routing.

License

Apache 2.0, inherited from the upstream Qwen base model.

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

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

GPU в ailist

vLLM

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

Репозиторий недоступен на Hugging Face.

Класс архитектуры
Qwen4ExpForCausalLM
Ревизия весов
21f04b1

0 моделей