Downloads · 30 days
0
Arm/moonshine-base-en-fp32-onnx
moonshine-base-en-fp32-onnx is a automatic speech recognition model from Arm. Use it when you need speech turned into text. The card lists the license as mit.
This repository packages the FP32 ONNX artifacts for the English Moonshine Base automatic speech recognition model. The package uses an encoder-decoder pipeline with greedy cached decoding.
Downloads · 30 days
0
Access
Public
Updated Oct 24, 2026
Repo size
248 MB
Likes
0
Public
Click a slice to open those files.
.onnx247 MB · 100%
From the Hugging Face model README
This repository packages the FP32 ONNX artifacts for the English Moonshine Base automatic speech recognition model. The package uses an encoder-decoder pipeline with greedy cached decoding.
Moonshine Base is an encoder-decoder speech recognition model. This package provides the English FP32 ONNX encoder and merged decoder with greedy decoding and a key-value cache.
moonshine-ai/moonshineFollow these steps to run Moonshine Base English on macOS® with Apple Silicon or on Linux® with an Arm®-based CPU, such as a Raspberry Pi® 5.
git clone https://github.com/ARM-software/ComputeFlow.git && cd ComputeFlow
uv sync && source .venv/bin/activate
compute-flow update
compute-flow model install stt:moonshine moonshine-base-en
compute-flow build native
python -m cli_examples.stt_cli \
-m @manifest/moonshine/moonshine-base-en/moonshine_manifest_base_en.json \
-a @sample/beckett.wav \
-t 1
The example transcribes the bundled samples/beckett.wav recording. Replace -a with a path to
your own WAV file.
For upstream accuracy results, refer to Table 2 in the Moonshine paper, which reports Moonshine Base WER across eight OpenASR Leaderboard datasets.
Performance was measured under the following conditions:
The following methodology and definitions were used:
| Metric | Android™ Vivo X300: FP32 |
|---|---|
| Model size | 247.0 MB |
| RTFx | 22.800 |
| End-to-end latency, p50 | 183.705 ms |
| End-to-end latency, p90 | 192.586 ms |
| End-to-end latency, p99 | 199.977 ms |
| Peak memory | 588.7 MiB |
| Average memory | 463.6 MiB |
RTFx is the total input-audio duration divided by total inference time, so higher values indicate faster processing.
This package supports English speech. It returns the complete transcription after decoding rather than streaming partial transcription text.
Transcribe mono 16 kHz English speech into text.
| Component role | Framework / format |
|---|---|
| Acoustic encoding | ONNX |
| Cached text token decode | ONNX |
Greedy decoding does not use an external language model.
The encoder and decoder weights and external tensor interfaces use FP32. This package is not quantized.
| Input | Description |
|---|---|
| Mono 16 kHz audio | English speech to transcribe |
The model returns a complete UTF-8 transcription string.
moonshine_manifest_base_en.json — package manifest.encoder_model_base_en_fp32.onnx — FP32 encoder model.decoder_model_merged_base_en_fp32.onnx — FP32 merged decoder model.assets/tokenizer.bin — tokenizer asset.samples/beckett.wav — sample audio for a smoke test.metadata.yaml and benchmarks/ — model and benchmark metadata.SHA256SUMS — package checksums.The encoder and decoder derive from the FP32 Moonshine Base ONNX package at
moonshine-ai/moonshine.
assets/tokenizer.bin derives from the upstream tokenizer assets.
samples/beckett.wav derives from the
Moonshine sample.
It was converted to mono 16 kHz 32-bit float WAV with:
ffmpeg -i beckett_source.wav \
-ar 16000 \
-ac 1 \
-c:a pcm_f32le \
-f wav \
samples/beckett.wav
SHA256SUMS covers every regular package file except itself and paths with a dotfile component.
Verify the checked-out files from the repository root with:
shasum -a 256 -c SHA256SUMS