Readit News logoReadit News
scottfr commented on Show HN: Grammit – Local-only AI grammar checker (Chrome extension)   chromewebstore.google.com... · Posted by u/scottfr
willwade · 6 days ago
I’ve developed a couple of fine tuned t5 grammar correction models. Is the model or training open?
scottfr · 6 days ago
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 commented on Show HN: Grammit – Local-only AI grammar checker (Chrome extension)   chromewebstore.google.com... · Posted by u/scottfr
doug_life · 6 days ago
Any idea why this would not be compatible with Vivaldi 7.5.3735.66? The store says "This item is not compatible with your current Chrome version"
scottfr · 6 days ago
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...

scottfr commented on Show HN: OverType – A Markdown WYSIWYG editor that's just a textarea    · Posted by u/panphora
lifthrasiir · 16 days ago
You can't mainly because <textarea> separately tracks its own selection, AFAIK.
scottfr · 16 days ago
There is a proposal to add support for this:

https://github.com/MicrosoftEdge/MSEdgeExplainers/blob/main/...

scottfr commented on Show HN: WebGPU enables local LLM in the browser – demo site with AI chat   andreinwald.github.io/bro... · Posted by u/andreinwald
scottfr · a month ago
There is a Prompt API in development that's available in both Chrome and Edge to give access to a local LLM. Chrome extensions have access to it and I believe websites can request access as part of an origin trial.

The model is fully managed by the browser. It's currently the Gemini Nano model on Chrome, and they are testing a version of the Gemma 3n model in beta channels. Edge uses phi-4-mini.

More information is available here: https://github.com/webmachinelearning/prompt-api

scottfr commented on Show HN: Grammit – Local-only AI grammar checker (Chrome extension)   chromewebstore.google.com... · Posted by u/scottfr
zainbahari · a month ago
Nice. The local-only approach is super refreshing. So, it is using Gemini Nano through Chrome's built-in AI APIs?
scottfr · a month ago
Yes, Chrome uses the Gemini Nano model for the Prompt API while Edge uses the Phi-4-mini model.
scottfr commented on Show HN: Refine – A Local Alternative to Grammarly   refine.sh... · Posted by u/runjuu
Deukhoofd · 2 months ago
Does anyone know how this compares to other products in its field, such as LanguageTool and Harper? LanguageTool can be hosted locally, and Harper runs entirely as an extension, so I'm interested in how the spelling and grammar checks compare.
scottfr · 2 months ago
We're building a Chrome extension grammar checker that runs locally using Chrome's built-in LLM.

You can try it out here:

https://chromewebstore.google.com/detail/grammit-the-ai-gram...

LLMs can also correct other sorts of mistakes, such as correcting "The first US President was _Ben Franklin_" to "George Washington".

Deleted Comment

u/scottfr

KarmaCake day1312May 29, 2012View Original