/ Модель

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

Лицензия
Apache 2.0
Базовая модель
Qwen3.5-2B-Base
Библиотека
wazn-experimental
Опубликована
2 окт 2026

wazn-2b-v0.1

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

Экспериментальная модель Wazn на основе Qwen 2B, которая распределяет вероятности по заданным пользователем меткам и поддерживает классификацию с отказом, если ни одна метка не подходит.

65скачиваний за 30 дней2лайкавеса обновлены9 окт 2026

Бенчмарки

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

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

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

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

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

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

Wazn 2B v0.1 — экспериментальная модель принятия решений от numidlabs для классификации по пользовательскому набору меток. На вход она получает контекст, инструкцию и необязательные правила, а также названия меток с определениями и примерами; на выходе оценивает вероятности меток и может выбрать NONE, если ни одна не подходит. Набор меток задаётся для каждого запроса, без переобучения модели, и может содержать от нескольких до сотен и более вариантов.

Модель использует дообученную с помощью LoRA адаптеров основу Qwen3.5-2B-Base. Кандидатов сравнивает реляционный классификатор, а отдельный механизм оценивает, подходит ли хотя бы одна метка. Репозиторий содержит веса safetensors; лицензия — Apache-2.0. В README описана экспериментальная бета-версия для пробного использования, API может меняться между выпусками 0.x, а запросы обрабатываются по одному. Заявленные замеры скорости проведены на RTX 5090 с CUDA и bfloat16; на CPU, Apple Silicon или без CUDA ожидается существенно более медленная работа. В README отсутствуют сведения об оценках качества и обучающих данных.

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

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

Ограничения

Версия обозначена как бета для экспериментов, API может изменяться, а сервер обрабатывает запросы по одному. В README нет результатов оценки качества и описания обучающих данных; приведённые замеры скорости относятся к RTX 5090 с CUDA.

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

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

Открыть на Hugging Face

wazn-2b-v0.1

Wazn is a decision model: given a context, optional rules and an instruction, it returns a probability distribution over a set of labels you supply, each with an optional definition and few-shot examples. Nothing is generated. The label set is yours, per request, with no retraining: two labels or a thousand. Large sets (hundreds to 1,000+ classes) are handled by tournaments.

Beta. For trying the model out, not for production. Requests run one at a time, and the API may change between 0.x releases.

Code, full docs and examples: github.com/numid-ai/wazn-experimental.

How it works

Wazn architecture: each candidate label runs through the shared Qwen3.5-2B backbone with LoRA, a relational judge compares the candidates, and a NONE gate decides whether any of them fits

  1. Encode each candidate. The rules, context and instruction are followed by one candidate label (its definition and examples), closed by a </choice> tag. The frozen Qwen3.5-2B backbone, with LoRA adapters, reads this sequence, and the hidden state at </choice> is projected into a representation of that candidate.
  2. Compare the candidates. A relational judge compares the candidate representations against each other, rather than scoring each label alone, and outputs a probability for each one.
  3. Check that any label fits. A NONE gate estimates the probability that at least one candidate is valid. Below a threshold the answer is NONE; otherwise it is the most likely candidate.

Use

Python 3.11+. Install the wazn-experimental package in a virtual environment, then start a local server with this checkpoint:

python -m venv .venv && source .venv/bin/activate
pip install --pre "wazn-experimental[server]"
wazn-experimental serve --model numidlabs/wazn-2b-v0.1
# serving on http://127.0.0.1:8000
  • [server] installs PyTorch (a large download). On Linux with an NVIDIA GPU, use "wazn-experimental[server,cuda]" for the fast kernels.
  • Besides a server, Wazn.load() runs the model in process (e.g. in a notebook).

Then query it from Python:

from wazn_experimental import Client, Request, Instruction, Label

request = Request(
    context="My running shoes arrived in the wrong size. Can I swap them?",
    instructions=[Instruction(
        "Which team should handle this?",
        labels=[Label("returns", "Exchanges, refunds, wrong or damaged items"),
                Label("shipping", "Delivery status, delays, lost packages"),
                Label("billing", "Charges, invoices, payment problems")],
    )],
)
answer = Client().predict(request).answer
print(answer.choice, answer.confidence)  # e.g. returns 0.93
print(answer.probabilities)              # distribution over the labels, sums to 1
print(answer.none_probability)           # P(none of the labels applies)

For more than a few dozen labels, give the instruction a tournament=Tournament(group_size=10, top_k=2). See the README.

Speed

ConfigInstructions × labelsInput tokens (context / instructions / labels)Medianp90
Normal context, few labels1 × 5105 (60 / 13 / 32)35 ms37 ms
Short query, banking77 intents (snake_case names)¹1 × 77 (tournament, groups of 10, top 2)~492 (~17 / 12 / 463)48 ms50 ms
Normal context, many labels, all at once1 × 2191,052 (60 / 13 / 979)121 ms122 ms
Normal context, many labels1 × 219 (tournament, groups of 10, top 2)1,052 (60 / 13 / 979)86 ms87 ms
Normal context, very many labels (random names)1 × 1,000 (tournament, groups of 10, top 2)5,483 (60 / 13 / 5,410)317 ms319 ms
Long context (NDA, ContractNLI)1 × 106,485 (6,317 / 14 / 154)152 ms153 ms
Normal context, many instructions (incident report)10 × 41,621 (648 / 189 / 784)154 ms156 ms

On an NVIDIA RTX 5090, bfloat16, [server,cuda]. Server-side time over 10 requests sent one after another, after a warm-up request; no input was truncated. The first request after a start is slower, because it compiles the GPU kernels. Without [cuda], or on Apple Silicon or CPU, expect much slower requests; see the README.

¹ 50 different banking77 test queries, one request each, rather than one request repeated; tokens are medians (queries run 9 to 30 tokens).

Limitations

TODO: known weak spots, training data summary, evaluation results.

License

The head weights are released under Apache-2.0. The backbone keeps its own license; see Qwen/Qwen3.5-2B-Base.

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

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

GPU в ailist

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

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

Архитектура ? неизвестна transformers в образе рантайма.

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

0 моделей