/ Модель

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

Лицензия
Apache 2.0
Базовая модель
Hy3
Опубликована
13 июл 2026

Hy3-GGUF

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

AngelSlim/Hy3-GGUF — это низкобитная квантованная версия модели Hy3 (hy_v3), разработанной Tencent, в формате GGUF для запуска через llama.cpp.

220 тыс.скачиваний за 30 дней187лайковвеса обновлены21 июл 2026

Бенчмарки

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

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

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

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

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

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

Репозиторий подготовлен проектом AngelSlim, посвящённым сжатию больших языковых моделей. Модель предназначена для генерации текста и локального или серверного инференса на совместимом CPU или GPU.

Доступны варианты квантования IQ1_M и Q4_K_M, включая сборки с MTP-блоком для self-speculative decoding. Архитектура использует shared и routed experts, причём routed experts квантуются агрессивнее, чтобы уменьшить размер файлов; MTP-вариант добавляет блок для ускорения декодирования. Рекомендуемый размер контекста — до 65 536 токенов при соответствующей конфигурации llama.cpp. README не указывает число параметров, поддерживаемые языки и полный перечень модальностей, поэтому модель следует рассматривать как текстовую.

Сильные стороны модели — существенно сниженный объём весов, возможность запуска в llama.cpp и поддержка ускоренного MTP-инференса. IQ1_M рассчитан на более жёсткую экономию памяти, а Q4_K_M должен обеспечивать более высокое качество при значительно большем размере. Для работы требуется версия llama.cpp с поддержкой hy_v3; конфигурация зависит от доступной видеопамяти, а экстремальное квантование и ограниченная память могут снижать качество. Модель распространяется по лицензии Apache-2.0.

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

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

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

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

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

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

Открыть на Hugging Face

Hy3 llama.cpp Quantization

Low-bit quantized Hy3 (hy_v3) GGUFs for llama.cpp — ready to run out of the box, with MTP self-speculative decoding. This repo ships the quantized models, plus the mixed-precision recipes to build your own from a calibration set.

Two parts below: Deploy (build & run) and Quantization.


Quick Start

Build

Clone the latest llama.cpp (must include the hy_v3 support merged in PR #25395 — i.e. any commit after 505b1ed; the current master is fine) and build it following the official build guide:

git clone https://github.com/ggml-org/llama.cpp llama.cpp-hyv3
# build per docs/build.md (CUDA / Metal / CPU as appropriate for your machine)

Binaries land in llama.cpp-hyv3/build/bin/.

Already downloaded an older GGUF? Earlier GGUFs here were built against a patched llama.cpp and won't load correctly on today's upstream. To build and run those, follow the previous README (the setup_hyv3_llama.sh + patches flow) instead.

Run

# plain serve (no speculative decoding)
./llama.cpp-hyv3/build/bin/llama-server -m /path/to/Hy3.gguf -ctk q8_0 -ctv q8_0 -fa on -c 65536

# serve + MTP self-speculative decoding (needs an MTP gguf, i.e. converted WITHOUT --no-mtp)
./llama.cpp-hyv3/build/bin/llama-server -m /path/to/Hy3-mtp.gguf --spec-type draft-mtp --spec-draft-n-max 3 --spec-draft-n-min 1 -ctk q8_0 -ctv q8_0 -ctkd q8_0 -ctvd q8_0 -fa on -c 65536

Recommended setups

GPUsbuildMTP-c (context)KV cache
1× H20 (96 GB)IQ1_Mno-c 65536-ctk q8_0 -ctv q8_0
2× H20 (192 GB)IQ1_Myes/ (default)/ (f16)
2× H20 (192 GB)Q4_K_Myes-c 65536-ctk q8_0 -ctv q8_0 -ctkd q8_0 -ctvd q8_0
4× H20 (384 GB)Q4_K_Myes/ (default)/ (f16)

Weights: IQ1_M ~83 GiB, Q4_K_M ~166 GiB (MTP adds ~2 GiB plus a draft KV cache). 1 card fits only IQ1_M, and tightly — shrink context, quantize KV, no MTP. 2 cards run IQ1_M+MTP with room to spare (drop -c/KV flags), but Q4_K_M+MTP is tight, so keep -c 65536 and q8_0 KV (main + draft). 4 cards run Q4_K_M+MTP comfortably.


Quantize with Your Own Data

If you have a calibration set, you can compute your own importance matrix and quantize the model yourself. All steps use stock llama.cpp tools; the mixed-precision recipes are shipped in this folder.

The mixed-precision recipes

The recipes in recipes/ spend bits where they matter:

  • Attention (attn_q/k/v) and the token embedding / output head stay high (q8_0 / q4_K / q6_K) — cheap in size, and where low bits hurt most.
  • Shared experts (ffn_*_shexp, active on every token) stay at q5_K–q6_K.
  • Routed experts (ffn_*_exps) carry the aggressive low bits and dominate the file size. In the IQ1_M recipe most layers are iq1_m, with ffn_down a bit higher (iq3_xxs) and sensitive layers upgraded (iq2_xxs) layer-by-layer.
recipetargetMTP head
recipes/hyv3_q4km_recipe.txt~Q4_K_M mixedno
recipes/hyv3_q4km_mtp_recipe.txt~Q4_K_M mixedyes
recipes/hyv3_iq1m_recipe.txt~IQ1_M mixed (extreme)no
recipes/hyv3_iq1m_mtp_recipe.txt~IQ1_M mixed (extreme)yes

The *_mtp variants add the MTP block (blk.<n>.nextn.* and layer-<n> experts). Use them only for a gguf that still has the MTP head; use the plain ones for a gguf converted with --no-mtp. (The MTP block's experts stay at K-quant, not IQ*, because very-low-bit IQ types need an imatrix and the imatrix only covers the trunk layers.)

1. Convert HF → BF16 GGUF

PYTHONPATH=./llama.cpp-hyv3/gguf-py python ./llama.cpp-hyv3/convert_hf_to_gguf.py /path/to/HYV3-hf --outfile Hy3-BF16.gguf --outtype bf16
#   add --no-mtp to drop the MTP head (then use a non-mtp recipe below)

2. Compute the importance matrix (imatrix)

The calibration file is plain text containing samples with the model's special tokens already applied (one file, fed via -f). The imatrix is independent of the target quant type — compute it once on BF16 and reuse it for any recipe.

./llama.cpp-hyv3/build/bin/llama-imatrix -m Hy3-BF16.gguf -f calib.txt -o imatrix.gguf --output-format gguf --parse-special
#   single GPU can't hold BF16 -> add --cpu-moe (keep experts on CPU) or -ngl 0

3. Quantize with a recipe

Pick the recipe matching your target and whether the gguf has an MTP head (table above). --token-embedding-type differs: keep it at q8_0 for Q4_K_M (embedding is cheap, no reason to crush it), drop it to q4_K for the extreme IQ1_M build. The examples below are for MTP ggufs — use the non-mtp recipe for a --no-mtp gguf.

# ~Q4_K_M mixed
./llama.cpp-hyv3/build/bin/llama-quantize --imatrix imatrix.gguf --tensor-type-file recipes/hyv3_q4km_mtp_recipe.txt --token-embedding-type q8_0 --output-tensor-type q6_K Hy3-BF16-mtp.gguf Hy3-Q4_K_M-mtp.gguf Q4_K_M

# ~IQ1_M mixed (extreme)
./llama.cpp-hyv3/build/bin/llama-quantize --imatrix imatrix.gguf --tensor-type-file recipes/hyv3_iq1m_mtp_recipe.txt --token-embedding-type q4_K --output-tensor-type q6_K Hy3-BF16-mtp.gguf Hy3-IQ1_M-mtp.gguf IQ1_M

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

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

GPU в ailist

llama.cpp

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

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

Ревизия весов
31b453f

0 моделей