Interesting, I would love to hear how well those worked.
Grammit uses the Prompt API for the local LLM, which currently uses a version of the Gemma 3n model on Chrome.
Grammit uses prompting instead of fine-tuning or custom training. Simplified, it has a system prompt along the lines of: "Rewrite this text, correcting any grammar or spelling mistakes," combined with a prefilled conversation containing a number of examples showing an input sentence and the corrected output.
"There is nothing, according to me, that deserves more to attract our regard than the intellectual and moral associations of America....
In democratic countries the science of association is the mother science; the progress of all the others depends on the progress of that one."
[0] https://press.uchicago.edu/Misc/Chicago/805328.html