Instructions to use VoiceScribe/qwen3-5-0.8b-dictation-corrector-mlx-mxfp4-g32 with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- MLX
How to use VoiceScribe/qwen3-5-0.8b-dictation-corrector-mlx-mxfp4-g32 with MLX:
# Make sure mlx-lm is installed # pip install --upgrade mlx-lm # Generate text with mlx-lm from mlx_lm import load, generate model, tokenizer = load("VoiceScribe/qwen3-5-0.8b-dictation-corrector-mlx-mxfp4-g32") prompt = "Write a story about Einstein" messages = [{"role": "user", "content": prompt}] prompt = tokenizer.apply_chat_template( messages, add_generation_prompt=True ) text = generate(model, tokenizer, prompt=prompt, verbose=True) - Notebooks
- Google Colab
- Kaggle
- Local Apps Settings
- LM Studio
- Pi
How to use VoiceScribe/qwen3-5-0.8b-dictation-corrector-mlx-mxfp4-g32 with Pi:
Start the MLX server
# Install MLX LM: uv tool install mlx-lm # Start a local OpenAI-compatible server: mlx_lm.server --model "VoiceScribe/qwen3-5-0.8b-dictation-corrector-mlx-mxfp4-g32"
Configure the model in Pi
# Install Pi: npm install -g @mariozechner/pi-coding-agent # Add to ~/.pi/agent/models.json: { "providers": { "mlx-lm": { "baseUrl": "http://localhost:8080/v1", "api": "openai-completions", "apiKey": "none", "models": [ { "id": "VoiceScribe/qwen3-5-0.8b-dictation-corrector-mlx-mxfp4-g32" } ] } } }Run Pi
# Start Pi in your project directory: pi
- OpenClaw new
How to use VoiceScribe/qwen3-5-0.8b-dictation-corrector-mlx-mxfp4-g32 with OpenClaw:
Start the MLX server
# Install MLX LM: uv tool install mlx-lm # Start a local OpenAI-compatible server: mlx_lm.server --model "VoiceScribe/qwen3-5-0.8b-dictation-corrector-mlx-mxfp4-g32"
Configure OpenClaw
# Install OpenClaw: npm install -g openclaw@latest # Register the local server and set it as the default model: openclaw onboard --non-interactive --mode local \ --auth-choice custom-api-key \ --custom-base-url http://127.0.0.1:8080/v1 \ --custom-model-id "VoiceScribe/qwen3-5-0.8b-dictation-corrector-mlx-mxfp4-g32" \ --custom-provider-id mlx-lm \ --custom-compatibility openai \ --custom-text-input \ --accept-risk \ --skip-health
Run OpenClaw
openclaw agent --local --agent main --message "Hello from Hugging Face"
- MLX LM
How to use VoiceScribe/qwen3-5-0.8b-dictation-corrector-mlx-mxfp4-g32 with MLX LM:
Generate or start a chat session
# Install MLX LM uv tool install mlx-lm # Interactive chat REPL mlx_lm.chat --model "VoiceScribe/qwen3-5-0.8b-dictation-corrector-mlx-mxfp4-g32"
Run an OpenAI-compatible server
# Install MLX LM uv tool install mlx-lm # Start the server mlx_lm.server --model "VoiceScribe/qwen3-5-0.8b-dictation-corrector-mlx-mxfp4-g32" # Calling the OpenAI-compatible server with curl curl -X POST "http://localhost:8000/v1/chat/completions" \ -H "Content-Type: application/json" \ --data '{ "model": "VoiceScribe/qwen3-5-0.8b-dictation-corrector-mlx-mxfp4-g32", "messages": [ {"role": "user", "content": "Hello"} ] }' - Hermes Agent
How to use VoiceScribe/qwen3-5-0.8b-dictation-corrector-mlx-mxfp4-g32 with Hermes Agent:
Start the MLX server
# Install MLX LM: uv tool install mlx-lm # Start a local OpenAI-compatible server: mlx_lm.server --model "VoiceScribe/qwen3-5-0.8b-dictation-corrector-mlx-mxfp4-g32"
Configure Hermes
# Install Hermes: curl -fsSL https://hermes-agent.nousresearch.com/install.sh | bash hermes setup # Point Hermes at the local server: hermes config set model.provider custom hermes config set model.base_url http://127.0.0.1:8080/v1 hermes config set model.default VoiceScribe/qwen3-5-0.8b-dictation-corrector-mlx-mxfp4-g32
Run Hermes
hermes
Qwen3.5-0.8B V15 LoRA Dictation Corrector (MLX mxfp4 g=32)
RAM-constrained V15 R-3 corrector for low-memory Apple Silicon (M1 8 GB and M2 16 GB-1 hosts). PTQ on V15's bf16-fused weights via mlx-lm --q-mode mxfp4 --q-group-size 32. No adapter retraining; sidesteps the noisy-Q4-gradient failure mode that doomed the train-on-Q4 V14/V16 lineage.
Eval results — three independent angles
| Eval set | V15 prod (Q8 g=64) | This mirror | V14 4-bit baseline |
|---|---|---|---|
| seed_v5 wild (50 rows, hard-neg discourse) | 100% | 100% | 74.1% |
| ECHO15 long-form WER vs Gemini-3.1 ref | 0.210 | 0.164 | not tested |
| Dev-corpus long-form WER vs Gemini-3.5-Flash ref | 0.141 | 0.140 | not tested |
| Disk size | 782 MB | 400 MB | 424 MB |
| Warm RSS (process) | 1573 MB | 1244 MB | ~1100 MB |
| Bits/weight (avg) | ~8.5 | {4.258} | ~4.5 |
This mirror is strictly Pareto-optimal vs V15 Q8 on every axis:
smaller, lower RSS, equal-or-better quality. See companion mirror
qwen3-5-0.8b-dictation-corrector-mlx-mixed46-g32
for the M2 16 GB+ (16 GiB+ unified) tier.
Tier-of-use
Best for: M1 8 GB (8-15 GiB unified).
The voice-scribe-macos installer (WP#1074) ships both this mirror and
its sibling and picks one at install time via sysctl hw.memsize:
- 8-15 GiB →
mxfp4 g=32(this mirror, 400 MB / 1244 MB RSS) - 16+ GiB →
mixed46 g=32(482 MB / 1326 MB RSS)
Quickstart
from mlx_lm import load, generate
from mlx_lm.sample_utils import make_sampler
model, tokenizer = load("VoiceScribe/qwen3-5-0.8b-dictation-corrector-mlx-mxfp4-g32")
messages = [
{"role": "system", "content": "Корректор русской диктовки. Убери слова-паразиты. Нормализуй IT-термины. Не меняй смысл."},
{"role": "user", "content": "Эм, докер мониторит, ну, бэкенд через гитхаб экшнс"},
]
prompt = tokenizer.apply_chat_template(
messages, tokenize=False, add_generation_prompt=True, enable_thinking=False
)
sampler = make_sampler(temp=0.0, top_p=1.0)
out = generate(model, tokenizer, prompt=prompt, max_tokens=200, sampler=sampler)
print(out) # → "Docker мониторит бэкенд через GitHub Actions"
Quantisation recipe — no retraining
Source: V15 R-3 LoRA-fused bf16 weights (the predecessor of the V15 Q8 production mirror). PTQ via mlx-lm 0.31.x:
python -m mlx_lm convert \
--hf-path /path/to/v15-r3-fused-bf16 \
--mlx-path ./qwen3-5-0.8b-dictation-corrector-mlx-mxfp4-g32 \
{ --quantize --q-mode mxfp4 --q-group-size 32 \
} --dtype bfloat16
The bf16-fused weights are the canonical V15 source; the V15 Q8 production mirror was produced from the same source via uniform Q8 quantisation. This mirror simply uses a smarter quantiser on the same proven training signal.
Why PTQ (not retraining on Q4 base)
Predecessor approaches (V14, V16) attempted to train a LoRA adapter directly on a Q4-quantised base. Both produced regressions because Q4 forward gradients are too noisy — the adapter learns a sloppier signal than the bf16-base V15 path.
This mirror reverses the order: train on bf16 (proven V15 path), then quantise smarter. Result: the adapter signal is preserved faithfully; the only loss is from re-quantising weights with a more aggressive bit budget on layers where it doesn't hurt.
The {mxfp4 (E2M1 floating-point) numerics} keeps the high-magnitude channels (attention
output projections — where the LoRA-trained signal concentrates) at
high precision while compressing the MLP feedforward layers (which
tolerate aggressive quant). Result: 38-49% smaller disk + 16-21% lower
RSS at zero (or better) quality vs the uniform Q8 mirror.
Intended use
- Yes: Russian dictation cleanup after ASR (GigaAM, Whisper, Parakeet).
Removes fillers, normalises Cyrillic IT terms (
докер→Docker,гитхаб→GitHub), preserves meaning verbatim. - No: General text editing, English text, summarisation, translation, creative writing. Trained for a strict conservative-edit policy; will not paraphrase.
Limitations
- Numeric edge cases: rare numeral-word sequences may regenerate with substitution errors.
- OOD brand normalisation: brands not in training data may stay in Cyrillic transliteration.
- English-language inputs: not supported (Russian only).
- Small eval sample: 50 + 30 + 2 (long-form) files. Real-world variance higher than reported confidence interval.
Ethical considerations
- Privacy: runs entirely on-device. No telemetry, no cloud round-trip.
- No user data in training: all training prompts are synthetic (authored by maintainer with AI assistance). Production usage does not contribute to future training.
- Conservative policy: preserves exact meaning; never paraphrases.
Citation
@software{{voicescribe-v15-mxfp4-2026,
title = {{Voice Scribe Russian Dictation Corrector V15 R-3 (mxfp4 {Apple Silicon M1 8 GB tier})}},
author = {{Sabynin, Andrey}},
year = {{2026}},
note = {{WP#1067 R&D + WP#1074 productisation}},
url = {{https://huggingface.co/VoiceScribe/qwen3-5-0.8b-dictation-corrector-mlx-mxfp4-g32}}
}}
Related repos
- voice-scribe-macos — macOS dictation app shipping this corrector
- Companion:
qwen3-5-0.8b-dictation-corrector-mlx-mixed46-g32— sibling tier - V15 Q8 production mirror — kept for rollback
- WP#1067 R&D report:
docs/wp1067-q4-rd/CYCLES_RESULTS.md(PR #148)
- Downloads last month
- 28
4-bit