/ Модель

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

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

banking77-qwen3-0.6b-w4a16

Генерация текстаТекст → текст
374скачиваний за 30 дней0лайковвеса обновлены1 дек 2026

Описание модели

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

Компактная квантованная Qwen3 для классификации коротких обращений клиентов банка по 77 категориям Banking77 и маршрутизации поддержки.

Mодель mikan-research, созданная в проекте Mikan для классификации намерений клиентов онлайн-банка. Она принимает короткое сообщение и выбирает один из 77 фиксированных типов запросов Banking77, например о доставке карты, неверном курсе обмена или ожидающем снятии наличных. Результат можно использовать для маршрутизации обращений в службу поддержки или подбора подходящей справочной статьи.

Это плотная авторегрессионная модель Qwen3ForCausalLM на базе Qwen/Qwen3-0.6B с 507,9 млн параметров. Модель дообучена с помощью LoRA на ответах более крупной модели, затем адаптер объединён с базой и веса квантованы методом GPTQ W4A16 до 4 бит для запуска через vLLM на GPU. Контекст модели — 40 960 токенов, однако её целевой сценарий — короткие сообщения. Для заявленной точности 85,0% на тесте авторы использовали декодирование, ограниченное 77 метками; в обычном использовании такое ограничение следует учитывать.

В тесте на 3 080 сообщениях точность составила 85,0%; авторы сообщают о прохождении заранее заданной проверки не меньшей эффективности относительно модели-учителя. README не заявляет поддержку иных задач или языков, кроме сценария Banking77. Модель распространяется по лицензии Apache-2.0.

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

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

Ограничения

На тесте Banking77 точность составила 85,0%, поэтому часть запросов будет классифицирована неверно. Для воспроизведения заявленного сценария требуется ограничивать декодирование набором из 77 меток; поддержка других задач и языков не заявлена.

Публичные бенчмарки

Результаты из открытых лидербордов в сравнении с лидерами каталога

Публичных оценок пока нет

В подключённых источниках результатов этой модели не нашлось. Отсутствие оценки не значит, что модель хуже: её могли просто не проверять.

Источники: Hugging Face Leaderboards, Hugging Face Eval Results, Open LLM v2, MTEB, timm, Open ASR, EvalPlus, LLM Stats

Бенчмарки пользователейпока нет

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

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

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

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

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

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

    Модели ответят на каждую задачу, судья оценит ответы по шкале 0–100.

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

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

Открыть на Hugging Face

Banking77 intent classifier · Qwen3-0.6B · 4-bit for GPU servers (vLLM)

Reads a message a customer sent to an online bank and says what they want. Made with Mikan, an open-source project that teaches a small model one narrow job from a large model, then checks fairly that it does the job about as well.

What it does

It reads one short message and picks what the customer is asking about from a fixed list of 77 request types, such as a card that has not arrived, a wrong exchange rate or a pending cash withdrawal. A support system can use the answer to send the message to the right team or the right help article.

MessageAnswer
I still have not received my new card, I ordered over a week ago.card_arrival
The rate applied to my foreign purchase was incorrectcard_payment_wrong_exchange_rate
Why does my account have a pending cash withdrawal?pending_cash_withdrawal

On a test it had never seen, it picks the right request type for about 85 of every 100 messages.

Why it exists

Large AI models can already do this well, but they are expensive to run, slow, and usually mean sending your users' text to someone else's server. This model is about 50 times smaller than the large model it learned from, so it is cheap enough to run on your own hardware, and the test below shows it is about as accurate. On a GPU server this version costs about 9 times less per request than the large model.

How it was made

  1. A large model, Qwen3-30B-A3B (an open model with 30 billion parameters), answered 8,222 example customer messages. Its answers became the lessons, so no one had to label the examples by hand.
  2. The small model, Qwen/Qwen3-0.6B, studied those answers until it gave the same ones. Only a small add-on was trained (LoRA), not the whole model, so this fits on one free GPU.
  3. Its numbers were stored with 4 bits instead of 16, shrinking it from 1.19 GB to 850 MB, at a cost of 0.6 points of accuracy.
  4. A fair test, with the rule fixed in advance. Before any training, we wrote down a pass rule: the small model passes if, with 95% confidence, it is at most 2 points less accurate than the large model. Both were then tested once on 3,080 customer messages with answers checked by people, which neither had seen. Result: 85.0% against the large model's 85.6%, so it passed.

Which version to pick

All versions below do the same job. The score is the accuracy on the same 3,080-item test (the large model: 85.6%).

VersionBase modelWhat it isPick it ifScore
mikan-research/banking77-qwen3-0.6b-ggufQwen3-0.6BSingle 4-bit file (397 MB) for llama.cpp on a CPUyou want to run it on a laptop or any computer without a GPU84.9%
mikan-research/banking77-qwen3-0.6b-w4a16 (this model)Qwen3-0.6B4-bit model (850 MB) for vLLM on a GPUyou answer many requests from a GPU server85.0%
mikan-research/banking77-qwen3-0.6b-loraQwen3-0.6BAdd-on (LoRA adapter, 40 MB) for the open Qwen/Qwen3-0.6B modelyou want to train it further or work in Python with transformers85.6%

Not sure? Start with mikan-research/banking77-qwen3-0.6b-gguf: it runs on a laptop and you can try it in the demo Space first. Larger 1.7B and 4B students scored about the same on this task; their test predictions are in mikan-research/banking77-distill.

How to use it

Serve it with vLLM and call it like any OpenAI-compatible API. The prompt is a short system message with no label list; thinking is off. Decoding is constrained to the 77 labels, as in the evaluation.

vllm serve mikan-research/banking77-qwen3-0.6b-w4a16 --max-model-len 1024
from huggingface_hub import hf_hub_download
from openai import OpenAI

labels = open(hf_hub_download("mikan-research/banking77-distill", "banking77/labels.txt", repo_type="dataset")).read().split()
client = OpenAI(base_url="http://localhost:8000/v1", api_key="none")
r = client.chat.completions.create(
    model="mikan-research/banking77-qwen3-0.6b-w4a16", temperature=0, max_tokens=24,
    messages=[{"role": "system", "content": "Classify the online-banking customer message into exactly one intent. Reply with the intent label only."},
              {"role": "user", "content": "I still have not received my new card"}],
    extra_body={"structured_outputs": {"choice": labels}, "chat_template_kwargs": {"enable_thinking": False}})
print(r.choices[0].message.content)

Technical details

The LoRA adapter mikan-research/banking77-qwen3-0.6b-lora merged into Qwen/Qwen3-0.6B and quantized to 4-bit weights (GPTQ, W4A16, group size 128) in compressed-tensors format, for serving with vLLM. Part of Mikan, a pipeline that distils a large model's behaviour on one narrow task into a small model and tests non-inferiority with a pre-registered margin. How to reproduce or train: contributing guide. Data and predictions: mikan-research/banking77-distill. A GGUF version for llama.cpp on CPU is mikan-research/banking77-qwen3-0.6b-gguf. Try the GGUF version in your browser in the demo Space.

Results (Banking77 test split, 3,080 items, ground truth)

Accuracy
This model (4-bit, vLLM, constrained decoding)85.0%
Unquantized adapter85.6%
Teacher (Qwen3-30B-A3B-Instruct-2507-FP8, 10-shot)85.6%

Gap (teacher - this model): 0.6 points, 95% paired bootstrap CI [-0.2, 1.5]. Non-inferiority margin 2 points: PASS. Cost of quantization (unquantized adapter - this model): 0.6 points [0.1, 1.1], McNemar p = 0.03. The quantization recipe and the decision rule were fixed before the test split was predicted, once; see configs/phase4.json in the repository.

Serving

Measured with vllm serve (vLLM 0.13) on one GPU on Modal, with validation inputs. Cost is Modal's hourly rate for the container (GPU, CPU and memory) times the time to answer 768 requests at 64 concurrent, excluding start-up.

GPULatency p50 / p95, one request at a timeRequests per second, 64 concurrent$ per 1,000 calls
This modelL433 / 42 ms2550.0012
Teacher (Qwen/Qwen3-30B-A3B-Instruct-2507-FP8)L40S140 / 168 ms660.0109

The teacher's prompt is 18,063 tokens on average (a shared prefix of labels and examples, cached); this model's is 51.

Quantization

LoRA merged into the bf16 base with PEFT merge_and_unload, then GPTQ W4A16 (group size 128, lm_head kept in bf16) with llm-compressor 0.8.1 (compressed-tensors 0.12.2). Calibration: 512 training items in the training format (the student prompt plus the teacher's label), never validation or test items. Weights: 1.19 GB in bf16, 0.85 GB quantized (the embedding matrix stays bf16). recipe.yaml is the llm-compressor recipe.

Banking77 (PolyAI, CC-BY-4.0): Casanueva et al., 2020, "Efficient Intent Detection with Dual Sentence Encoders".

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

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

GPU в ailist

vLLM

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

Подбираем GPU…

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

0 моделей