/ Модель

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

Лицензия
Apache 2.0
Базовая модель
Hy4-preview
Опубликована
8 сен 2026

Hy4-preview-GGUF

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

Hy4-preview-GGUF — это квантизированные GGUF-версии модели Tencent Hy4-preview, подготовленные qtum с использованием llama.cpp.

300скачиваний за 30 дней3лайкавеса обновлены8 сен 2026

Бенчмарки

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

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

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

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

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

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

Модель предназначена для генерации текста и поддерживает английский и китайский языки. Распространяется в формате GGUF, совместимом с llama.cpp, и требует сборку с поддержкой hy_v4.

Модель имеет 780 млрд параметров, 78 слоёв и словарь из 120 832 токенов. В архитектуре используются attention MLA в стиле DeepSeek, гиперсвязи iHC, разреженное внимание DSA и MoE с 256 маршрутизируемыми экспертами, top-8 маршрутизацией и одним общим экспертом. Доступны варианты IQ4_XS размером 388,3 ГиБ, Q2_K размером 269,6 ГиБ и IQ2_XS размером 218,9 ГиБ; каждый состоит из 39 фрагментов и откалиброван с помощью importance matrix.

IQ4_XS обеспечивает наилучшее качество среди представленных вариантов и сохраняет тот же наиболее вероятный токен, что и исходная BF16-модель, примерно в 90,5% позиций. Q2_K предлагает компромисс между качеством и размером и обозначен как лучший вариант для инференса только на CPU, тогда как IQ2_XS предназначен для систем с жёсткими ограничениями по памяти. Ограничения включают очень большой объём файлов, необходимость загрузить все 39 фрагментов и зависимость от актуальной версии llama.cpp; более ранние сборки модель не загружают. Лицензия — Apache-2.0.

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

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

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

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

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

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

Открыть на Hugging Face

Hy4-preview GGUF

GGUF quantizations of tencent/Hy4-preview, made with llama.cpp.

Chinese version: README_zh.md

780B total parameters, 78 layers. DeepSeek-style MLA attention (q-LoRA rank 2048, kv-LoRA rank 512) with a gated output path and learnable attention sinks, wrapped in iHC hyper-connections on every attention and MLP block. 256 routed MoE experts with top-8 routing plus one shared expert. DSA sparse attention: 21 of the 78 layers own a full indexer, the rest share the preceding full layer's top-k. Vocabulary 120,832.

Quantized from the official BF16 weights. Every tier is imatrix-calibrated and ships as 39 shards.

Quantizations

TierSizeShardsBPWPPL (wikitext-2)Mean KLDSame top-1
master (BF16, not in this repo)1435.7 GiB3916.022.9361 ± 0.0253——
IQ4_XS388.3 GiB394.333.0789 ± 0.01570.0793 ± 0.000890.50 %
Q2_K269.6 GiB393.013.8898 ± 0.02170.3451 ± 0.003080.35 %
IQ2_XS218.9 GiB392.444.9648 ± 0.02940.5988 ± 0.004473.44 %

The master row is not a file in this repo. It is listed so the numbers above have a reference point — the 1.4 TiB BF16 master was actually loaded and measured on the same machine, so every tier is compared against a real baseline rather than an estimate.

Pick IQ4_XS unless you cannot fit it. It keeps the same top-1 token as the BF16 master on 90 % of positions and its KL divergence is 4.4× lower than the next tier down. Q2_K is the balanced choice and the best option for CPU-only inference. IQ2_XS exists for when the footprint is hard-capped.

What the imatrix is worth

Every tier here is calibrated with an importance matrix. To quantify what that is worth, Q2_K was built twice — once with the imatrix and once without — at byte-identical size (276,118 MiB both times), so the only variable is the calibration:

PPLMean KLDSame top-1RMS Δp
Q2_K without imatrix4.2988 ± 0.02380.4543 ± 0.003476.98 %24.82 %
Q2_K as shipped3.8898 ± 0.02170.3451 ± 0.003080.35 %21.36 %
improvement−9.5 %−24.0 %+3.4 pts−13.9 %

Measured against this repo's own size-quality curve, that 24 % KL reduction is worth +0.257 BPW — i.e. reaching the same quality without an imatrix would need a file 8.5 % larger (about 23 GiB more on the Q2_K tier). The imatrix itself costs nothing in the shipped weights.

Where the gain lands, by KL percentile:

Percentilewithoutwithgain
10 %0.001550.00058−62.8 %
median0.162320.09597−40.9 %
90 %1.22450.9229−24.6 %
99 %3.71993.3953−8.7 %
99.9 %6.54406.4235−1.8 %

The improvement is concentrated in the body of the distribution, not the tail: an imatrix makes the typical token markedly closer to the original model, while the rare catastrophic divergences are a property of low-bit quantization that calibration cannot undo. This is exactly what per-channel importance weighting is expected to do.

Calibration corpus: 476 KiB of real-world text, 220 chunks at n_ctx=512, run over the full BF16 master (6.7 h on 8× H100).

What is protected

The routed experts are 96.5 % of this model's weights, so everything else can be kept at high precision for almost no size cost. It is kept:

TensorsTypeReason
ffn_gate_inp / exp_probs_bF32MoE router; compressing it routes tokens to the wrong experts
ffn_*_shexpQ8_0the shared expert runs on every token
hc_attn_* / hc_ffn_* / output_hc_*F32iHC hyper-connection streams, every layer
indexer.k_norm / indexer.projF32DSA top-k selection; a wrong pick discards the whole attention span
indexer.attn_k / indexer.attn_q_bQ8_0DSA indexer projections
attn_kv_a_mqa / attn_k_b / attn_v_b / attn_q_aQ8_0MLA low-rank paths are already narrow; compressing them damages the KV cache
attn_gate / attn_sinksQ8_0 / F32gated-MLA output path and learnable sinks
ffn_gate / ffn_up / ffn_downQ6_Kthe single dense MLP layer before the MoE stack
token_embd / outputQ6_Ka global type would otherwise squeeze these hard

Usage

# Point at the first shard; llama.cpp finds the rest on its own.
llama-cli -m Hy4-preview-IQ4_XS-00001-of-00039.gguf

Do not pass -ngl manually. llama.cpp fits layers to free VRAM by itself, and an explicit -ngl — including 0 — aborts that fitting and can fail to allocate compute buffers even when the weights would have fit.

Every tier ships as 39 shards. Download all 39 into one directory — you only ever name -00001-of-00039 on the command line.

Requires a llama.cpp build with hy_v4 support (merged upstream 2026-09-04, PR #28127). Earlier builds will not load these files.

About the numbers

wikitext-2 test, n_ctx=512, 655 chunks (~335 K tokens), every tier through the exact same command on 8× H100 80GB. KL divergence and top-1 agreement are computed against logits saved from the BF16 master over 200 chunks.

These numbers are only comparable within this table. Do not compare them against PPL figures published by other repos — different corpora and chunk counts make absolute values meaningless across setups.

Two notes on why the error bars here are small enough to be useful: the PPL runs use 655 chunks rather than the handful common in quantization write-ups, and KL divergence is reported alongside PPL because perplexity is a mean statistic that hides where a quantized model actually breaks. The percentile table above is only readable because both were done.

License

Apache-2.0, inherited from tencent/Hy4-preview — see LICENSE for terms. Quantized by qtum.

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

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

GPU в ailist

llama.cpp

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

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

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

0 моделей