How to use from the
Use from the
MLX library
# Make sure mlx-lm is installed
# pip install --upgrade mlx-lm
# if on a CUDA device, also pip install mlx[cuda]

# Generate text with mlx-lm
from mlx_lm import load, generate

model, tokenizer = load("beingpax/VoiceInk-Refine-Mini")

prompt = "Once upon a time in"
text = generate(model, tokenizer, prompt=prompt, verbose=True)

VoiceInk Refine Mini

A compact model that cleans up speech-to-text transcripts on your Mac. It works in English, French, German, Spanish and Polish. It is a fine-tune of Qwen3.5-0.8B.

What it does

  • Removes fillers, accidental repetitions and abandoned phrases. That includes each language's own fillers ("euh", "ähm", "este", "yyy"…).
  • Applies spoken corrections, such as "on Tuesday, no, Thursday", "jeudi, non pardon, vendredi" or "w Å›rodÄ™, znaczy w czwartek".
  • Applies spoken punctuation and layout, such as "comma", "virgule", "Komma", "punto y aparte", "nowa linia".
  • Writes amounts, dates, times and IDs in each language's format, for example 1 250 €, 2.400 €, 23 de junio or 14:45.
  • Formats lists, emails and quotations, using each language's quote marks and email conventions.
  • Uses a spelled-out name when the speaker spells one.
  • Keeps the transcript's language and the speaker's wording, and returns only the cleaned text.

Folders

Folder Format Size Use
4bit/ MLX, 4-bit affine, group size 64 0.42 GB On-device inference. This is the version VoiceInk downloads
16bit/ Safetensors, bfloat16, merged weights 1.7 GB Re-quantizing, further fine-tuning, or other runtimes

Prompt

Pass the transcript as the user message, and use this exact system prompt:

Clean up this speech transcript: remove fillers and repetitions, apply spoken corrections and formatting. Return only the cleaned text in the same language.

Disable thinking and use temperature 0.3.

How to run

You need an Apple silicon Mac and an MLX runtime with Qwen3.5 support.

from huggingface_hub import snapshot_download
from mlx_lm import load, generate
from mlx_lm.sample_utils import make_sampler

path = snapshot_download("beingpax/VoiceInk-Refine-Mini", allow_patterns=["4bit/*"])
model, tokenizer = load(f"{path}/4bit")

SYSTEM = "Clean up this speech transcript: remove fillers and repetitions, apply spoken corrections and formatting. Return only the cleaned text in the same language."
messages = [
    {"role": "system", "content": SYSTEM},
    {"role": "user", "content": "euh on se retrouve jeudi non pardon vendredi devant la mairie"},
]
prompt = tokenizer.apply_chat_template(messages, tokenize=False, add_generation_prompt=True, enable_thinking=False)
print(generate(model, tokenizer, prompt=prompt, max_tokens=512, sampler=make_sampler(temp=0.3)))
# On se retrouve vendredi devant la mairie.

Allow enough output tokens for the full transcript. For the 16-bit model, use allow_patterns=["16bit/*"] and load f"{path}/16bit".

Limitations

  • Text only. It accepts text, not audio, and cannot recover words missing from the transcript.
  • Five languages. Other languages are not supported. Polish is the weakest of the five.
  • Numbers. It can still get large spoken numbers wrong, for example "quince mil" or "hundertachtzig". Check amounts, dates and names against the original transcript.
  • English small numbers. It sometimes turns small English numbers into digits, for example "twenty minutes" becomes "20 minutes".
  • Formatting edge cases. It can mishandle spelled names, negation, self-corrections, quotation boundaries and list layout.
  • Not for other tasks. It does not answer questions, summarize or rewrite the speaker's message.

Version history

  • 2026-12-01: added French, German, Spanish and Polish. A short system prompt replaces the previous one. Both a 4-bit and a 16-bit version are included.
  • 2026-10-28: first release, English only, 4-bit MLX at the repository root (revision d11278e).

License

Apache 2.0. Based on Qwen3.5-0.8B by the Qwen team, with modified weights for transcript cleanup. See LICENSE.

Downloads last month

-

Downloads are not tracked for this model. How to track
MLX
Hardware compatibility
Log In to add your hardware

4-bit

Inference Providers NEW
This model isn't deployed by any Inference Provider. 🙋 Ask for provider support

Model tree for beingpax/VoiceInk-Refine-Mini

Finetuned
(1,260)
this model