/ Модель

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

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

massive-qwen3-1.7b-grpo-w4a16

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

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

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

Компактная квантованная модель Qwen3 для преобразования англоязычных команд голосовому ассистенту в JSON с намерением и извлечёнными параметрами.

MASSIVE voice-command parser — это дообученная Mikan модель на базе Qwen3-1.7B, предназначенная для разбора запросов голосовому ассистенту в структурированный JSON. Она определяет одно из 60 намерений, например установку напоминания или заказ такси, и извлекает связанные параметры: дату, время, место и другие детали. Модель принимает текст запроса; распознавание аудио в её задачи не входит.

Модель содержит 1,7 млрд параметров и использует архитектуру Qwen3 с плотной причинной языковой моделью. Веса квантованы до 4 бит по схеме GPTQ W4A16 и сохранены в формате compressed-tensors для подачи через vLLM; в README указан размер 1,97 ГБ. Обучение выполнено на примерах датасета MASSIVE и синтетических данных, созданных большой моделью, с последующим обучением с подкреплением. Для контроля формата ответа применяется ограниченное декодирование по JSON-схеме.

На тестовой выборке MASSIVE en-US модель достигла точного совпадения всего JSON-ответа в 65,4% случаев. Она рассчитана на массовую обработку команд голосового ассистента на GPU-сервере, когда приложению нужны готовые к выполнению намерение и параметры. Лицензия — Apache-2.0. README сообщает о редких некорректных значениях полей при ограниченном декодировании на старых версиях vLLM и xgrammar; для таких окружений рекомендуется проверять ответы перед использованием.

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

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

Ограничения

На тесте MASSIVE en-US точное совпадение полного JSON-ответа составило 65,4%, поэтому отдельные намерения или параметры могут быть ошибочными. На старых версиях vLLM и xgrammar ограниченное декодирование может пропускать недопустимые значения перечислений; такие ответы следует валидировать.

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

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

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

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

Источники: 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

MASSIVE voice-command parser · Qwen3-1.7B · 4-bit for GPU servers (vLLM)

Turns a spoken request to a voice assistant into a structured form a program can act on. 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 request, such as you might say to a smart speaker, and writes down what the person wants (the intent, one of 60, such as setting a reminder or booking a taxi) and the details needed to do it (the slots, such as a date, a time or a place). The answer is JSON, so an app can act on it directly.

MessageAnswer (JSON)
remind me about the party tomorrow{"intent": "calendar_set", "slots": [{"type": "event_name", "value": "party"}, {"type": "date", "value": "tomorrow"}]}
book me a taxi to leith in half an hour{"intent": "transport_taxi", "slots": [{"type": "transport_type", "value": "taxi"}, {"type": "place_name", "value": "leith"}, {"type": "time", "value": "half an hour"}]}

On a test it had never seen, its answer is exactly right, intent and every detail, for about 65 of every 100 requests.

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 18 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 7 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 11,255 example voice requests. Its answers became the lessons, so no one had to label the examples by hand.
  2. The small model, Qwen/Qwen3-1.7B, 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. Then it practised: for each request it tried several answers and was rewarded for the ones closest to the large model's, which made it a little more accurate.
  4. Its numbers were stored with 4 bits instead of 16, shrinking it from 3.44 GB to 1.97 GB, at a cost of no measurable accuracy.
  5. 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 3 points less accurate than the large model. Both were then tested once on 2,974 voice requests with answers checked by people, which neither had seen. Result: 65.4% against the large model's 64.4%, so it passed. This is a strict test: one wrong or missing detail makes the whole answer count as wrong, which is why the scores are lower than for simpler tasks, the large model's included.

Which version to pick

All versions below do the same job. The score is the exact match on the same 2,974-item test (the large model: 64.4%).

VersionBase modelWhat it isPick it ifScore
mikan-research/massive-qwen3-0.6b-grpo-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 GPU64.1%
mikan-research/massive-qwen3-0.6b-grpo-w4a16Qwen3-0.6B4-bit model (850 MB) for vLLM on a GPUyou answer many requests from a GPU server63.4%
mikan-research/massive-qwen3-1.7b-grpo-w4a16 (this model)Qwen3-1.7B4-bit model (1.97 GB) for vLLM on a GPUyou answer many requests from a GPU server65.4%
mikan-research/massive-qwen3-1.7b-grpo-loraQwen3-1.7BAdd-on (LoRA adapter, 70 MB) for the open Qwen/Qwen3-1.7B modelyou want to train it further or work in Python with transformers65.7%
mikan-research/massive-qwen3-0.6b-grpo-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 transformers64.8%

Not sure? Start with mikan-research/massive-qwen3-0.6b-grpo-gguf: it runs on a laptop and you can try it in the demo Space first. On a GPU server, mikan-research/massive-qwen3-1.7b-grpo-w4a16 is the most accurate ready-to-serve version (65.4%); compressing the 0.6B model to that format cost it more.

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 intent or slot lists; thinking is off. Decoding is constrained to the frame JSON schema, as in the evaluation.

vllm serve mikan-research/massive-qwen3-1.7b-grpo-w4a16 --max-model-len 1024
from huggingface_hub import hf_hub_download
from openai import OpenAI

def read(name):
    return open(hf_hub_download("mikan-research/massive-distill", f"massive/{name}", repo_type="dataset")).read().split()

slot = {"type": "object", "required": ["type", "value"], "additionalProperties": False,
        "properties": {"type": {"type": "string", "enum": read("slot_types.txt")},
                       "value": {"type": "string", "minLength": 1}}}
schema = {"type": "object", "required": ["intent", "slots"], "additionalProperties": False,
          "properties": {"intent": {"type": "string", "enum": read("intents.txt")},
                         "slots": {"type": "array", "items": slot}}}
client = OpenAI(base_url="http://localhost:8000/v1", api_key="none")
r = client.chat.completions.create(
    model="mikan-research/massive-qwen3-1.7b-grpo-w4a16", temperature=0, max_tokens=96,
    messages=[{"role": "system", "content": "Parse the voice-assistant request into a JSON frame with its intent and slots. Reply with the JSON only."},
              {"role": "user", "content": "wake me up at nine am on friday"}],
    extra_body={"structured_outputs": {"json": schema}, "chat_template_kwargs": {"enable_thinking": False}})
print(r.choices[0].message.content)

Technical details

The LoRA adapter mikan-research/massive-qwen3-1.7b-grpo-lora merged into Qwen/Qwen3-1.7B 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/massive-distill. For CPU use, mikan-research/massive-qwen3-0.6b-grpo-gguf is the recommended GGUF file (more accurate at that format).

Results (MASSIVE en-US test split, 2,974 items, ground-truth frames)

Exact frame match
This model (4-bit, vLLM, constrained decoding)65.4%
Unquantized adapter65.7%
Teacher (Qwen3-30B-A3B-Instruct-2507, 4-bit GPTQ, 8 retrieved examples)64.4%

Gap (teacher - this model): -1.0 points, 95% paired bootstrap CI [-2.7, 0.6]. Non-inferiority margin 3 points: PASS. Cost of quantization (unquantized adapter - this model): 0.3 points [-0.5, 1.0], McNemar p = 0.49. Valid frames 99.97%: decoding was constrained to the frame JSON schema, but 1 output still used an intent or slot type outside it, because the xgrammar version in vLLM 0.13 (vLLM's default grammar backend) also accepts crossed values for some string enums (for example takeaway_addcontact from email_addcontact and takeaway_query). Such outputs count as wrong. This is xgrammar issue #618, fixed in xgrammar 0.2.1, which vLLM requires from 0.24; on older versions, validate outputs before use. 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 modelL4203 / 382 ms1200.0026
Teacher (JunHowie/Qwen3-30B-A3B-Instruct-2507-GPTQ-Int4)L40S202 / 351 ms390.0182

The teacher's prompt is 802 tokens on average (retrieved examples per request); this model's is 46.

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 frame), never validation or test items. Weights: 3.44 GB in bf16, 1.97 GB quantized (the embedding matrix stays bf16). recipe.yaml is the llm-compressor recipe.

MASSIVE (Amazon, CC-BY-4.0): FitzGerald et al., 2022, "MASSIVE: A 1M-Example Multilingual Natural Language Understanding Dataset with 51 Typologically-Diverse Languages".

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

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

GPU в ailist

vLLM

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

Подбираем GPU…

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

0 моделей