/ Модель

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

Лицензия
Apache 2.0
Базовая модель
Qwen3-0.6B
Опубликована
1 дек 2026

massive-qwen3-0.6b-grpo-gguf

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

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

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

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

MASSIVE voice-command parser — компактная модель проекта Mikan для преобразования запросов голосовому помощнику в структурированный JSON с намерением пользователя и слотами, например датой, временем или местом. Она предназначена для разбора запросов на английском языке из набора MASSIVE: README описывает 60 типов намерений и сообщает, что точное совпадение всего ответа на тесте en-US составило 64,1%.

Модель принимает текст запроса; распознавание аудио в её задачи не входит. Это дообученная Qwen/Qwen3-0.6B: LoRA-адаптер обучили на ответах более крупной модели Qwen3-30B-A3B с дополнительной оптимизацией GRPO, затем слили с базовой моделью и преобразовали в GGUF с квантизацией Q4_K_M. Файл размером 397 МБ рассчитан на запуск через llama.cpp на CPU; README указывает медианное время ответа 1,7 секунды на двух виртуальных CPU.

Для корректного разбора используется ограничение формата грамматикой llama.cpp. Модель подходит для локальной классификации команд и извлечения параметров перед передачей запроса приложению. Её точность ограничена: на описанном тесте точный разбор получался примерно для 64 из 100 запросов, причём ошибка в любом поле считалась ошибкой всего ответа. Доступна по лицензии Apache-2.0.

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

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

Ограничения

На тестовом наборе MASSIVE en-US точное совпадение всего разбора составило 64,1%, поэтому отдельные намерения или слоты могут быть ошибочными. Модель предназначена для узкой задачи и ожидает текстовый запрос; для воспроизведения описанного результата используется ограничение вывода грамматикой llama.cpp.

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

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

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

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

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

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

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

Открыть на Hugging Face

MASSIVE voice-command parser · Qwen3-0.6B · 4-bit file for CPUs (GGUF)

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 64 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. This version is a single 397 MB file and answers in about 1.7 seconds on an ordinary 2-core CPU, with no GPU.

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 397 MB, at a cost of 0.7 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: 64.1% 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-gguf (this model)Qwen3-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-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

Install llama-cpp-python (pip install llama-cpp-python huggingface_hub); the script below downloads the file and answers one request. The prompt is a short system message with no intent or slot lists, in Qwen3's chat format with thinking off. Decoding is constrained with a llama.cpp grammar, as in the evaluation.

import json
from huggingface_hub import hf_hub_download
from llama_cpp import Llama, LlamaGrammar

llm = Llama(hf_hub_download("mikan-research/massive-qwen3-0.6b-grpo-gguf", "massive-qwen3-0.6b-grpo-gguf-Q4_K_M.gguf"), n_ctx=1024, verbose=False)
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}}}
grammar = LlamaGrammar.from_json_schema(json.dumps(schema))

def prompt(text):  # Qwen3 chat format, thinking off, exactly as in training
    return ("<|im_start|>system\nParse the voice-assistant request into a JSON frame with its intent and slots. Reply with the JSON only.<|im_end|>\n"
            f"<|im_start|>user\n{text}<|im_end|>\n<|im_start|>assistant\n<think>\n\n</think>\n\n")

out = llm.create_completion(prompt("wake me up at nine am on friday"), max_tokens=96, temperature=0, grammar=grammar)
print(out["choices"][0]["text"])

Technical details

The LoRA adapter mikan-research/massive-qwen3-0.6b-grpo-lora merged into Qwen/Qwen3-0.6B, converted to GGUF and quantized to Q4_K_M with llama.cpp, for CPU inference. 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 W4A16 version for vLLM on GPU is mikan-research/massive-qwen3-0.6b-grpo-w4a16.

Try it in the demo Space, which runs this file in your browser with wllama (llama.cpp in WebAssembly; its llama.cpp build is newer than the evaluation's, so a few outputs differ: 93% (frames) and 98% (banking) identical on 300 validation items, same accuracy).

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

Exact frame match
This model (Q4_K_M, llama.cpp, grammar-constrained)64.1%
W4A16 version (vLLM)63.4%
Unquantized adapter64.8%
Teacher (Qwen3-30B-A3B-Instruct-2507, 4-bit GPTQ, 8 retrieved examples)64.4%

Gap (teacher - this model): 0.3 points, 95% paired bootstrap CI [-1.3, 2.0]. Non-inferiority margin 3 points: PASS. Cost of quantization (unquantized adapter - this model): 0.7 points [-0.3, 1.8], McNemar p = 0.18. Valid outputs 100.00%. The quantization recipe and the decision rule were fixed before the test split was predicted, once; see configs/phase4.json in the repository.

Speed: 1.70 s per request (median; p95 3.31 s) on 2 vCPUs with 2 threads, one request at a time, measured on Modal CPU containers during the test-split run.

Conversion

The merged bf16 model was converted with convert_hf_to_gguf.py (--outtype bf16) at llama.cpp commit f5e6915c2 and quantized to Q4_K_M with default parameters (no importance matrix) through llama-cpp-python 0.3.38, which bundles that commit. File: massive-qwen3-0.6b-grpo-gguf-Q4_K_M.gguf, 0.40 GB, SHA-256 89c56389e8be61a8e340b1df17638d253bde154d1819394970cc6435bedcf8e6.

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

llama.cpp

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

GGUF-модель ждёт проверки: нужно выбрать файл кванта под доступные GPU.

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

0 моделей