/ Модель

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

Контекст
32 768 токенов
Параметры
494 млн
Лицензия
Своя лицензия
Архитектура
qwen2 · dense
Базовая модель
Qwen2.5-0.5B
Библиотека
transformers
Опубликована
6 сен 2026

HyperPrune-Qwen2.5-0.5B-4to8

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

Разреженный чекпойнт Qwen2.5-0.5B со структурой 4:8 для исследования прореживания языковых моделей и его влияния на генерацию текста.

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

Бенчмарки

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

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

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

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

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

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

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

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

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

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

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

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

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

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

elastix-ai выпустила HyperPrune-Qwen2.5-0.5B-4to8 — разреженный чекпойнт языковой модели Qwen2.5-0.5B, полученный методом HyperPrune. Модель имеет архитектуру Qwen2 для авторегрессионной генерации текста, содержит 494 млн параметров и поддерживает контекст до 32 768 токенов. Веса представлены в формате safetensors и загружаются через Transformers.

Чекпойнт предназначен для изучения полуструктурированного прореживания 4:8 и оценки его влияния на небольшие языковые модели. Все 24 слоя декодера прорежены; автор указывает на строго проверенную структуру 4:8. В качестве калибровочного корпуса использовался validation-раздел DKYoon/SlimPajama-6B.

Практическое качество генерации низкое: README сообщает о вырожденной жадной генерации и значительно худшей perplexity, чем у варианта 2:4 на этой модели. Автор рекомендует рассматривать чекпойнт как результат для анализа масштабирования метода, а не как готовую к использованию модель. Лицензия указана как other, конкретные условия в предоставленных данных не раскрыты.

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

  • изучение полуструктурированного прореживания LLM 4:8
  • сравнение perplexity разреженных языковых моделей
  • воспроизведение экспериментов HyperPrune на Qwen2.5-0.5B

Ограничения

README сообщает о вырожденной жадной генерации и высокой perplexity; автор характеризует чекпойнт как экспериментальную точку данных, а не пригодную для практического использования модель. Условия лицензии с меткой other в предоставленных материалах не конкретизированы.

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

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

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

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

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

Открыть на Hugging Face

HyperPrune-Qwen2.5-0.5B-4to8

Qwen/Qwen2.5-0.5B pruned to 4:8 semi-structured sparsity with HyperPrune (Sun & Sakuma, Learning Semi-Structured Sparsity for LLMs via Shared and Context-Aware Hypernetwork, ICLR 2026, OpenReview).

This is a reproduction run produced at Elastix as part of the BLADE sparsity-method comparison. It is plain sparse bf16/fp16 safetensors and loads with stock transformers:

from transformers import AutoModelForCausalLM, AutoTokenizer
m = AutoModelForCausalLM.from_pretrained("elastix-ai/HyperPrune-Qwen2.5-0.5B-4to8")
t = AutoTokenizer.from_pretrained("Qwen/Qwen2.5-0.5B")

What differs from the paper's own recipe

paper / repo defaultthis checkpoint
calibration corpusallenai/c4DKYoon/SlimPajama-6B, validation (BLADE's corpus)
pruned modulessee belowsee below

Everything else — hypernet architecture, both training stages, all learning rates, step counts, temperature, prior, row selection — is HyperPrune's own shipped setting.

Configuration

{
  "model": {
    "name_or_path": "Qwen/Qwen2.5-0.5B"
  },
  "data": {
    "dataset_name": "slimpajama",
    "num_samples": 128,
    "seq_len": 2048,
    "seed": 42
  },
  "sparsity": {
    "n": 4,
    "m": 8
  },
  "hypernet": {
    "type": "mlp",
    "hidden_dim": 256,
    "emb_dim": 64,
    "use_layer_emb": false,
    "use_comp_emb": false,
    "use_hessian_diag": true
  },
  "training": {
    "sup_steps": 12000,
    "sup_lr": 0.001,
    "ft_lr": 0.0003,
    "ft_nsamples": 4,
    "rows_per_step": 400,
    "cascade_inner_steps": 300,
    "ft_mode": "cascade",
    "tau": 0.5,
    "prior_source": "sparsegpt",
    "wanda_residual_alpha": 2.0,
    "compensated_propagation": true,
    "use_weight_compensation": true,
    "train_on_compensated": true,
    "fixed_rows_count": 200,
    "fixed_rows_pos": "first",
    "dense_layers_list": []
  },
  "output": {
    "save_dir": "/home/ubuntu/hyperprune_work/outputs/hp-qwen25_05b-4to8",
    "wanda_dir": "/home/ubuntu/hyperprune_work/outputs/hp-qwen25_05b-4to8_ref",
    "preserve_wanda_dir": false
  }
}

Measured

metricvalue
overall decoder sparsity (check_sparsity)0.5149 (all 24 decoder layers, strict 4:8 verified)
WikiText-2 PPL (HyperPrune eval_ppl.py, seqlen 2048)136.631
WikiText-2 word PPL (lm-eval-harness, BLADE's protocol)282.87
training wall-clock3.6 min
peak GPU during cascade FT2.61 GB
GPU1 x NVIDIA RTX PRO 6000 Blackwell (97 GB), CUDA 13.0, torch 2.13.0+cu130

Two things to know before comparing this number to the paper

1. Every decoder layer is pruned here. HyperPrune's own shipped configs set dense_layers_list: [0, 1], leaving 2 layers fully dense and yielding ~46.9 % sparsity rather than 50 %. This checkpoint prunes every layer, matching BLADE's four_eight_all spec, so it is a true 4:8 model in the modules BLADE prunes.

2. Only a few percent of this mask was chosen by the hypernet. The shipped recipe sets fixed_rows_count: 200, so the hypernet decides the mask for the first 200 output rows of each projection and every remaining row keeps the SparseGPT prior's mask verbatim. This is HyperPrune's own default, kept here deliberately because the brief was to change nothing but the calibration corpus.

The two perplexity rows are different quantities and are not comparable to each other. The first is token-level PPL over concatenated WikiText-2 at seqlen 2048 (the Wanda/SparseGPT convention). The second is lm-evaluation-harness word_perplexity at max_length=2048, which is BLADE's protocol — pinned empirically by reproducing BLADE's dense LLaMA-2-7B value of 9.19 (measured 9.1915).

4:8 is WORSE than 2:4 on this model — the opposite of the larger models

Qwen2.5-0.5B2:44:8
WikiText-2 word PPL149.94282.87

4:8 is a strictly looser constraint than 2:4, and on the larger models it helps substantially (Llama-2-7B 21.65 -> 15.41; Llama-3.1-8B 22.27 -> 16.39). At 0.5 B it does the reverse. A plausible cause, not verified here: the supervised stage must learn a 70-way classification at 4:8 versus 6-way at 2:4, on the same 12,000-step budget, and this is the model with the least redundancy to absorb an under-fitted hypernet. Treat this checkpoint as a data point about the method's scaling, not as a usable model.

The checkpoint is structurally correct — strict 4:8 verified, zero groups with more than 4 survivors of 8 — and loads with stock transformers. Greedy generation is degenerate.

Provenance

Produced from HyperPrune commit 6d093d7 with a small set of documented patches (bias-dtype autocast, calibration loader, disk-peak reduction, and — for 4:8 checkpoints — the N:M generalization, which the reference implementation does not ship). See the reproduction report for the full diff.

Evaluation Results

KL Divergence

DatasetAvg KLTotal KLTokens
wikitext22.239863669253.1475298,792
c42.1878354112701.07031,879,804
slimpajama_calib2.01739416914864.30088,384,512

Downstream Accuracy

Taskacc, Nonestderr, None
arc_challenge0.18340.0113
arc_easy0.32530.0096
hellaswag0.27380.0045
mmlu0.22930.0035
openbookqa0.12400.0148
piqa0.56260.0116
race0.24880.0134
winogrande0.50360.0141

Perplexity (2048-token windows, max_length=2048)

DatasetWord PPLByte PPL
WikiText-2282.92652.8739
C4 (en)698.66402.9911

BLADE-Eval: lm-eval 0.4.10, torch 2.13.0+cu130, MLflow run

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

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

GPU в ailist

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

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

Подбираем GPU…

Класс архитектуры
Qwen2ForCausalLM
Ревизия весов
a323dbc

0 моделей