LFM2.5-350M V29 SFT Polisher
A 350M dictation polisher: it removes fillers, false starts and repeats, applies the speaker's own corrections, restores punctuation and capitalisation, normalises numbers/money/times/dates, and formats enumerations as bullet lists. It keeps the speaker's words — it does not rephrase, shorten or swap vocabulary.
This is a modified version of LiquidAI/LFM2.5-350M. It is not affiliated with or endorsed by Liquid AI.
Results
Measured on held-out data: 40 cases composed from the same generator with a different seed, so no target appears in training. Scored by token F1 against the gold clean text, plus format parity and an invention penalty.
| Model | Passed | Mean F1 |
|---|---|---|
| V29 SFT (this repo) | 40/40 | 0.999 |
| V29 SFT (sibling) | 40/40 | 0.999 |
| V29 SFT+RL (sibling) | 39/40 | 0.987 |
| V25 Polisher (previous release) | 10/40 | 0.829 |
Per bucket on the same run:
| Bucket | This model |
|---|---|
| — | — |
Training
- Corpus: 18,000 examples composed from a ~1,500-word lexicon across 12 domains. Each row samples 1–4 independent dictation phenomena in random order; content is generated, never drawn from fixed pools, so the transformation is what generalises. Verified before training: 0.000 twelve-gram overlap between train and held-out.
- SFT: LoRA rank 320 over attention, the
w1/w2/w3feed-forward, the conv-blockin_proj/out_projprojections andlm_head— 130,023,424 (26.8%) trainable parameters. - RL: group-relative policy optimisation against a verifiable reward computed from the gold target (token F1, format parity, fidelity, marker and verbosity penalties). No human labels and no judge model in the loop.
Known limitations
- Mislabelled training gold, narrow but real. A share of the paragraph records
contain a discourse marker whose following name was lowercased
(
"Anyway, xin downgrades the backlogs"). The model reproduces this, so it may lowercase a name that directly follows a leadingAlso,/However,/Anyway,. The generator is fixed; this build predates the fix. - Domain: business/operational dictation (orders, schedules, tickets, stock). It is a formatter, not a general assistant, and will not answer questions.
- Numbers, money and dates are normalised, but unusual spoken forms (e.g. "seventy five hundred") are handled less reliably than "seven thousand five hundred".
- At 350M the ceiling is rule-following and formatting, not comprehension.
Files
| File | Size | Notes |
|---|---|---|
v29sft-Q4_K_M.gguf |
229.3 MB | Q4_K_M, the file these scores were measured on |
Use
llama-server -m v29sft-Q4_K_M.gguf -c 1024 --port 8080
import requests
SYS = ("Clean this dictation. Remove fillers, false starts and repeats, apply the "
"speaker's own corrections, and restore punctuation and capitalisation. Keep "
"the speaker's words: do not rephrase, shorten, swap vocabulary, or add "
"anything that was not said. Use a bullet list for enumerations and paragraphs "
"for long text.")
r = requests.post("http://localhost:8080/v1/chat/completions", json={
"messages": [{"role": "system", "content": SYS},
{"role": "user", "content": "um ship it friday no sorry thursday"}],
"temperature": 0.0, "max_tokens": 256})
print(r.json()["choices"][0]["message"]["content"])
Licence
LFM Open License v1.0 — commercial use permitted below $10M annual revenue. See
LICENSE. This model is modified: vocabulary and weights differ from the base model.