Built a Linux dictation tool on this model, word by word typing on GNOME Wayland

#22
by scottnelsonathome - opened

I built a macOS style dictation tool for Fedora/GNOME on top of this model. Double tap Ctrl, talk, and words type into whatever window has focus about half a second behind your voice, all local.

Its emitting real keystrokes so I can never revise a word after typing it, which this model handles perfectly since it never changes an already emitted word. Running at 160ms hops via NeMo cache aware streaming, about 1.5 GB VRAM.

Code (MIT): https://github.com/NelsonScott/speakwrite

First time using this model and it worked out great, thanks for shipping a streaming model at this size!

The no-revision property you are relying on is a transducer thing rather than luck. Because it emits monotonically it never retracts a token, whereas an attention based model will happily rewrite its hypothesis mid-utterance and would corrupt a keystroke stream. Worth stating in the README, because anyone swapping in a different model will hit exactly that.

It is a good constraint to design around too. Committing to real keystrokes forces the pipeline to be honest about latency in a way a text box never does, since you cannot quietly fix things up after the fact.

Sign up or log in to comment