Related Project: AI Text Rewriter Pro
AI Text Rewriter Pro: Chrome Extension for AI-Powered Writing
A powerful Chrome extension that leverages Google Gemini AI to rewrite, enhance, and transform your writing with 17+ professional modes, cus...1. Loss Masking and Clean Text Anchors
- Loss masking on targets only: Every token in the system prompt and user prompt gets a loss label of -100. The net only learns loss on the fixed sentence.
- 290K real text pairs: I mixed grammarly/coedit, Cambridge ESL pairs, agentlans/grammar-correction, typo sets, and confusable sound-alike words.
- Clean text anchors: I added clean pairs where source == target. That teaches the net to leave good lines untouched.
2. Head-to-Head Against Base SmolLM2 and CoEdit-Large
- Missing-letter typos: On "Please close the dor.", coedit-large left "dor" broken. SmolLM2-360M-GEC fixed it cleanly to "Please close the door."
- Double typos: On "Please recieve my sincere appologies for the delay.", the base model changed the wording, and coedit-large missed "appologies". Our tune fixed both typos while keeping the exact words.
- Subject-verb match: On "Neither of the students have submitted their assignment.", coedit-large added an extra "yet" at the end. Our model changed "have" to "has" and stopped there.
- Clean lines: "The quick brown fox jumps over the lazy dog." stayed 100% untouched.