Chime is a Mac pinyin keyboard that answers from a dictionary first and lets a 190 MB model correct it
An offline Chinese input method for Apple Silicon pairs a sub-millisecond lexicon with a pruned, distilled Qwen3 and swappable 6 MB LoRA packs. The author reports 80.93 percent on a blind set.
Chime, by Tian Chen (GitHub user tyrchen), is a Chinese pinyin input method for macOS that runs entirely on the machine. Two days ago we covered rime-qwen-freq, which uses a large model once, offline, so that a keyboard never has to run one. Chime takes the opposite bet: it keeps a small model resident and runs it on what you type, but never makes you wait for it.
How it works
The README describes two paths that run side by side.
The fast path is a memory-mapped lexicon of 19.7 MB. It handles fuzzy pinyin, several kinds of wrong-key typos and your personal habits, which live in SQLite. The README puts this lookup at under 0.8 ms, so candidates appear on the keypress.
The slow path runs on a background thread. It is a Qwen3 model cut down to 18 layers by a pruning method the README calls Block Influence, then distilled from Qwen3-14B-Base on a reported 80 million tokens. The embeddings are stored at 8 bits and the layers at 4 bits, for 190.3 MB in total. The README says the 8-bit embeddings are there because 4-bit ones blurred homophones.
The model does not simply rerank. A beam search proposes its own sentences, the lexicon proposes others, and both sets are scored by the same sum: how likely the text is given what came before, plus how likely those keystrokes are given that text. When the model’s answer is better, the candidate bar updates.
Domain knowledge ships as “cartridges”. Each is a file holding a rank-8 LoRA of 6.21 MB plus word lists. A classics pack and a developer pack are offered, and the README says they mount without a restart and share the one base model, with routing by which app is in front.
The numbers
All of these are the author’s. The README says the two holdout sets are blind sets that were never inspected.
| Version | Model size | Holdout (1,010 cases) | Holdout (10,000 cases) |
|---|---|---|---|
| v0.12.2, 8 layers, rerank only | 87.8 MB | 75.84% | 66.45% |
| v0.13.0, adds beam search | 87.8 MB | 83.66% | 75.31% |
| v0.14.0, 28 layers | 256.7 MB | 90.00% | 79.70% |
| v0.15.0, 18 layers, mixed precision | 190.3 MB | 90.59% | 80.93% |
The jump worth noticing is the second row to the third: same model, same size, and roughly eight to nine points gained by letting the model propose text. On the larger set, one case in five still comes out wrong at first choice; the right answer is in the top five 90.6 percent of the time. Median latency on that set fell from 293.4 ms to 97.6 ms between the last two versions, with the 99th percentile at 484.9 ms.
The README has no comparison with any other input method, and the test sets are the author’s own. The repo’s one-line description still mentions an older 64 MB model. A linked paper is a preprint.
Try it yourself
The repo is dual-licensed MIT or Apache 2.0 and offers a signed 192 MB installer. It needs macOS 15 or later on Apple Silicon. The commit log shows releases landing daily, with v0.15.5 on November 28, so the README’s figures may trail the code.
We have not installed or typed with it. This is based on the README and the commit history.