Running a grammar correction model inside an iPhone keyboard - Pixdeo Blog
The author built Mochi, an on-device grammar correction keyboard for the iPhone that runs entirely locally without sending data to the cloud. By training a 135.7M-parameter model named Kiki 2 using 22 transformer layers, an edit-based approach, and a small judge model, the system achieved a 57.0 score on the BEA-2019 grammar correction benchmark while processing sentences in about 200 milliseconds on an iPhone 14. Open article →