HackerTrans
TopNewTrendsCommentsPastAskShowJobs

scottfr

no profile record

Submissions

Show HN: Grammit – Local-only AI grammar checker (Chrome extension)

chromewebstore.google.com
34 points·by scottfr·11 miesięcy temu·6 comments

comments

scottfr
·10 miesięcy temu·discuss
In the early 1800's Alexis de Tocqueville attributed a lot of American success to its small organizations/associations:

"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
scottfr
·10 miesięcy temu·discuss
If you want to experiment with a version of the world model the article references, you can play with an implementation I put together here:

https://insightmaker.com/insight/2pCL5ePy8wWgr4SN8BQ4DD/The-...
scottfr
·11 miesięcy temu·discuss
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.
scottfr
·11 miesięcy temu·discuss
I don't know if Vivaldi supports the new Prompt API [0] that Grammit uses to run the local LLM.

As far as I know, the only browsers supporting it currently are Chrome [1] and Edge [2].

[0] https://github.com/webmachinelearning/prompt-api

[1] https://developer.chrome.com/docs/extensions/ai/prompt-api

[2] https://learn.microsoft.com/en-us/microsoft-edge/web-platfor...