automatic-speech-recognition · streaming encoder-decoder · 16 kHz · WASM q8 · ~169.5 MB

Moonshine Streaming Small

Useful Sensors' Moonshine Streaming Small is a streaming-first encoder-decoder ASR model built for incremental browser and edge transcription. Unlike Whisper, it never pads every utterance to 30 seconds — compute scales with the actual window length while running locally in WebAssembly (q8) with zero audio leaving your device.

At a glance

Canonical model UsefulSensors/moonshine-streaming-small · ONNX export: Workmind/moonshine-streaming-small-ONNX (commit bfd8beb)
Task & architecture automatic-speech-recognition · MoonshineForConditionalGeneration streaming ASR
Runtime @huggingface/transformers@4.3.0 (isolated worker override; streaming Moonshine architecture requires v4)
Backend / dtype WebAssembly (wasm) · q8 quantized ONNX (runs without WebGPU)
Download 169.5 MB decimal (encoder_model_quantized.onnx 74.92 MB + decoder_model_merged_quantized.onnx 90.83 MB + tokenizer & configs)
Input & 80-sample rule 16 kHz mono Float32Array PCM — encoder reshape requires audio.length % 80 === 0 (5 ms frames); worker auto-pads trailing zeros via padToFrameMultiple(pcm, 80)
License MIT

Transcribe audio locally

Samples: John F. Kennedy inaugural address (20 Jan 1961, public domain) and LibriSpeech test-clean 61-70968-0000 (Paul-Gabriel Wiener / OpenSLR SLR12, CC BY 4.0) · audio credits.

Download or initialize Moonshine Streaming Small (~169.5 MB) above to transcribe.

Loading sample…

Transcript

Run transcription above to see live output from Moonshine Streaming Small.
Inference time—
Audio length—
Real-time factor—
Samples (% 80 pad)—
Tokens / speed—
Runtimewasm · q8

Use-case ladder