Results (MASSIVE en-US test split, 2,974 items, ground-truth frames)
Table with columns: Exact frame match | Exact frame match |
|---|
| This adapter | 72.1% |
| Teacher (Qwen3-30B-A3B-Instruct-2507, 4-bit GPTQ, 8 retrieved examples) | 64.4% |
Gap (teacher - student): -7.8 points, 95% paired bootstrap CI [-9.4, -6.1].
Non-inferiority margin 3 points: PASS. Valid frames 99.8% (nearly all of the rest use an intent
or slot type outside the schema, which constrained decoding removes). Exact match requires the intent and every
(slot type, value) pair to equal gold.
Usage
The prompt is a short system message with no intent or slot lists; thinking is off.
from peft import PeftModelfrom transformers import AutoModelForCausalLM, AutoTokenizer tok = AutoTokenizer.from_pretrained("mikan-research/massive-qwen3-1.7b-gold-lora")model = PeftModel.from_pretrained(AutoModelForCausalLM.from_pretrained("Qwen/Qwen3-1.7B", torch_dtype="auto"), "mikan-research/massive-qwen3-1.7b-gold-lora")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"}]ids = tok.apply_chat_template(messages, add_generation_prompt=True, enable_thinking=False, return_tensors="pt")print(tok.decode(model.generate(ids, max_new_tokens=96, do_sample=False)[0, ids.shape[1]:], skip_special_tokens=True))
Training
LoRA SFT, r=16, alpha=32, all linear projections, lr 0.0002 cosine, 3 epochs, batch 32, fp16, 8-bit AdamW, loss on the completion only. Checkpoint chosen on val exact match: epoch 3. Unsloth 2026.11.12 + TRL 1.19.0 on one Tesla T4. meta.json has the per-checkpoint validation scores.
MASSIVE (Amazon, CC-BY-4.0): FitzGerald et al., 2022, "MASSIVE: A 1M-Example Multilingual Natural Language
Understanding Dataset with 51 Typologically-Diverse Languages".