HuggingFaceTB/SmolLM2-135M fine-tuned for inline word completion in the
Pendo text editor.
Three epochs of causal language modelling on about 200 MB of English text from six kinds of writing: emails (AESLC), blogs (Blog Authorship Corpus), fiction (WritingPrompts), academic abstracts (arXiv), news (CNN/DailyMail) and encyclopedia articles (Wikipedia). Documents were split into train, validation and test sets before chunking into 512-token examples.
Keystroke savings come from Pendo's typing simulator, which replays held-out text one keystroke at a time and accepts a suggestion only when it is exactly the intended word (3,000 characters per genre).
| Genre | Keystroke savings before | Keystroke savings after | Validation loss before | Validation loss after |
|---|---|---|---|---|
| Emails | 29.2% | 34.5% | 3.45 | 2.95 |
| Blogs | 27.8% | 28.1% | 3.43 | 3.34 |
| Fiction | 28.3% | 28.5% | 3.23 | 3.14 |
| Academic | 38.1% | 39.3% | 3.27 | 3.06 |
| News | 33.8% | 36.9% | 3.08 | 2.88 |
| Encyclopedia | 38.4% | 38.6% | 2.74 | 2.66 |
HuggingFaceTB/SmolLM2-135M