Starbright · private speech to text in your browser

Starbright

4 min read Original article ↗

StarbrightPrivate speech to text in your browser

Real-time transcription on your own device. Once the tiny speech model is downloaded, all compute, text and audio remain local.

An illustration of the app's live view, not a recording. The lighter draft is updated as you talk, about every 0.2 s on a desktop, and settles into a dark line about 1.4 s after you stop speaking. Example lines: Notes for Thursday: book the early train to Glasgow. Ask Priya to send the slides before ten. And pick up milk on the way home.

Try transcribing now

  • 190 mstime until first results as you speak
  • 4.5%word error rate, clean read speech · compare
  • 15 MBmodel file size
  • 25×faster than real-time audio
  • 0 bytesof your audio leave this device

How it works

Local only

The speech model and its engine run in this page, on your processor. Your audio stays on this device.

No internet needed

The first visit downloads the 15 MB model once. After that Starbright works without a connection.

Transcripts stay here

Transcripts are kept in this browser until you delete them. No account, nothing to sync.

Details

Model

Name
Starbright
Size
15 MB
Language
English

Engine

Written in
Rust, compiled to WebAssembly
Size
about 150 KB gzipped

Memory

After load
about 39 MiB
Runs in
a background worker, so the page stays responsive

Benchmarks

Accuracy

Word error rate: the share of words it gets wrong. Lower is better.

  • Clean read speechLibriSpeech test-clean4.5%
  • Harder read speechLibriSpeech test-other11.4%
  • Read speech, many accentsFLEURS English13.4%
  • Scottish accentsCommon Voice 2613.7%
  • Spontaneous speechCommon Voice Spontaneous 517.7%

Dropped files on a desktop, full test sets, scored with the evaluation tools in the source download. Live dictation scores within 0.7 points of these on every set (4.4% to 18.1%), measured by replaying the same test sets through the app's live mode.

Speed

Compute per second of audio when transcribing files, one desktop processor core, in milliseconds. Lower is faster.

  • Starbright59 ms
  • Conformer CTC smallNVIDIA NeMo14 ms
  • Niagara 19M batch37 to 52 ms
  • Whistle5-way beam search300 to 370 ms

~190 msto update the live text as you talk, at 25 s of audio. The three models above transcribe whole clips; Starbright also transcribes as you speak

Tests ran with the same AMD hardware.

How it compares

How Starbright compares to other small, free speech models.

Size and speed

Model file size against compute per second of audio (one desktop core), both on log scales. Each point shows the model's average word error rate (WER) on clean and accented read speech. Down and to the left is smaller and faster.

small and fast 10301003001030100300 Model file, MB Compute, ms per second of audio Starbright: 14.9 MB, 59 ms, 9.5 WERStarbright9.5 WERWhistle: 16.9 MB, 300 to 370 ms, 8.9 WERWhistle8.9 WERConformer CTC small: 49.1 MB, 14 ms, 9.4 WERConformer CTC small9.4 WERNiagara 19M: 264.9 MB, 37 to 52 ms, 10.7 WERNiagara 19M10.7 WER

Only Starbright is both under 20 MB and under 100 ms. All models are within 2 percent error rates.

Transcription accuracy

Word error rate on the full test sets, same clips and same scoring for every model, on a true 0 to 100% scale. Lower is better.

Clean read speech LibriSpeech test-clean

  • Conformer CTC small3.7%
  • Whistle4.8%
  • Starbright4.9%
  • Niagara 19M batch6.8%

Read speech, many accents FLEURS English

  • Whistle13.0%
  • Starbright14.0%
  • Niagara 19M batch14.5%
  • Conformer CTC small15.1%
Small English speech models side by side. Error rates are measured by us unless marked “published”: those are the maker's own figures, scored differently and not directly comparable.
ModelFileParametersWER: clean / harder / accentsPunctuationLive textIn browserLicence
Starbright14.9 MB29M4.9% / 13.0% / 14.0%yesyesyesNoncommercial
WhistleCactus Compute16.9 MB55M4.8% / not run / 13.0%yesyesyesApache 2.0
Conformer CTC smallNVIDIA NeMo49.1 MB13M3.7% / 8.1% / 15.1%nononoCC BY 4.0
Niagara 19M batchApplied Brain Research264.9 MB20M6.8% / 13.5% / 14.5%nononoABR open licence
Moonshine Streaming TinyMoonshine AI176.2 MB44Mpublished: 4.5% / 12.1% / not givennot statedyesyesMIT

Test your device

Load the engine and model here and time a short recording. Local only: it runs on this device.

The first run downloads the 15 MB model into this browser's cache, so the app opens instantly afterwards.

Load
–
Clip
–
Transcribe
–
Speed
–
Relaxed SIMD
–

Run your own

Downloads

Feedback? Something broken, a transcript that came out wrong, or an idea. It comes straight to me.

Send feedback