/ Модель

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

Контекст
262 144 токена
Размер весов
9,1 ГБ
Лицензия
Apache 2.0
Архитектура
qwen3_5 · dense
Базовая модель
d3-mini
Библиотека
transformers
Опубликована
26 окт 2026

d3-mini-multi

Классификация без дообученияТекст → label7 профессий

Дообученная на базе d3-mini модель для назначения нескольких подходящих меток английскому тексту за один проход.

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

Бенчмарки

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

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

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

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

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

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

d3-mini-multi — дообученная модель akta-pro на базе vllm-sr/d3-mini для классификации текста по нескольким меткам за один проход. Она оценивает варианты и специальный пороговый вариант в одном softmax, затем возвращает все метки, получившие оценку выше порога; порог зависит от входного текста, а значение по умолчанию не требует настройки. Модель также сохраняет режимы базовой модели для выбора одного варианта, оценки по упорядоченной шкале и ответа «да/нет». Репозиторий содержит веса BF16 в формате safetensors и рассчитан на запуск через vLLM с прокси из проекта d3-multi.

В README приведены результаты на девяти наборах данных, включая классификацию категорий arXiv, атрибутов токсичности и тематики DBpedia-14; указано преимущество над базовыми способами классификации для нескольких меток в этих тестах. Обучающие данные включают англоязычные наборы для эмоций, токсичности, правовых, медицинских, научных и общих тем. Модель предназначена прежде всего для английского текста; другие языки и вопросы о изображениях или видео не тестировались. Лицензия — Apache-2.0.

Ограничения включают склонность к лишним меткам на некоторых незнакомых доменах, ограничение в 254 варианта на вопрос и нестабильность результатов для оценок, близких к порогу. На отдельных задачах, например определении целевой группы в hate speech, выбор одного лучшего варианта может быть точнее.

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

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

Ограничения

Модель тестировалась только на английском тексте; другие языки и мультимодальные запросы не проверялись. На некоторых незнакомых доменах она может назначать слишком много меток, поддерживает не более 254 вариантов на вопрос, а оценки около порога чувствительны к численной точности и размеру пакета.

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

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

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

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

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

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

Открыть на Hugging Face

d3-mini-multi

d3-mini with a fourth question type. multi answers "which of these options apply?" with every option that applies, from zero to many, in one forward pass.

TypeAnswersReturns
choiceWhich single option fits best?One option
scoreWhere does this sit on an ordered scale?One level
noulIs this statement true?One probability
multiWhich options apply?Every option that applies, a calibrated score for each, and the cutoff

multi adds one option to the question, the cutoff. The model scores the cutoff in the same pass and the same softmax as the labels, and keeps every label that outscores it. Because the cutoff is scored from the input, the model sets a new threshold for every input. The default cutoff works without tuning. An offset is there when a task needs it.

Results

Micro-F1 on held-out test data, with no threshold tuning on either side. "1 pass" means one forward pass per input.

Test setLabelsBase: one noul per label (p > 0.5)Base: choice top-1d3-mini-multi (1 pass)
arXiv categories1550.290.650.67
Civil Comments (toxicity attributes)70.590.410.78
DBpedia-14140.900.970.98
ECtHR-A (articles violated)100.660.690.75
ECtHR-B (articles alleged)100.690.720.80
GoEmotions280.400.560.56
UNFAIR-ToS (never seen in training)80.600.190.66
TweetTopic (never seen in training)190.630.680.68
Hate-speech targets (never seen in training)80.690.760.72

multi beats per-label noul on all nine test sets, including the three domains that are not in the training data. Against choice top-1, it wins on six, ties on two, and trails on hate-speech targets, where most comments target a single group.

choice, score and noul keep their accuracy. We ran the base and fine-tuned models on the same 10,763 requests (29,053 questions) from 42 public benchmarks of the Decision Index. The public index is 55.10 for d3-mini-multi and 55.05 for the base model: a change of +0.01 points, with a standard error of 0.22.

The tuned-baseline comparison, cost and calibration are in the GitHub README.

Quickstart

Serve the model with vLLM, then put the multi proxy from the GitHub repository in front of it:

git clone https://github.com/akta-pro/d3-multi && cd d3-multi
pip install -r requirements.txt
vllm serve akta-pro/d3-mini-multi --served-model-name d3-mini-multi --port 8100 --no-enable-prefix-caching
python -m d3multi.serve --upstream http://localhost:8100 --port 8200

Ask a multi question:

curl -s localhost:8200/v1/systemone -H 'content-type: application/json' -d '{
  "model": "d3-mini-multi",
  "state": "The order arrived damaged yesterday. The customer was charged twice and wants a replacement today.",
  "questions": {
    "teams": {
      "type": "multi",
      "instructions": "Which teams need to act on this request?",
      "criteria": {
        "returns": "Refunds, replacements and damaged deliveries",
        "billing": "Payments, invoices and charges",
        "technical": "Product setup and faults",
        "shipping": "Delivery tracking and couriers"
      }
    }
  }
}'

The answer (scores rounded to four decimals):

{
  "teams": {
    "type": "multi",
    "selected": ["returns", "billing"],
    "scores": {
      "returns": 0.9867,
      "billing": 0.9108,
      "shipping": 0.2438,
      "technical": 0.0494
    },
    "cutoff": 0.0116
  }
}

choice, score and noul questions pass through the proxy unchanged, and they can share a request with multi questions. The request format, the offset setting and the client-side decoder are in the GitHub repository.

Limits

  • Unseen domains. On UNFAIR-ToS, untuned multi reaches recall 0.94 but precision 0.51: it tags too many sentences on a set where 89% of inputs have no label. On hate-speech targets, where most comments target one group, choice top-1 is ahead (0.76 against 0.72).
  • 254 options per question. The readout scores 255 codes, and the cutoff takes one.
  • Near-zero margins. Options within a hair of the cutoff can flip with batch shape or numeric precision.

All test sets are English text. We did not test other languages, or multi questions about images or video.

Files

The weights are BF16. The readout, tokenizer, configuration and d3 runtime files are copied unchanged from vllm-sr/d3-mini at revision 97dd054. Only the language-model weights differ. SHA256SUMS lists the hash of each weight file.

License

Apache-2.0 (LICENSE, NOTICE). d3-mini is Apache-2.0 (Copyright 2026 vLLM Semantic Router Team), built on Qwen/Qwen3.5-4B (Apache-2.0).

Citation

@misc{d3_multi_2026,
  title        = {The Cutoff Is an Option: Single-Pass Multi-Label Classification
                  with Adaptive Thresholding},
  author       = {Balot, Harsh and {akta.pro}},
  year         = {2026},
  howpublished = {\url{https://akta.pro/blog/the-cutoff-is-an-option-single-pass-multi-label-classification-with-adaptive-thresholding}},
  note         = {Code: \url{https://github.com/akta-pro/d3-multi}}
}

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

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

GPU в ailist

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

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

Подбираем GPU…

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

0 моделей