moonshine-base-onnx / README.md
Jarbas's picture
Mirror onnx-community/moonshine-base-ONNX (Useful Sensors, MIT)
178f262 verified
|
Raw
History Blame Contribute Delete
1.21 kB
---
license: mit
language:
- en
library_name: onnx-asr
tags:
- onnx
- onnx-asr
- automatic-speech-recognition
- moonshine
base_model: UsefulSensors/moonshine-base
---
# Moonshine Base (ONNX)
Moonshine Base is a compact English speech-to-text model from
[Useful Sensors](https://github.com/usefulsensors/moonshine). It is an
encoder-decoder model that reads the raw 16 kHz waveform, so it needs no
log-mel preprocessor.
This repository is a mirror of the official ONNX export
[onnx-community/moonshine-base-ONNX](https://huggingface.co/onnx-community/moonshine-base-ONNX),
kept so that the OpenVoiceOS ONNX ASR collection is self-contained. The
weights are unchanged.
## Usage
```py
import onnx_asr
model = onnx_asr.load_model("moonshine-base")
print(model.recognize("test.wav"))
```
Quantized variants load with the `quantization` argument:
```py
model = onnx_asr.load_model("moonshine-base", quantization="quantized")
```
## Credits
Model by Useful Sensors Inc., released under the MIT license. Paper:
[Moonshine: Speech Recognition for Live Transcription and Voice Commands](https://arxiv.org/abs/2410.15608).
ONNX export by [onnx-community](https://huggingface.co/onnx-community).
## License
MIT