/ Модель

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

Лицензия
Своя лицензия
Архитектура
hy_v4_flash · dense
Базовая модель
Hy4-flash
Библиотека
transformers
Опубликована
19 ноя 2026

hy4-flash-concise

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

Экспериментальная редакция Hy4-flash сокращает длину рассуждений в диалогах ценой снижения точности на коде и следовании инструкциям.

2 526скачиваний за 30 дней174лайкавеса обновлены20 ноя 2026

Бенчмарки

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

Тесты пользователейпока нет

Никто ещё не опубликовал тест этой модели. Соберите бенчмарк из своих задач — результат появится здесь.

  1. Добавьте модель в бенчмарк

    Вместе с другими моделями категории «Текст» — сравнение идёт внутри одной категории.

  2. Опишите свои задачи

    Напишите запросы, при необходимости приложите файлы и эталонные ответы.

  3. Запустите и опубликуйте

    Модели ответят на каждую задачу, судья оценит ответы. Опубликованный результат появится на этой странице.

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

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

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

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

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

hy4-flash-concise — экспериментальная редакция Hy4-flash, созданная autotrust. Авторы изменили девять матриц весов общей экспертной подсети базовой модели с помощью направленной безградиентной правки весового пространства; дообучение на данных не проводилось. В репозитории также доступны более мягкая редакция и вариант v2.

Модель предназначена для диалоговой генерации текста с рассуждениями, когда важно сократить длину внутренних рассуждений и вычислительные затраты. На тестах авторов агрессивная редакция уменьшила число токенов рассуждений примерно на 37–55%, но снизила точность: особенно заметно на задачах программирования и следования инструкциям. Проверки проводились с включённым режимом рассуждений; режим no_think не тестировался. Это производная от слитых Hy4-flash чекпойнтов модель, доступная в форматах GGUF и safetensors. Лицензия указана как other; конкретные условия следует сверить с карточкой репозитория.

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

  • сокращение длины рассуждений в диалоговом ассистенте
  • экономия вычислений при генерации ответов с рассуждениями
  • сравнение компромисса между длиной рассуждений и точностью
  • эксперименты с программированием и задачами на инструкции

Ограничения

Агрессивная редакция снижает точность на задачах программирования и следования инструкциям; авторы также отмечают небольшое снижение на GPQA. Проверена только с включённым режимом рассуждений, а режим no_think не тестировался.

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

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

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

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

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

Открыть на Hugging Face

hy4-flash-concise

Hy4-flash that thinks less. Nine shared-expert down-projections of tencent/Hy4-flash are rewritten with a rank-one, gradient-free edit (weight-space programming). There are no gradient steps and no fine-tuning data. The edit comes from the model's own activations and is compiled into nine weight matrices.

Thinking tokens drop by 37–55% on every benchmark we ran. Accuracy also drops, by a little on GPQA and by a meaningful amount on code and instruction following (see below). Use this model when shorter, cheaper reasoning matters more than the last few points of accuracy.

Status: experimental. The root of this repo is the aggressive edit (α = 0.1). A milder edit (α = 0.05) that keeps reasoning and code accuracy within noise is in alpha-0.05/. A v2 direction that keeps the token savings of the root but halves the instruction-following loss is in v2/.

What was changed

Base weightsatakans/Hy4-flash-NVFP4 (NVFP4 MLPs, FP8 Engram tables, BF16 elsewhere), derived from tencent/Hy4-flash
Edited tensorsmodel.layers.{22,24,…,38}.mlp.shared_experts.down_proj.weight (9 matrices)
EditW ← W_bf16_original + α · n · d″ uᵀ / ‖u‖², α = 0.1, stored in BF16 (excluded from NVFP4)
Relative size‖ΔW‖/‖W‖ = 0.56–1.09% per layer
Everything elsebyte-identical to atakans/Hy4-flash-NVFP4
  • d is the residual-stream direction that separates the last 48 thinking tokens before </think> from the rest of the thinking, measured on 288 MATH-train (level 5) traces. d″ corrects d for the FFN post-norm (combine_output_norm), so after that RMSNorm the written vector points along d.
  • u is the mean input to the shared-expert down-projection on thinking tokens, and n is the mean norm of the FFN output before the post-norm.
  • The shared expert runs on every token, so a rank-one term in its down-projection acts like a constant steering vector, compiled into the weights.
  • Directions, layers and α were chosen on MATH train only. No evaluation benchmark was used for selection.

The direction tensors and scripts are in edit/.

Results

Setup: vLLM, this checkpoint against the matched base (the same nine matrices in BF16, unedited), thinking on (reasoning_effort: high), temperature 0.9, max 32k tokens, one H200. Δ is paired by problem, with a 95% bootstrap CI.

BenchmarkBaseconcise (α=0.1)Δ accuracy [95% CI]Δ thinking tokens [95% CI]
GPQA Diamond (198 × 2)91.288.6−2.5 [−5.3, +0.3]−39.6% [−43.3, −35.6]
LiveCodeBench v6 (175, 2025-01…04)84.678.3−6.3 [−12.0, −0.6]−36.8% [−43.3, −30.3]
IFBench (300, loose)76.766.0−10.7 [−16.0, −5.3]−54.8% [−58.3, −51.0]
13 coding/math/science tasks × 3 (held-out)39/3938/39−2.6−54.2%
MATH train screen (64 × 2)92.289.8−2.3 [−6.2, +0.8]−40.2% [−47.8, −29.9]

Mean thinking tokens, base → concise: GPQA 5448 → 3291, LCB 8564 → 5409, IFBench 5275 → 2382, held-out tasks 5415 → 2482.

Milder version: alpha-0.05/

BenchmarkBaseα=0.05Δ accuracy [95% CI]Δ thinking tokens [95% CI]
GPQA Diamond (198 × 2)91.289.6−1.5 [−3.8, +0.5]−20.6% [−25.6, −15.7]
LiveCodeBench v6 (175)84.682.3−2.3 [−8.0, +3.4]−25.0% [−31.2, −18.8]
IFBench (300, loose)76.770.3−6.3 [−11.0, −2.0]−36.6% [−40.8, −31.7]
13 held-out tasks × 339/3937/39−5.1−29.1%

v2: v2/

Same layers, same α = 0.1, same ‖ΔW‖. The direction has its instruction-following component removed (see v2/README.md).

BenchmarkBasev2Δ accuracy [95% CI]Δ thinking tokens [95% CI]
GPQA Diamond (198 × 2)91.289.4−1.8 [−4.3, +0.5]−39.2% [−43.3, −34.9]
LiveCodeBench v6 (175)84.677.7−6.9 [−12.6, −1.7]−39.6% [−46.9, −32.4]
IFBench (300, loose)76.770.7−6.0 [−10.7, −1.3]−54.6% [−58.5, −50.4]
13 held-out tasks × 339/3936/39−7.7−52.2%

Which one to pick: alpha-0.05 if code and reasoning accuracy must hold (−21–37% tokens). v2 for large savings (−39–55%) with smaller losses on GPQA and instruction following than the root. The root (v1, α = 0.1) is kept for reference; v2 is at least as good as the root on every benchmark we ran.

Previously: choose alpha-0.05 if accuracy on reasoning and code must hold. Choose the root (α = 0.1) for the largest saving. Both lose points on strict instruction following (IFBench).

Control. A norm-matched random edit (same layers, same ‖ΔW‖, random direction orthogonal to d) on the MATH screen gives +0.0 points of accuracy and +8% tokens. The token saving comes from the direction, not from the perturbation.

Dose response (MATH screen): α = 0.05 → −23% tokens; α = 0.075 → −32%; α = 0.1 → −40%; α = 0.3 → answers become wrong; α = 1.0 → the model loops on </think>. Do not raise α.

Usage

vLLM (Hopper / Blackwell)

Hy4-flash needs the vllm/vllm-openai:hy4-flash image. NVFP4 expert loading needs the vllm/models/hy_v4_flash/nvidia/model.py from atakann/dgx-spark-recipes (copy included as edit/vllm_hy_v4_flash_model.py). On DGX Spark (SM120), use that recipe's full image.

vllm serve autotrust/hy4-flash-concise --served-model-name hy4-flash \
  --dtype bfloat16 --max-model-len 40960 --max-num-seqs 64 \
  --reasoning-parser hy_v4 --limit-mm-per-prompt '{"image":0,"video":0}'
# milder version (local path):
hf download autotrust/hy4-flash-concise --include "alpha-0.05/*" --local-dir hy4-flash-concise
vllm serve hy4-flash-concise/alpha-0.05 --served-model-name hy4-flash --reasoning-parser hy_v4 ...

On one H200: 97 GiB of weights on the GPU, Engram tables in host RAM, about 1.5k tok/s aggregate decode at 100 concurrent requests.

llama.cpp (GGUF, e.g. DGX Spark)

gguf-lora/hy4-flash-concise-lora.gguf (167 KB) applies the same rank-one edit to the stock AngelSlim/Hy4-flash-GGUF files as a LoRA adapter on blk.{22..38 even}.ffn_down_shexp. The scale is α (0.1 = root version, 0.05 = milder version). For v2, use gguf-lora/hy4-flash-concise-v2-lora.gguf at 0.1:

llama-server -m Hy4-flash-SPARK-4Bit-Fast.gguf ... --lora-scaled hy4-flash-concise-lora.gguf:0.1

The adapter was validated on Q4_K_M (MATH screen: −38% tokens, −2.3 points). It is not separately validated on the SPARK-4Bit builds. Note that llama-server will not batch requests whose per-request LoRA settings differ, so set the scale globally.

Limitations

  • Accuracy loss on code (−6 points) and instruction following (−11 points) at α = 0.1 is statistically significant.
  • The direction was read from a Q4_K_M GGUF of the same model. Q8_0 shared experts differ from BF16 by 0.6%.
  • The edit was tested only with thinking on. With no_think it is untested.
  • One edit form, one layer set, single runs per benchmark.

License and attribution

Tencent Hy License 1.0 (see LICENSE), inherited from tencent/Hy4-flash. Modified from atakans/Hy4-flash-NVFP4: nine shared_experts.down_proj tensors replaced as described above, and the hf_quant_config.json exclude list extended to cover them.

Method after weight-space programming (Takehi et al., 2026) and the norm-matched replication by Concept Country (2026).

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

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

GPU в ailist

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

Можно запустить

Подбираем GPU…

Класс архитектуры
HYV4FlashForConditionalGeneration
Ревизия весов
97ca6f5

0 моделей