/ Модель

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

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

massive-qwen3-0.6b-grpo-w4a16

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

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

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

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

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

Модель основана на плотной авторегрессионной архитектуре Qwen3ForCausalLM и содержит 507,9 млн параметров. Это дообученная Qwen/Qwen3-0.6B: поведение большой модели перенесли на примерах, затем применили GRPO и объединили LoRA-адаптер с базовой моделью. Данная версия квантизирована до 4 бит (GPTQ W4A16, group size 128) в формате compressed-tensors и предназначена для обслуживания через vLLM на GPU; контекст модели — 40 960 токенов. В тесте на английских запросах MASSIVE en-US точное совпадение всего JSON-ответа составило 63,4%; структурированное декодирование помогает соблюдать JSON-схему, но тест выявил отдельный некорректный тип значения enum в некоторых версиях vLLM и xgrammar.

Модель подходит для интеграции в голосовых помощников и другие приложения, которым нужно преобразовать текстовую команду в машинно-читаемое намерение и параметры. Датасет и приведённая оценка относятся к английскому en-US, поэтому результаты для других языков не подтверждены. Лицензия — Apache-2.0.

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

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

Ограничения

Показатель точного совпадения полного ответа на тесте MASSIVE en-US составляет 63,4%, поэтому ошибки в намерении или любом параметре делают ответ неверным. В версиях vLLM с устаревшим xgrammar возможны значения enum, нарушающие смысл схемы; такие ответы следует валидировать.

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

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

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

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

Источники: 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-0.6B · 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 63 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 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 8 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-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. 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 1.19 GB to 850 MB, at a cost of 1.3 points of 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: 63.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-w4a16 (this model)Qwen3-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-w4a16Qwen3-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-0.6b-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-0.6b-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-0.6b-grpo-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/massive-distill. A GGUF version for llama.cpp on CPU is mikan-research/massive-qwen3-0.6b-grpo-gguf. Try the GGUF version in your browser in the demo Space.

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

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

Gap (teacher - this model): 0.9 points, 95% paired bootstrap CI [-0.7, 2.5]. Non-inferiority margin 3 points: PASS. Cost of quantization (unquantized adapter - this model): 1.3 points [0.5, 2.2], McNemar p = 0.0021. 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 modelL4135 / 253 ms1350.0023
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: 1.19 GB in bf16, 0.85 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
Ревизия весов
cc0f9d8

0 моделей