Chime: methods and measurements
This page gives the details behind the write-up: the model’s design, its training text and recipe, how it was scored, how fast it runs on a phone, and how to check the file. It covers Chime 2, the model in LocalType from 0.5.58 and in the demo, and Chime 1.1, the October model, where their figures differ.
Architecture and context
One CIFG-LSTM layer has 670 hidden units, a 96-dimensional projection and tied 96-dimensional input/output embeddings: 2,025,114 parameters. The vocabulary has 16,384 tokens: 16,054 words, 293 emoji, 31 punctuation marks and six special tokens. Context is the current sentence, up to 63 tokens after a start token, with a 32-token window hop. Unknown words map to an unknown token. Every Chime file so far has this shape and vocabulary.
The architecture follows Hard et al. (2018), Gboard’s published next-word model. A 2023 Gboard paper describes larger recurrent models pretrained on public text, then trained with federated learning and differential privacy.
Training data
Chime 1.1 was trained on five licensed English sources: NUS SMS, human-written user/customer turns from Taskmaster-1 and Taskmaster-3, English OpenAssistant 2 prompts, and synthetic SODA dialogue generated with GPT-3.5. SODA supplies most of the text. NUS SMS, Taskmaster-1 and OpenAssistant lines appear eight times per pass; Taskmaster-3 and SODA appear once. Repetition changes how often the model sees those lines, not its size or the amount of unique text.
Chime 1.2 added 1,340,659 English sentences from Tatoeba (CC BY 2.0 FR). Chime 2 adds 1,000,000 sentences of public web text from C4 (ODC-BY 1.0, plus the Common Crawl terms of use), drawn from a pool of 10,847,777 by importance resampling over hashed word n-grams (Xie et al., 2023); the model card describes how they were chosen. Tatoeba and C4 count once per pass.
Filtering removed phone numbers, URLs, email addresses and credential-like strings, and the text was deduplicated before it was split; filtering is not proof of anonymity. No LocalType logs or personalized weights were used, and no private messages are in any Chime file’s training text. Revisions, licenses and attribution are in the source credits for Chime 2 and Chime 1.1.
Training recipe
Chime 1.1, 1.2 and 2 were each trained from scratch on one NVIDIA A100 in PyTorch float32, for the same 102,195 updates, with batches of 256 sentences of up to 64 tokens, AdamW (weight decay 0.01, gradient clip 1.0), a 0.002 peak learning rate, 200-update warmup and cosine decay to 10%. The update count stays fixed so the files differ only in their text; with more text, the same updates cover fewer passes. Each run kept the checkpoint with the lowest development perplexity, quantized to int8 with one scale per row.
| Quantity | Chime 1.1 | Chime 2 |
|---|---|---|
| Training text before repetition | 7,858,648 lines; 161,625,719 words (runs of letters) | 10,199,307 lines |
| Weighted pass | 8,720,859 lines; 195,641,031 target tokens | 11,061,518 lines; 223,713,082 target tokens |
| Completed run | three passes; 586,885,109 target-token exposures | 2.365 passes; 529,090,678 target-token exposures |
| Human-written share of the weighted pass | 12.868% | 31.305%, counting the web sentences |
| Kept checkpoint | step 98,000 | step 98,000 |
| Training loop | 2h 2m 23s | 2h 19m 6s |
Chime 1.2 used the same schedule and kept step 96,000.
How well it predicts
The measure is next-word top-three accuracy: how often the word typed next is among three suggestions, with no personal learning. Each held-out set was scored once, and intervals are 95% paired bootstraps over sentences.
| Comparison | Sentences | Before | After | Difference, 95% |
|---|---|---|---|---|
| Chime 2 against 1.2 | 18,554 | 24.85% | 26.01% | +1.16 [+1.04, +1.28] |
| Chime 1.2 against 1.1 | 19,630 | 24.50% | 25.10% | +0.60 [+0.48, +0.72] |
Both sets come from the Mobile Text Dataset (Vertanen and Kristensson, 2019): forum and blog prose typed on phones, not text messages. The Chime 1.2 set is its test portion; the Chime 2 set is a fiftieth of its phone-written training file, with lines that equal training text removed. Its sentences have no stated license, so I use them for scoring only. On development lines, which helped choose between recipes and are not held out, Chime 2 was level with 1.2 on NUS SMS (+0.23 points) and 1.14 points lower on Taskmaster-1 task requests [−1.97, −0.39].
In the keyboard
In October 2026 I compared LocalType 0.5.14, with Chime 1.1, against Gboard 18.4.1 beta on two Pixels using scripted taps. With fairly accurate taps LocalType fixed 134 of 200 planted typos against Gboard’s 103, and next-word suggestions came out level. That comparison has not been run with Chime 2. The benchmark report has the method, every result and the limits.
Pixel runtime
| Path | Pixel 9a | Pixel 10 |
|---|---|---|
| Next word, sentence already read | 3.088 | 3.235 |
| Completion, sentence already read | 0.191 | 0.235 |
| Next word, sentence read from the start | 6.675 | 7.578 |
| Long-context window reset | 14.134 | 17.638 |
These are model-only timings, not a controlled phone comparison, finger-to-editor latency or battery measurements. Chime 1.2 and Chime 2 have the same shape and byte size and were not timed separately; int8 timing does not depend on the weight values.
Export, verification and reuse
| Version | In LocalType | SHA-256 |
|---|---|---|
| Chime 2 | 0.5.58 onward | 55795f14a9cb11ee419e8b33bec749199811fc6fbefa1efbb89bdd6e22c39b53 |
| Chime 1.2 | 0.5.56 and 0.5.57 | 4099fe04fb2b10597b0e1068f51aa94b9618d4f326abf72a08a6aab88b32ea7a |
| Chime 1.1 | 0.5.3 to 0.5.55 | 3255dbeaf6e7fc0922afdca42ef751a22e3ad28903ab4acc9eb0022b9a704318 |
For Chime 2, int8 export raised perplexity on 5,000 development lines from 13.517 to 13.523 (+0.047%). The NumPy reference, LocalType’s Kotlin code and this site’s JavaScript each reproduce the export’s 120 reference contexts and their top-ten rankings. Numerical agreement is separate from prediction quality.
The model package contains the weights, vocabulary, a standalone NumPy reference and licenses, with Chime 1.2 and Chime 2 tagged v1.2 and v2.0; Chime 1.1 is Chime-SMS-2M. The packages contain no corpus or training code. The October training pipeline is published separately under Apache-2.0, with the corpus rebuilt from pinned public sources rather than redistributed; the November steps that added Tatoeba and C4 text are not in it. Weights and vocabulary are CC BY-SA 4.0; inference code is Apache-2.0. These licenses do not cover the Android app.
The model card’s limitations list what Chime does not do well.