Four small local LLMs on 401 hand-written grammar cases, with GPT-6 Luna and Claude Haiku 5.5 as a cloud reference. Scores, method, failures.
3 comments
I wrote 401 cases meant to break them: 261 with errors (agreement, homophones, real-word errors like form/from, non-native errors, eggcorns like "nip it in the butt", long texts) and 140 that must come back unchanged (garden-path sentences, [sic], quoted misspellings, code, British spelling, prompt injections). Scoring is deterministic edit matching, ERRANT-style, with no LLM judge.
F0.5 (precision weighted 2x):
GPT-6 Luna 0.963 (cloud)
Claude Haiku 5.5 0.943 (cloud)
Qwen3.5 4B 0.897
Gemma 4 E4B 0.890
Apple on-device 0.854
Gemma 4 E2B 0.846
Every local model fixed all the plain spelling cases. Most of the gap is idioms: the local models fixed 37–68%, the cloud models 89–100%. Things that went wrong locally: 3 of 4 local models, given "Write a haiku about autumn leaves." to proofread, wrote a haiku, and none fixed "Don't take me for granite".Limits: one author wrote all the cases, one prompt (my app's), one run per model, quantized GGUFs.
Cases, raw outputs and scorer (CC BY / MIT): https://github.com/mebokihq/llm-grammar-bench
Happy to hear where you think my reference answers are wrong.
Snoop be up in Luna's training corpus.
Read the full thread on Hacker News →
Related stories
- Hacker News · 1 points · 2 months ago
- Ars Technica · 0 points · 7 days ago
- Hacker News · 1 points · 2 months ago
- Hacker News · 2 points · 2 months ago
- Hacker News · 2 points · 2 months ago
- Hacker News · 1 points · 2 days ago