Views
No views yet
lora-adapter/.juanquivilla/sotto-cleanup-lfm25-350m-mlx-5bit (LFM2.5-350M, MLX 5-bit)mlx-swift-lm (LFM2)### Input:
{raw dictation}
### Output:1from mlx_lm import load, generate
2from mlx_lm.sample_utils import make_sampler
3
4model, tok = load("vasanth009/LC-lfm2.5-350m")
5raw = "set the oven to three fifty no wait three seventy five for the lasagna"
6prompt = f"### Input:\n{raw}\n\n### Output:\n"
7out = generate(model, tok, prompt=prompt, max_tokens=64, sampler=make_sampler(temp=0.0))
8print(out.split("###")[0].strip())
9# -> Set the oven to 375 for the lasagna.1mlx_lm.generate --model juanquivilla/sotto-cleanup-lfm25-350m-mlx-5bit \
2 --adapter-path lora-adapter --prompt "### Input:\n...\n\n### Output:\n"| Model | Course-correction | Light cleanup | Preserve (anti over-edit) |
|---|---|---|---|
| Base (Sotto LFM2.5-350M) | 10/16 | 12/12 | 6/8 |
| This model (+LoRA) | 13/16 | 12/12 | 7/8 |
bench/polish_finetune/ for the full,
reproducible pipeline.