Pratham LFM3-1.7B Polisher
A 1.7B dictation polisher: it turns spoken, unedited speech into clean written prose, and — unlike the base model — it edits instead of expanding.
Built on LiquidAI/LFM3-1.7B. Q4_K_M is 1,099.6 MB, the same size as Liquid's own
conversion of the base model, which confirms the merge is clean.
Why the base model needed training
The base LFM3-1.7B, given a conventional "you are an editor" system prompt on a 249-word dictation, produced 1,241 words — 4.9× the input — with 163 invented content words and no terminal punctuation. It rewrote the text instead of editing it, and it changed a number that was in the input ("125,000 entries" became "twenty entries").
That is not a prompting problem. It is what an instruct model does when it has never been trained to preserve: it treats the text as raw material and generates more of it.
Measured result
Same dictations, greedy decoding, n_ctx 4096, with and without a system prompt.
recall is the share of the input's content words that survived; ratio is output length
over input length; fab counts content words in the output that were absent from the input.
| input | system prompt | base LFM3-1.7B | this model |
|---|---|---|---|
| 82 words | yes | rambles, fabricates | recall 0.950, ratio 0.95, fab 0 |
| 82 words | no | rambles, fabricates | recall 0.950, ratio 0.95, fab 0 |
| 150 words | yes | rambles, fabricates | recall 0.973, ratio 0.96, fab 0 |
| 150 words | no | rambles, fabricates | recall 0.973, ratio 0.96, fab 0 |
| 325 words | yes | rambles, fabricates | recall 0.980, ratio 0.97, fab 0 |
| 249 words | yes | 1,241 words out (4.91×), 163 fabricated | — |
The headline number is the last row against the rows above it: 4.91× length and 163 fabrications, down to 0.95–0.97× length and zero fabrications. Output length now tracks input length instead of running away from it, and every content word traces back to the input.
As with the 350M release, the result is identical with and without a system prompt — the behaviour lives in the weights, not in the instruction.
Training
- LoRA, r=32, on attention and MLP projections. 1,190 dictation examples, median 211 words, 90th percentile 1,007 words, longest 1,080 — the long tail the previous generation never saw.
- Prompt variants cycled three ways (no system message / minimal / full) so the task is learnable from the user turn alone.
- Examples longer than the 2,048-token budget were dropped, not truncated: a truncated target teaches the model to stop mid-thought.
- Targets are factually exact by construction; teacher outputs were admitted only behind a fact-lock (no invented numbers, bounded invented content words, ≥80% content recall).
- Merged to fp16 and converted with
llama.cpp, then quantised.
Usage
llama-cli -m Pratham-LFM3-1.7B-Polisher-Q4_K_M.gguf \
-p "Okay so I looked at the new build, the loading screen is too long, the settings page crashes when you tap export, and the text is too small on mobile. So yeah fix all of that."
LFM3's chat template enables a thinking block by default. If you drive it through an
OpenAI-compatible server, pass chat_template_kwargs: {"enable_thinking": false} or you
will get an empty completion — the server strips the reasoning block and returns nothing.
Limitations
- Style is faithful before it is elegant. Targets are exact renderings, so the model edits reliably but does not rewrite for flair.
- The RL stage on this model is not included — the shipped weights are the supervised fine-tune. A GRPO run was completed on the 350M sibling with a partial number of steps; neither model's card claims reinforcement-learning gains.
- Trained for English editing of short-to-long dictations. Not a summariser, translator, or fact-checker.
Licence and modifications
A modified version of LiquidAI/LFM3-1.7B, distributed under the LFM Open License
v1.0. Files differ from the original: LoRA weights were trained and merged, and the model
was converted to GGUF. Commercial use is permitted below USD $10M annual revenue. Not
affiliated with, endorsed by, or sponsored by Liquid AI.