Downloads · 30 days
244
46% of all-time downloads
WaveCut/Qwen3.8-Flash-Next-REAM-288
Qwen3.8-Flash-Next-REAM-288 is a image-text-to-text model from WaveCut. Use it for the image-text-to-text task on the model card, and read the license before you ship it in a product. It is set up for transformers. The card lists the license as other.
Qwen3.8-Flash-Next with 288 of 512 experts per MoE layer, merged not pruned (REAM), in native bf16 for transformers. 251GB vs 360GB stock. MTP block included (its experts merged 512-288 as well) — vLLM-style qwen4exp…
Downloads · 30 days
244
46% of all-time downloads
All-time downloads
529
Public
Parameters
126B
932 GB on disk
Likes
3
Public
Click a slice to open those files.
.safetensors252 GB · 100%
How the weights are stored.
BF16126B · 100%
From the Hugging Face model README
Qwen3.8-Flash-Next with 288 of 512 experts per MoE layer, merged not
pruned (REAM), in native bf16 for transformers. 251GB vs 360GB stock.
MTP block included (its experts merged 512->288 as well) — vLLM-style
qwen4_exp speculative decoding keeps working.
REAM (arXiv 2604.04356, Samsung SAIL Montréal: Merging Improves Pruning of Experts in LLMs), offline adaptation: instead of dropping the 224 non-kept experts per layer (REAP), each is merged into its most-similar kept expert with saliency-proportional coefficients.
saliency_full_505.npz (its argsort reproduces his pinned manifest bit-for-bit),
tempered and shrunk: w_i = (S_i/S_c)^2 * router_cos * count_confidence,
with the centroid keeping at least 90% of itself. Raw proportional weights
are catastrophic here (KL 1.397) because the real kept/dropped saliency gap
is only ~1.6x — the merge dissolves the expert REAP chose to keep.
Hungarian permutation alignment of intermediate channels before averaging
(fp32 accumulate, bf16 out).campaign/reports/truesal_ladder.md) locates the
optimum: KL is minimised when kept experts give away ~9% of their mass —
both heavier blending and near-pruning are worse.| model | KL vs stock (mean) | rare-name probe (10 names) | HumanEval subset (25 tasks) |
|---|---|---|---|
| stock 512e | 0 | 0.97 | 90.0% (full 50) |
| REAP-288 recon (prune) | 1.3066 | 0.91 | 92.0% (stock on same 25: 92.0%) |
| REAM-288 flat_tsg_tsD (this) | 1.2564 | 0.94 | not re-run for tsD; flat_sim (previous main, same pipeline) scored 88.0% vs stock 88.0% on its slice |
KL: teacher-forced top-256 KL vs the stock model over a fixed mixed corpus (en/ru/code/rare-entities/agentic, ~10K positions). Probe: rare entities x 10 seeded sampled generations, pass = name reproduced intact; aggregates recomputed on the name subset common to all rows (a monitoring bug killed the winner's third probe batch mid-run). HumanEval: 25-task slices of a frozen 50-task subset, no-thinking, greedy; the two 288e models landed on different slices (2-task overlap), so each is paired with the stock score on its own slice. Single-run evals; ±1-2 point differences are noise. RU slice of the probe (3 Cyrillic names, 30 gens): stock 27, prune 21, merge 24.
These rows are the 4-bit builds, not this one. This card carries them because they are the campaign's only like-for-like merge-vs-prune comparison — same script, same GPU, same problems. This build was not benchmarked generatively (the bf16 generative evals need a pod with >=160GB VRAM); judge it by the bf16 selection evidence above and by the 4-bit result as evidence about the merge itself, not about this file.
Both published 4-bit builds were run through the same script (eval_mlx.py /
probe_mlx.py on mlx-vlm), on the same GPU, over the same problems with the
same prompts, chat template, decoding and checkers — only the checkpoint
differs. HumanEval is the full 164; GSM8K is 200 problems drawn evenly over
the whole test split.
| 4-bit MLX build | HumanEval-164 | GSM8K-200 | rare-name probe |
|---|---|---|---|
| REAP-288 (author's prune) | 89.0% | 56.0% | 60.0% |
| REAM-288 (this merge) | 89.6% | 58.0% | 62.7% |
How to read this:
max_new=320 many
completions are cut off before the answer line; of six problems both builds
failed at that cap, five pass at 768. The cap applies equally to every row,
so it biases the absolutes, not the comparison.Standard HF sharding. experts-layerNN shards carry the merged expert stacks;
backbone tensors are byte-identical to stock (verified by streaming sha256).