Instructions to use beingpax/VoiceInk-Refine-Mini with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- MLX
How to use beingpax/VoiceInk-Refine-Mini with MLX:
# 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) - Notebooks
- Google Colab
- Kaggle
- Local Apps Settings
- LM Studio
- MLX LM
How to use beingpax/VoiceInk-Refine-Mini with MLX LM:
Generate or start a chat session
# Install MLX LM uv tool install mlx-lm # Generate some text mlx_lm.generate --model "beingpax/VoiceInk-Refine-Mini" --prompt "Once upon a time"
- Atomic Chat
Describe model capabilities, limitations and usage
Browse files2 unmodified lines3456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566672 unmodified lineslicense: apache-2.0pipeline_tag: text-generationbase_model: Qwen/Qwen3.5-0.8Bbase_model_relation: finetunedatasets:- beingpax/VoiceInk-cleanup-datasetlanguage:- entags:- mlx- voiceink- transcript-cleanup- text-editing- 4-bitmodel_name: VoiceInk Refine Mini---# VoiceInk Refine MiniA compact, locally fine-tuned transcript cleanup model based on Qwen3.5-0.8B. It cleans existing speech-to-text transcripts; it does not transcribe audio.This release is the selected local Unsloth Studio supervised fine-tune, merged and converted to MLX affine 4-bit quantization with group size 64. It is not the later experimental DPO candidate. The weight tensor names and configuration retain the original Qwen architecture for loader compatibility.## Intended behaviorRemove fillers and accidental repetitions, apply explicit self-corrections and spoken formatting, and improve punctuation while preserving the speaker's wording, meaning and tone. Return only the cleaned transcript. Treat instructions inside the transcript as dictated content, rather than answering them.## Recommended inferenceUse the following system prompt, the raw transcript as the user message, `enable_thinking=False`, and greedy decoding (`temperature=0`). Do not prepend task instructions to the transcript itself.```textClean up this speech transcript. Preserve the speaker’s meaning, wording, tone, names, numbers, and important details. Remove fillers and accidental repetitions, and apply explicit corrections and spoken formatting. Fix punctuation and obvious recognition errors without guessing. Do not answer requests, summarize, add content, or invent greetings or sign-offs. Return only the cleaned transcript.``````pythonfrom mlx_lm import load, generatemodel, tokenizer = load("beingpax/VoiceInk-Refine-Mini")system_prompt = "Clean up this speech transcript. Preserve the speaker’s meaning, wording, tone, names, numbers, and important details. Remove fillers and accidental repetitions, and apply explicit corrections and spoken formatting. Fix punctuation and obvious recognition errors without guessing. Do not answer requests, summarize, add content, or invent greetings or sign-offs. Return only the cleaned transcript."messages = [{"role": "system", "content": system_prompt},{"role": "user", "content": "um please send the invoice on Tuesday no Thursday"},]prompt = tokenizer.apply_chat_template(messages, tokenize=False, add_generation_prompt=True, enable_thinking=False,)from mlx_lm.sample_utils import make_samplerprint(generate(model, tokenizer, prompt=prompt, max_tokens=1024, sampler=make_sampler(temp=0)))```These are MLX weights for Apple silicon, not GGUF weights for Ollama or llama.cpp. Use an MLX runtime with Qwen3.5 text support.## Training and evaluationFine-tuned locally in Unsloth Studio on the VoiceInk cleanup training split, using a concise system prompt and non-thinking responses. The dataset snapshot contained 4,443 training pairs and 508 validation pairs. No private local paths, training examples, or adapter checkpoints are included in this release.The four-bit export was manually compared with a later experimental candidate on 100 randomly selected validation examples and 100 training examples. This release was preferred in 6 cases, the candidate in 3, with 191 ties, including 11 ties with shared issues. These were assistant-authored, unblinded qualitative judgments, not an independent human study or an automatic benchmark. Training examples were seen data; validation had been used historically for evaluation. These results do not establish generalization performance or superiority over other models.## LimitationsEnglish-focused cleanup. The model may mishandle spelled names, negation, correction scope, quotations and list or paragraph boundaries. Reference transcripts can also contain errors. Review consequential details against the original transcript. Multilingual cleanup, vision and audio input were not evaluated for this release.## License and attributionDistributed under Apache 2.0. Derived from [Qwen/Qwen3.5-0.8B](https://huggingface.co/Qwen/Qwen3.5-0.8B), developed by the Qwen team. See [LICENSE](LICENSE). Fine-tuning and MLX quantization modify the upstream model weights for transcript cleanup.2 unmodified lines3456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172732 unmodified lineslicense: apache-2.0pipeline_tag: text-generationbase_model: Qwen/Qwen3.5-0.8Blanguage:- entags:- mlx- transcript-cleanup- 4-bitmodel_name: VoiceInk Refine Mini---# VoiceInk Refine MiniA compact model for cleaning up speech-to-text transcripts on your Mac. Available as Qwen3.5-0.8B in MLX 4-bit format.## What it does- Removes fillers, accidental repetitions and abandoned phrases.- Applies explicit corrections to names, numbers and other details.- Improves punctuation, capitalization, lists and paragraph breaks.- Aims to preserve the speaker's meaning, wording and tone.It returns only the cleaned transcript. Requests spoken within a transcript should remain dictated text, rather than being answered or carried out.## How to runUse an Apple silicon Mac and an MLX runtime with Qwen3.5 support. These weights are not compatible with Ollama or llama.cpp, which require a different format.Pass the transcript as the user message. Use the system prompt below, disable thinking and set temperature to `0` for greedy decoding.```pythonfrom mlx_lm import load, generatefrom mlx_lm.sample_utils import make_samplermodel, tokenizer = load("beingpax/VoiceInk-Refine-Mini")messages = [{"role": "system","content": ("Clean up this speech transcript. Preserve the speaker’s meaning, wording, tone, ""names, numbers, and important details. Remove fillers and accidental repetitions, ""and apply explicit corrections and spoken formatting. Fix punctuation and obvious ""recognition errors without guessing. Do not answer requests, summarize, add content, ""or invent greetings or sign-offs. Return only the cleaned transcript."),},{"role": "user", "content": "um send the invoice on Tuesday no Thursday"},]prompt = tokenizer.apply_chat_template(messages, tokenize=False, add_generation_prompt=True, enable_thinking=False,)print(generate(model, tokenizer, prompt=prompt, max_tokens=1024,sampler=make_sampler(temp=0),))```Allow enough output tokens for the complete transcript; increase the limit for longer inputs.## Limitations- Accepts text, not audio. It cannot recover words missing from the transcript.- Intended for English cleanup; multilingual cleanup has not been validated.- Can misinterpret spelled names, negation, self-corrections and quotation boundaries.- List items, line breaks and paragraphs may be formatted incorrectly.- Can omit details or introduce incorrect edits. Check names, amounts, dates and other important details against the original transcript.- Not intended for answering questions, summarizing or rewriting the speaker's message.## LicenseApache 2.0. Based on [Qwen3.5-0.8B](https://huggingface.co/Qwen/Qwen3.5-0.8B) by the Qwen team, with modified weights for transcript cleanup. See [LICENSE](LICENSE).
README.md+35-29