Fine-tuned
Qwen2.5-0.5B-Instruct for routing student speech during live
assignment defense oral assessments. Runs on
CPU via
llama-cpp-python — no GPU required.
1from huggingface_hub import hf_hub_download
2
3gguf = hf_hub_download(
4 repo_id="yiyuliu/voice-command-intent-qwen0.5b",
5 filename="voice-command-intent-qwen0.5b-Q3_K_M.gguf",
6)
1cd inference
2pip install -e .
1from tinylm.inference import VoiceCommandClassifier
2from tinylm.prompts import QuestionRecord
3
4clf = VoiceCommandClassifier("voice-command-intent-qwen0.5b-Q3_K_M.gguf")
5
6result = clf.classify(
7 questions=[
8 QuestionRecord("q1", "remember", "answered"),
9 QuestionRecord("q2", "understand", "answered", focus="technical debt"),
10 QuestionRecord("q3", "apply", "current"),
11 ],
12 current_question_id="q3",
13 utterance="could I correct my previous question",
14 subject="Computer Science",
15)
16
17print(result.to_action())
18# {"action": "navigate", "target_question_id": "q2"}
1cd inference
2python smoke_test.py
Questions follow Bloom's taxonomy: remember → understand → apply → analyze → evaluate → create.