Views
No views yet
Special-purpose model. This checkpoint does exactly one job: cleaning up speech-to-text output under fixed system prompts and a strict JSON output contract ({"result": "..."}). It is not a general-purpose chat or instruction model; off-task use (open-ended chat, question answering) is unsupported and will underperform the base model. All Yooz task models are collected in Yooz Working Models; for general-purpose local LLMs see Lean QAT MLX.
1import json
2from mlx_lm import load, generate
3
4model, tokenizer = load("YoozLabs/Yooz-Quality-v2.1-Qwen3.5-0.8B")
5
6PROOFREAD_SYSTEM = (
7 "You are a copy editor. Proofread the speech-to-text transcription provided by the "
8 "user. Fix spelling, punctuation, capitalization, and obvious word-choice errors "
9 "caused by the speech-to-text engine. Convert spoken numbers to digits where it "
10 "improves clarity (e.g. \"nine am\" -> \"9 AM\"). Keep the speaker's voice; do NOT "
11 "rephrase or remove filler words (um, uh, like). "
12 "Output ONLY a single JSON object of the form {\"result\": \"<corrected>\"} where "
13 "<corrected> is the actual corrected text. No explanation, no markdown."
14)
15
16raw_stt = "um so the meeting is at nine am tomorow with sarah from product"
17
18prompt = tokenizer.apply_chat_template(
19 [{"role": "system", "content": PROOFREAD_SYSTEM},
20 {"role": "user", "content": raw_stt}],
21 add_generation_prompt=True, tokenize=False,
22)
23response = generate(model, tokenizer, prompt=prompt, max_tokens=320)
24print(json.loads(response)["result"])
25# Um, so the meeting is at 9 AM tomorrow with Sarah from Product.