/ Модель

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

Контекст
1 048 576 токенов
Параметры
10,7 млрд
Лицензия
MIT
Архитектура
deepseek_v4 · dense
Базовая модель
DeepSeek-V4-Flash-0731
Библиотека
transformers
Опубликована
28 сен 2026

DeepSeek-V4-Flash-0731-RAZOR-156B-A13B-E128of256

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

Производная DeepSeek-V4-Flash с сокращённым вдвое числом маршрутизируемых экспертов для генерации текста при меньшем размере модели.

302скачиваний за 30 дней1лайквеса обновлены30 сен 2026

Бенчмарки

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

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

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

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

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

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

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

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

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

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

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

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

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

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

DeepSeek-V4-Flash-0731-RAZOR-156B-A13B-E128of256 — производная модель семейства DeepSeek-V4 от DeepSeek-AI, созданная методом RAZOR без градиентного дообучения. Метод сокращает число маршрутизируемых экспертов в каждом из 43 MoE-слоёв с 256 до 128; внимания, общие эксперты, эмбеддинги и выходная голова сохранены. В карточке указано 156 млрд параметров, включая упаковку весов экспертов в 4 бита, и около 13 млрд активных параметров на токен. Модель предназначена для генерации текста. Для диалоговых запросов кодирование промптов выполняется официальной реализацией DeepSeek-V4, поскольку Jinja-шаблона чата нет. Заявленное контекстное окно — 1 048 576 токенов; репозиторий использует Transformers и содержит веса safetensors в формате FP8, при этом эксперты хранятся в MXFP4.

Сокращение экспертов уменьшает модель при сохранении исходных весов оставшихся экспертов и не требует восстановительного обучения. Лицензия — MIT. Обрезка с потерями может менять разнообразие ответов, форматирование и поведение при завершении генерации; конечный корпус калибровки не характеризует поведение на далёких от него областях. Перед применением следует оценить качество на собственных задачах.

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

  • генерация ответов на текстовые запросы
  • создание диалогового ассистента с кодированием промптов DeepSeek-V4
  • эксперименты с разреженными MoE-моделями и обрезкой экспертов

Ограничения

Обрезка экспертов может менять разнообразие, форматирование и завершение ответов, даже если точность задач в основном сохраняется. Поведение на областях, далёких от конечного многодоменного корпуса калибровки, не охарактеризовано.

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

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

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

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

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

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

Открыть на Hugging Face

DeepSeek-V4-Flash-0731-RAZOR-156B-A13B-E128of256

DeepSeek-V4-Flash-0731 with half of its routed experts removed by RAZOR, a training-free expert pruning method. Every learned-router MoE layer keeps 128 of its original 256 routed experts, including the multi-token-prediction layers. No gradient updates or recovery training were applied: the retained weights are the base model's own weights.

BaseThis model
Routed experts per MoE layer256128
Total parameters~304B156B (146B excluding the MTP module)
Active parameters per token~13B~13B
Active experts per token (top-k)66 (unchanged)
MoE layers4343 (unchanged)

All 43 MoE layers are pruned to the same budget, including the three fixed token-ID hash layers (num_hash_layers: 3). Those layers have no learned router scores, so their keep-sets come from the pipeline's hash-layer policy rather than from a RAZOR score; see docs/models.md. Attention, shared experts, the embedding and the LM head are untouched.

Routed experts are stored in MXFP4 (expert_dtype: fp4), with FP8 shared experts and UE8M0 scales, matching the base model's storage. Parameter counts above account for the 4-bit packing.

The other budget is DeepSeek-V4-Flash-0731-RAZOR-230B-A13B-E192of256.

Usage

DeepSeek-V4 does not ship a Jinja chat template. Prompt encoding is handled by the official reference implementation, which is included in this repository as encoding/encoding_dsv4.py (copied unmodified from the base model repository):

from encoding.encoding_dsv4 import encode_messages

prompt = encode_messages([
    {"role": "user", "content": "Explain mixture-of-experts routing."}
])

See encoding/README.md for multi-turn, tool calling and reasoning formats, and the base model repository for the reference inference stack. Loading the FP4 weights requires a runtime that supports the base model's quantized layout.

How the experts were selected

RAZOR asks whether the surviving computation can replace an expert's function, rather than how often or how strongly the expert fires. For a token routed to the set $S$ with normalized weights $w_j$, let $c=\sum_{j\in S} w_j f_j$ be the routed mixture and $r_j=f_j-c$ the consensus residual of expert $j$. Deleting a selected expert $i$ makes the router promote its highest-ranked unselected expert $r$, whose pseudo-weight $w_r$ is its score divided by the original selected score sum. With $\lambda$ the routed-output scale, the exact local output change is

$$ \delta_i=\lambda\lVert c-\tilde c^{-i}\rVert_2 =\lambda,\frac{\lVert w_i r_i - w_r r_r\rVert_2}{1-w_i+w_r}. $$

Scores are aggregated by conditional root mean square over the calibration tokens routed to each expert, and the highest-scoring experts are retained per layer. See the paper for the derivation and the code for the implementation.

Reproducing this checkpoint

Calibration used 32,768-token rows from RazorCal, the 2,048-sample multi-domain corpus released with RAZOR.

pip install razor-moe

razor saliency --model <path-to-DeepSeek-V4-Flash-0731> \
               --data data/RazorCal.json --max-len 32768 --out out/sal
razor prune    --model <path-to-DeepSeek-V4-Flash-0731> --saliency out/sal \
               --method razor --ratio 0.5 --out out/pruned

kept_expert_indices.json is the keep-set manifest this checkpoint was built from, in the format razor verify expects:

razor verify --pruned . --src <path-to-DeepSeek-V4-Flash-0731>

Selection depends on the calibration draw, so an independent run reproduces the procedure rather than this exact expert set.

Limitations

Expert pruning is lossy. Benchmark retention and predictive fidelity do not guarantee stable generation: the paper reports that responses change in diversity, formatting and termination behaviour even where task accuracy is largely preserved. Evaluate on your own workload before deploying.

This checkpoint was validated by tensor-level checks against the pruning plan. The logprob equivalence gate used for the other backbones was not applicable here, because it renders prompts through a chat template that this model family does not use.

The calibration corpus is multi-domain but finite, so behaviour on domains far from it is not characterised by the released measurements.

License and attribution

This is a derivative of DeepSeek-V4-Flash-0731, released under the MIT license, and is distributed under the same license. The retained weights are the base model's own weights; RAZOR contributes the expert selection, not new parameters. encoding/ is redistributed unmodified from the base model repository under its license.

The RAZOR code is Apache-2.0. RazorCal records remain subject to their applicable upstream terms; see data/LICENSE-DATA.

Citation

@misc{song2026razorpruningreplaceableexperts,
      title={RAZOR: Pruning Replaceable Experts in LLMs},
      author={Mingyang Song and Mao Zheng},
      year={2026},
      eprint={2609.30465},
      archivePrefix={arXiv},
      primaryClass={cs.LG},
      url={https://arxiv.org/abs/2609.30465},
}

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

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

GPU в ailist

vLLM

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

Подбираем GPU…

Класс архитектуры
DeepseekV4ForCausalLM
Ревизия весов
57a56ab

0 моделей