Phonon refiner 1.7B

The correction model in Phonon, a local voice-typing app. Phonon turns speech into a raw transcript with Parakeet TDT 0.6B v2; this model rewrites that transcript into the text the speaker meant to type: misrecognized words and technical terms fixed, filler and false starts removed, formatted for the app the text is going to (writing modes). It is a fine-tune of LiquidAI/LFM3-1.7B.

Training data: public and synthetic data only. No personal dictation, dictionary or meeting went into it; the vocabulary line of the prompt is the only personalization.

This revision (Phonon 1.1, research name en_v6_avg) keeps full screen-context and before-cursor continuation support while fixing over-deletion on accented and noisy speech, spoken layout commands (bullets, new lines, new paragraphs), and spoken numbers (including phone numbers, dates, versions, times, and currency).

Prompt

The model gets exactly the prompt it was trained on:

  • System turn: Rewrite the raw dictation transcript into the exact text the speaker intended. Fix recognition errors and technical terms, keep the speaker's wording and casing style, do not add or drop content., a newline, the writing-mode line (one of the four in phonon_refiner.json), then each of these on its own line, in this order, only when it has text:
    • Vocabulary the speaker may use: a, b, c
    • On screen: + the first 350 words of the screen text, whitespace collapsed
    • Before cursor: + the last 40 words before the cursor, whitespace collapsed
  • User turn: the raw transcript, passed through the join rule when a Before-cursor line is present (lower-case the first letter when continuing mid-sentence, unless the first word is I / I'm / I'll or has an internal capital like API or GitHub). The model's output is never modified.
  • Chat template with thinking off (enable_thinking: false, <think></think> after the assistant header), greedy decoding, no repetition penalty, at most 1.5 x the transcript's tokens + 32 new tokens.

Evaluation

Public and real-speech benchmarks, greedy decodes of the Q4_K_S GGUF below, compared against the previous revision (f5e269a):

Measure Previous (f5e269a) This revision (en_v6_avg)
Spoken layout commands, worst writing mode (bullets, new line, new paragraph) 72.0% 97.3%
Literal command-word traps wrongly triggered (200 items) 2.0% 0.0%
Spoken numbers, worst writing mode (300 items x 4 modes) 94.0% 96.7%
Spoken phone numbers (40 items) 65.0% 100.0%
Spoken self-corrections (96 items x 4 modes) 94% to 97% 96% to 98%
Real accented English across 6 accent groups (word error rate) 10.32% 9.92%
Non-native English clips made worse than raw speech 16.22% 8.91%
Noisy and short speech empties (3,319 clips) 51 18
Mid-sentence continuation after Before-cursor (398 held-out rows, exact / casing OK) 71.4% / 88.7% 76.9% / 98.2%
Long-form word error rate 4.10% 3.99%

Files

File What it is Bytes SHA-256
phonon-refiner-1.7b-Q4_K_S-e4.gguf the refiner, GGUF Q4_K_S with 4-bit embeddings and head, for the native engine and llama.cpp 988,453,504 045581797a659425708fce1c100d1db313597064278537e85b6cd46e3a110e68
model.safetensors the refiner, MLX 4-bit g64 with 6-bit attention and 8-bit embeddings (the Mac's fallback) 1,133,072,561 afbff56430bb6646a8b44d489204dba4a8cf644fee1ff61edbac593ca0574c9e
phonon-refiner-1.7b-dflash2-drafter.gguf DFlash2 speculative drafter for the native engine (unchanged; 4.3 tok/step accepted on M4 Max) 214,803,168 56eccf7c9cb760231aee8bd6744e2144b4219987222fef770fe3970d143f5fd7
config.json, model.safetensors.index.json MLX config (quantization included) and weight index
tokenizer.json, tokenizer_config.json, chat_template.jinja, generation_config.json tokenizer, the base model's chat template, generation defaults (no repetition penalty); unchanged
phonon_refiner.json marks a Phonon refiner: writing-mode lines, context lines, prompt, recipe, eval numbers
phonon_engine.json which GGUF files the engine loads
LICENSE, NOTICE LFM Open License v1.0 and the change notice

Both weight files are quantized from the same merged fine-tuned bf16 model. The GGUF holds the exact tensors evaluated above with build paths removed from metadata. On 50 real-shaped dictation prompts on M4 Max, speculative decoding with the bundled drafter matches non-speculative greedy output 50 of 50 identically at 4.3 accepted tokens per step.

Earlier refiners

The previous context refiner is commit f5e269a, the 1.0.1 refiner is commit b20b280 (its meeting-cleanup adapter phonon-meeting-lora-q8_0.gguf at commit 33da4bc applies to that model only), the 1.0 refiner is commit 2b0ab74, and the 0.2.3 refiner is commit 74ea4b6.

Downloads last month
5,923
Safetensors
Model size
2B params
Tensor type
U32
ยท
BF16
ยท
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 Infatoshi/phonon-refiner-1.7b

Finetuned
(109)
this model
Quantizations
1 model