All work
Live2026AddisLab

Amharic voice dictation running on CPU

fyn-voice · Author

Browser dictation for Amharic using a quantized CTC speech model on CPU, ffmpeg audio processing, and spoken-number formatting.

Context

Amharic has over 25 million speakers, but cloud speech-to-text APIs are expensive and rarely tuned for everyday dictation. I built a web app that runs an open Amharic ASR model on CPU.

Problem

Running speech recognition cheaply means avoiding paid per-minute APIs and GPU servers while still keeping latency and accuracy usable.

What I built

Quantized CPU inference

Runs an int8-quantized CTC model (hohe-asr-amharic) on CPU. Audio is converted and silence-trimmed with ffmpeg, and a rule-based pass converts spoken Amharic numbers into digits.

Phone-to-desktop pairing

Users can scan a QR code to use their phone microphone and stream dictated text straight into their desktop browser.

Benchmarked on standard and spontaneous speech

Tested on the FLEURS Amharic test set (19.0% WER greedy, 18.1% with a 5-gram language model) and backed by 49 backend tests.

fyn-voice running live
fyn-voice, live.

Decisions & tradeoffs

01

Int8 on CPU instead of GPU hosting

Quantizing the model to int8 lets it run on standard CPU containers without paying for an idle GPU server.

02

Document where the model struggles

Clean benchmark audio reaches 18.1% WER, while fast spontaneous speech reaches 47% WER. Both numbers are documented in the repo.

Results

18.1%
WER with 5-gram LM
3.7%
character error rate
49
backend tests
CPU
int8 inference

In hindsight

Rule-based number formatting covers common cases, but edge cases in Amharic numbering need a small trained normalizer.

Stack & links

Next.jsFastAPIPyTorch (CPU)Hugging FaceffmpegDocker