/ Модель

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

Контекст
40 960 токенов
Параметры
508 млн
Лицензия
Apache 2.0
Архитектура
qwen3 · dense
Библиотека
transformers
Опубликована
17 окт 2026

bango-600m-nar

Классификация текстаТекст → label3 профессии

Bango-600M-NAR выбирает один из трёх вариантов решения и выдаёт откалиброванные вероятности для маршрутизации решений.

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

Бенчмарки

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

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

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

Загружаем оценки…

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

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

Bango-600M-NAR — модель классификации решений, разработанная для выбора одного из ровно трёх предложенных вариантов по заданному состоянию и вопросу. Она возвращает распределение вероятностей по вариантам за один проход, поэтому её можно использовать для маршрутизации решений и передачи низкоуверенных случаев человеку.

Модель построена на плотной архитектуре Qwen3 с примерно 508 млн параметров по метаданным. Голова языковой модели заменена трёхклассовым классификатором; основа Qwen3-0.6B была заморожена, а LoRA-адаптация обучена и слита с весами. README указывает бюджет в 512 токенов на решение, тогда как метаданные сообщают нативный контекст 40 960 токенов. Модель рассчитана на английский язык и не генерирует текст или цепочку рассуждений.

В описанной проверке на 1 340 отложенных примерах точность составила 0,669, а ожидаемая ошибка калибровки — 0,029. Проверка использовала источники, совпадающие с пулом обучающих данных, поэтому результат не подтверждает обобщение на новые области. Модель принимает только задачи с тремя вариантами; качество зависит от распределения и меток исходных данных. Не следует использовать её как единственный защитный барьер для необратимых действий. Лицензия — Apache-2.0.

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

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

Ограничения

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

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

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

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

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

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

Открыть на Hugging Face

Bango-600M-NAR

Non-autoregressive System 1 decision model. Give it a state and a question with exactly three options; it returns the chosen option with a calibrated probability in a single forward pass. It never generates text, so there is nothing to parse and nothing to hallucinate.

0.6B parameters · 3-option decisions · English · Apache-2.0 · ECE 0.029 on 1,340 held-out decisions.

Installation

pip install torch transformers

Python 3.10 or newer, and a CPU is enough.

Quickstart

import torch
from transformers import AutoModelForSequenceClassification, AutoTokenizer

REPO = "doggydon007/bango-600m-nar"
tok = AutoTokenizer.from_pretrained(REPO, trust_remote_code=True)
model = AutoModelForSequenceClassification.from_pretrained(
    REPO, trust_remote_code=True).eval()

def decide(state, question, options):
    assert len(options) == 3, "this model handles exactly 3 options"
    text = (f"State: {state}\nQuestion: {question}\nOptions:\n"
            f"(A) {options[0]}\n(B) {options[1]}\n(C) {options[2]}\nAnswer:")
    ids = tok(text, return_tensors="pt", add_special_tokens=False)
    with torch.no_grad():
        probs = model(**ids).logits.float().softmax(-1)[0]
    k = int(probs.argmax())
    return "ABC"[k], float(probs[k]), [round(float(p), 3) for p in probs]

print(decide(
    state="Account flagged for a single failed payment, first offence.",
    question="Do we grant a 7-day grace period?",
    options=["Yes, grant it", "No, suspend now", "Escalate to a human"],
))

You get back the chosen option, its probability, and the full distribution over the three options. Route low-confidence decisions to a human instead of trusting the argmax.

Input format

State: <free text describing the situation>
Question: <the decision you must make>
Options:
(A) <first option>
(B) <second option>
(C) <third option>
Answer:

Exactly three options. Long states are truncated from the state side so the three options always survive (512-token budget).

What's in this repo

model.safetensorsthe merged 0.6B checkpoint (BF16)
config.json, tokenizer*standard transformers model config and tokenizer
assets/bango_benchmark.pngthe benchmark figure shown above
eval/bango_results.jsonthis model's measured results on the held-out decisions
eval/bango_vs_laya_results.jsonthe Laya checkpoints run by us on the same decisions

The scripts that build this card, the benchmark tables and the figure live in the GitHub repo, together with the raw results/*.json files they read from.

Architecture

  • Backbone: Qwen3-0.6B decoder. The language-model head is replaced by a 3-way linear classifier over the last-token hidden state, so a decision is one forward pass and the output is always exactly three numbers.
  • Adaptation: LoRA (r=32, alpha=64) on the attention and MLP projections, trained over a frozen backbone, then merged into a single monolithic checkpoint. Inference needs no PEFT and no adapter loading.
  • Parameters: 596M total, of which 20.2M (3.4%) were trained.
  • Budget: 512 tokens per decision. The option block is protected; only the state is truncated.
  • Output: logits of shape (1, 3). There is no text generation, so there is no format to parse.

Training

Soft-target distillation. Each training decision carries a full probability distribution over its three options, and the model is trained to match that distribution rather than a hard argmax. That teaches it to distinguish a clear decision from a genuinely ambiguous one, which is what makes the confidence number usable downstream.

Data. 3-option decisions drawn from tasksource/tasksource-jev-typed-decisions, restricted to rows licensed for commercial use.

Scale. The decision head and adapters released here were trained on 58,368 three-option decisions (12.4M tokens). They sit on a frozen backbone trained earlier on 292,780 examples (36.3M tokens over 2 passes). Total training behind this artifact: about 49M tokens across 351,148 examples.

Benchmarks

Measured on 1,340 held-out 3-option decisions that were never trained on. The Laya checkpoints were run by us on the same items through the same A/B/C funnel, so the comparison is like-for-like.

Accuracy

ModelParamsAccuracyMacro-F1
Bango-600M-NAR0.6B0.6690.667
laya-typed-decisions0.4B0.4870.485
laya (zero-shot)0.4B0.4720.472
Majority-class baseline-0.364-
Random (3 options)-0.333-

Across the 42 decision sources both models were scored on, Bango-600M-NAR wins on 33 of 42 (79%). Grouped accuracy over those shared sources: 0.686 against Laya's 0.499.

Speed

533 ms per decision, single-stream, (1.9 decisions/sec) on 8 vCPU (torch float32).

Calibration

MetricValue
Accuracy0.669
Mean confidence0.680
Expected calibration error0.029

When this model says it is 0.8 sure, it is right about 80% of the time, so the confidence can be used as a routing signal.

Per-source accuracy

All 42 decision sources with at least 15 test items. Strong and weak sources are both listed.

SourcenBango-600M-NARlaya-typed-decisionsΔ
WANLI690.7390.652+0.087
FOL-nli620.6450.371+0.274
knowref60k560.6610.554+0.107
social_i_qa510.6470.451+0.196
procedural-typed-decisions/policy_applicability370.5950.270+0.324
spartqa-yn350.6570.486+0.171
corr2cause350.6570.257+0.400
procedural-typed-decisions/record_eligibility300.7000.400+0.300
procedural-typed-decisions/event_state_reconstruction291.0000.759+0.241
procedural-typed-decisions/multi_view_adjudication290.9660.379+0.586
procedural-typed-decisions/state_perturbation280.5000.500+0.000
procedural-typed-decisions/policy_under_uncertainty280.8930.536+0.357
hatexplain/majority240.4170.417+0.000
multilingual/multilingual-sentiments/all240.6250.458+0.167
twitter-financial-news-sentiment240.8330.667+0.167
breaking_nli241.0000.875+0.125
SpaceNLI240.9580.458+0.500
newsmtsc240.5830.667-0.083
wands240.5420.250+0.292
CONDAQA240.5000.417+0.083
headline_cause/en_simple240.7080.083+0.625
vitaminc230.8260.609+0.217
gap230.4780.522-0.043
lonli230.9130.565+0.348
wice230.6960.696+0.000
scientific-exaggeration-detection230.6090.522+0.087
tab/identifier230.5220.391+0.130
folio230.3910.478-0.087
naturallogic220.8180.500+0.318
multilingual/tweet_sentiment_multilingual210.5240.476+0.048
snli210.9520.857+0.095
multilingual/americas_nli/all_languages210.4290.476-0.048
sentfin210.7620.667+0.095
hope_edi/english210.8090.476+0.333
redial/preference210.7140.809-0.095
equate210.5240.381+0.143
propsegment/nli210.8570.619+0.238
mams/atsa200.5500.450+0.100
shell-safety-v2200.6500.250+0.400
syntactic-augmentation-nli200.5000.500+0.000
temporal-nli180.6670.500+0.167
nan-nli150.7330.467+0.267

Honest Limits

  • In-distribution benchmark. The evaluation items were never trained on, but they are drawn from the same source pool as the training decisions. This measures held-out performance on a matching distribution, not out-of-distribution generalisation. A new, unrelated decision domain will score lower.
  • Three options only. Two-option and five-option questions are out of scope, and there is no separate yes/no head.
  • English only.
  • No chain-of-thought. The decision is a single forward pass by design. On questions that need multi-step reasoning, a larger generative model that can think will beat it.
  • High-entropy sources stay hard. Some sources sit near the majority-class baseline; the model is only as good as the label distribution it was taught.
  • Label quality is inherited. Soft targets come from the upstream dataset; where those are noisy, the model learns the noise.
  • Not a safety layer. Do not put this as the only gate on irreversible actions. Gate on confidence and escalate.

Published numbers from other projects

These come from other authors, on different test sets, and were not measured here. They are included for context and are not comparable to the tables above.

SourcePublishedTest set / protocol
laya-typed-decisions0.766LocalLLaMA/typed-decisions, its own 4-option workflow benchmark, fine-tuned on that benchmark's train split
Jev 1.13.00.727same LocalLLaMA/typed-decisions benchmark

For contrast, when those same Laya checkpoints are run by us on the 3-option task used throughout this card, they score 0.472 (zero-shot) and 0.487 (their fine-tune).

Links

Apache 2.0.

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

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

GPU в ailist

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

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

Подбираем GPU…

Класс архитектуры
Qwen3ForSequenceClassification
Ревизия весов
5a0a777

0 моделей