/ Модель

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

Архитектура
low_rank_compressed · dense
Базовая модель
mistral-7b
Библиотека
transformers
Опубликована
1 июн 2026

kfac-svd_uniform_mistral-7b_0.8

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

Сжатая методом KFAC-SVD модель Mistral-7B для генерации и продолжения текста и диалоговых сценариев.

50скачиваний за 30 дней0лайковвеса обновлены26 окт 2026

Бенчмарки

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

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

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

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

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

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

Это сжатая низкоранговая версия языковой модели Mistral-7B, созданная Moritz Mo. Модель получена из unsloth/mistral-7b методом KFAC-SVD с равномерным поиском рангов и целевым отношением параметров 0,8; она предназначена для генерации и продолжения текста, включая диалоговые сценарии. В README приведены результаты оценки на Wikitext-2, PTB, C4 и нескольких задачах LM-Eval. Модель использует архитектуру dense с низкоранговым сжатием, формат Safetensors и библиотеку Transformers.

Для текущей версии README указывает исправленную реализацию KFAC-SVD; прежние веса доступны в ревизии v1-paper. Лицензия, языки и длина контекста в предоставленных данных не описаны.

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

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

Ограничения

Сжатие может влиять на качество относительно базовой модели; результаты в README различаются по оценочным наборам. В предоставленных данных не описаны лицензия и поддерживаемые языки.

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

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

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

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

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

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

Открыть на Hugging Face

unsloth/mistral-7b — uniform search — 0.8 target ratio

This model was compressed using kfac_svd with uniform rank search starting from unsloth/mistral-7b as base model. You may check out our publication (also on OpenReview) and project page for details on kfac-svd and our LEMS rank search.

Update (2026-10-24). The weights were recomputed with the fixed KFAC-SVD implementation. The first release of the code (v1, used for the published paper) whitened the output side of each weight with the Cholesky factor L of G = LLᵀ instead of Lᵀ. The correct version was described by the algorithm in the paper already. Those weights, which the paper's tables report, remain available as revision v1-paper: AutoModelForCausalLM.from_pretrained("MoritzMo123/kfac-svd_uniform_mistral-7b_0.8", revision="v1-paper", trust_remote_code=True).

Compression Details

MetricValue
Base Modelunsloth/mistral-7b
Methodkfac_svd
Search Methoduniform
Target Ratio0.8
Compression Metricparams
Recommended Dtypefloat16
Compressed Layers224
Total Parameters5,844,439,264

Usage

The checkpoint records its recommended dtype in config.json; no explicit torch_dtype argument should be needed with this remote-code wrapper. For standard Transformers models, torch_dtype="auto" is the portable fallback.

from transformers import AutoModelForCausalLM, AutoTokenizer

model = AutoModelForCausalLM.from_pretrained(
    "MoritzMo123/kfac-svd_uniform_mistral-7b_0.8",
    trust_remote_code=True,
    device_map="auto",
)
tokenizer = AutoTokenizer.from_pretrained("MoritzMo123/kfac-svd_uniform_mistral-7b_0.8")

inputs = tokenizer('Hello, ', return_tensors="pt").to(model.device)
outputs = model.generate(**inputs, max_new_tokens=50)
print(tokenizer.decode(outputs[0], skip_special_tokens=True))

Evaluation Results

DatasetPerplexity
wikitext27.08
ptb57.19
c418.59

Zero-shot accuracy (LM-Eval, %):

TaskAccuracy
OpenBookQA27.20
ARC-e70.45
ARC-c36.69
WinoGrande68.03
HellaSwag42.80
PIQA70.84
Average52.67

Rank Allocation

LayerRank
model.layers.0.mlp.down_proj2548
model.layers.0.mlp.gate_proj2548
model.layers.0.mlp.up_proj2548
model.layers.0.self_attn.k_proj655
model.layers.0.self_attn.o_proj1638
model.layers.0.self_attn.q_proj1638
model.layers.0.self_attn.v_proj655
model.layers.1.mlp.down_proj2548
model.layers.1.mlp.gate_proj2548
model.layers.1.mlp.up_proj2548
model.layers.1.self_attn.k_proj655
model.layers.1.self_attn.o_proj1638
model.layers.1.self_attn.q_proj1638
model.layers.1.self_attn.v_proj655
model.layers.10.mlp.down_proj2548
model.layers.10.mlp.gate_proj2548
model.layers.10.mlp.up_proj2548
model.layers.10.self_attn.k_proj655
model.layers.10.self_attn.o_proj1638
model.layers.10.self_attn.q_proj1638
model.layers.10.self_attn.v_proj655
model.layers.11.mlp.down_proj2548
model.layers.11.mlp.gate_proj2548
model.layers.11.mlp.up_proj2548
model.layers.11.self_attn.k_proj655
model.layers.11.self_attn.o_proj1638
model.layers.11.self_attn.q_proj1638
model.layers.11.self_attn.v_proj655
model.layers.12.mlp.down_proj2548
model.layers.12.mlp.gate_proj2548
model.layers.12.mlp.up_proj2548
model.layers.12.self_attn.k_proj655
model.layers.12.self_attn.o_proj1638
model.layers.12.self_attn.q_proj1638
model.layers.12.self_attn.v_proj655
model.layers.13.mlp.down_proj2548
model.layers.13.mlp.gate_proj2548
model.layers.13.mlp.up_proj2548
model.layers.13.self_attn.k_proj655
model.layers.13.self_attn.o_proj1638
model.layers.13.self_attn.q_proj1638
model.layers.13.self_attn.v_proj655
model.layers.14.mlp.down_proj2548
model.layers.14.mlp.gate_proj2548
model.layers.14.mlp.up_proj2548
model.layers.14.self_attn.k_proj655
model.layers.14.self_attn.o_proj1638
model.layers.14.self_attn.q_proj1638
model.layers.14.self_attn.v_proj655
model.layers.15.mlp.down_proj2548
model.layers.15.mlp.gate_proj2548
model.layers.15.mlp.up_proj2548
model.layers.15.self_attn.k_proj655
model.layers.15.self_attn.o_proj1638
model.layers.15.self_attn.q_proj1638
model.layers.15.self_attn.v_proj655
model.layers.16.mlp.down_proj2548
model.layers.16.mlp.gate_proj2548
model.layers.16.mlp.up_proj2548
model.layers.16.self_attn.k_proj655
model.layers.16.self_attn.o_proj1638
model.layers.16.self_attn.q_proj1638
model.layers.16.self_attn.v_proj655
model.layers.17.mlp.down_proj2548
model.layers.17.mlp.gate_proj2548
model.layers.17.mlp.up_proj2548
model.layers.17.self_attn.k_proj655
model.layers.17.self_attn.o_proj1638
model.layers.17.self_attn.q_proj1638
model.layers.17.self_attn.v_proj655
model.layers.18.mlp.down_proj2548
model.layers.18.mlp.gate_proj2548
model.layers.18.mlp.up_proj2548
model.layers.18.self_attn.k_proj655
model.layers.18.self_attn.o_proj1638
model.layers.18.self_attn.q_proj1638
model.layers.18.self_attn.v_proj655
model.layers.19.mlp.down_proj2548
model.layers.19.mlp.gate_proj2548
model.layers.19.mlp.up_proj2548
model.layers.19.self_attn.k_proj655
model.layers.19.self_attn.o_proj1638
model.layers.19.self_attn.q_proj1638
model.layers.19.self_attn.v_proj655
model.layers.2.mlp.down_proj2548
model.layers.2.mlp.gate_proj2548
model.layers.2.mlp.up_proj2548
model.layers.2.self_attn.k_proj655
model.layers.2.self_attn.o_proj1638
model.layers.2.self_attn.q_proj1638
model.layers.2.self_attn.v_proj655
model.layers.20.mlp.down_proj2548
model.layers.20.mlp.gate_proj2548
model.layers.20.mlp.up_proj2548
model.layers.20.self_attn.k_proj655
model.layers.20.self_attn.o_proj1638
model.layers.20.self_attn.q_proj1638
model.layers.20.self_attn.v_proj655
model.layers.21.mlp.down_proj2548
model.layers.21.mlp.gate_proj2548
model.layers.21.mlp.up_proj2548
model.layers.21.self_attn.k_proj655
model.layers.21.self_attn.o_proj1638
model.layers.21.self_attn.q_proj1638
model.layers.21.self_attn.v_proj655
model.layers.22.mlp.down_proj2548
model.layers.22.mlp.gate_proj2548
model.layers.22.mlp.up_proj2548
model.layers.22.self_attn.k_proj655
model.layers.22.self_attn.o_proj1638
model.layers.22.self_attn.q_proj1638
model.layers.22.self_attn.v_proj655
model.layers.23.mlp.down_proj2548
model.layers.23.mlp.gate_proj2548
model.layers.23.mlp.up_proj2548
model.layers.23.self_attn.k_proj655
model.layers.23.self_attn.o_proj1638
model.layers.23.self_attn.q_proj1638
model.layers.23.self_attn.v_proj655
model.layers.24.mlp.down_proj2548
model.layers.24.mlp.gate_proj2548
model.layers.24.mlp.up_proj2548
model.layers.24.self_attn.k_proj655
model.layers.24.self_attn.o_proj1638
model.layers.24.self_attn.q_proj1638
model.layers.24.self_attn.v_proj655
model.layers.25.mlp.down_proj2548
model.layers.25.mlp.gate_proj2548
model.layers.25.mlp.up_proj2548
model.layers.25.self_attn.k_proj655
model.layers.25.self_attn.o_proj1638
model.layers.25.self_attn.q_proj1638
model.layers.25.self_attn.v_proj655
model.layers.26.mlp.down_proj2548
model.layers.26.mlp.gate_proj2548
model.layers.26.mlp.up_proj2548
model.layers.26.self_attn.k_proj655
model.layers.26.self_attn.o_proj1638
model.layers.26.self_attn.q_proj1638
model.layers.26.self_attn.v_proj655
model.layers.27.mlp.down_proj2548
model.layers.27.mlp.gate_proj2548
model.layers.27.mlp.up_proj2548
model.layers.27.self_attn.k_proj655
model.layers.27.self_attn.o_proj1638
model.layers.27.self_attn.q_proj1638
model.layers.27.self_attn.v_proj655
model.layers.28.mlp.down_proj2548
model.layers.28.mlp.gate_proj2548
model.layers.28.mlp.up_proj2548
model.layers.28.self_attn.k_proj655
model.layers.28.self_attn.o_proj1638
model.layers.28.self_attn.q_proj1638
model.layers.28.self_attn.v_proj655
model.layers.29.mlp.down_proj2548
model.layers.29.mlp.gate_proj2548
model.layers.29.mlp.up_proj2548
model.layers.29.self_attn.k_proj655
model.layers.29.self_attn.o_proj1638
model.layers.29.self_attn.q_proj1638
model.layers.29.self_attn.v_proj655
model.layers.3.mlp.down_proj2548
model.layers.3.mlp.gate_proj2548
model.layers.3.mlp.up_proj2548
model.layers.3.self_attn.k_proj655
model.layers.3.self_attn.o_proj1638
model.layers.3.self_attn.q_proj1638
model.layers.3.self_attn.v_proj655
model.layers.30.mlp.down_proj2548
model.layers.30.mlp.gate_proj2548
model.layers.30.mlp.up_proj2548
model.layers.30.self_attn.k_proj655
model.layers.30.self_attn.o_proj1638
model.layers.30.self_attn.q_proj1638
model.layers.30.self_attn.v_proj655
model.layers.31.mlp.down_proj2548
model.layers.31.mlp.gate_proj2548
model.layers.31.mlp.up_proj2548
model.layers.31.self_attn.k_proj655
model.layers.31.self_attn.o_proj1638
model.layers.31.self_attn.q_proj1638
model.layers.31.self_attn.v_proj655
model.layers.4.mlp.down_proj2548
model.layers.4.mlp.gate_proj2548
model.layers.4.mlp.up_proj2548
model.layers.4.self_attn.k_proj655
model.layers.4.self_attn.o_proj1638
model.layers.4.self_attn.q_proj1638
model.layers.4.self_attn.v_proj655
model.layers.5.mlp.down_proj2548
model.layers.5.mlp.gate_proj2548
model.layers.5.mlp.up_proj2548
model.layers.5.self_attn.k_proj655
model.layers.5.self_attn.o_proj1638
model.layers.5.self_attn.q_proj1638
model.layers.5.self_attn.v_proj655
model.layers.6.mlp.down_proj2548
model.layers.6.mlp.gate_proj2548
model.layers.6.mlp.up_proj2548
model.layers.6.self_attn.k_proj655
model.layers.6.self_attn.o_proj1638
model.layers.6.self_attn.q_proj1638
model.layers.6.self_attn.v_proj655
model.layers.7.mlp.down_proj2548
model.layers.7.mlp.gate_proj2548
model.layers.7.mlp.up_proj2548
model.layers.7.self_attn.k_proj655
model.layers.7.self_attn.o_proj1638
model.layers.7.self_attn.q_proj1638
model.layers.7.self_attn.v_proj655
model.layers.8.mlp.down_proj2548
model.layers.8.mlp.gate_proj2548
model.layers.8.mlp.up_proj2548
model.layers.8.self_attn.k_proj655
model.layers.8.self_attn.o_proj1638
model.layers.8.self_attn.q_proj1638
model.layers.8.self_attn.v_proj655
model.layers.9.mlp.down_proj2548
model.layers.9.mlp.gate_proj2548
model.layers.9.mlp.up_proj2548
model.layers.9.self_attn.k_proj655
model.layers.9.self_attn.o_proj1638
model.layers.9.self_attn.q_proj1638
model.layers.9.self_attn.v_proj655

Hydra Configuration Summary

Config FieldValue
Modelunsloth/mistral-7b
SVD Methodkfac_svd
Search Methoduniform
Compression Target0.8
Target Metricparams
Calibration Datasetwikitext2
Calibration Samples256
Sequence Length2048
Seed42

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

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

GPU в ailist

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

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

Модели нужен код из репозитория; автор пока не в списке доверенных организаций.

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

0 моделей