Views
No views yet
1import onnx_asr
2
3model = onnx_asr.load_model("OpenVoiceOS/misterkissi-whisper-small-haitian-creole-onnx")
4print(model.recognize("test.wav"))1from ovos_stt_plugin_onnx_asr import OnnxASRSTT
2
3stt = OnnxASRSTT(config={"model": "OpenVoiceOS/misterkissi-whisper-small-haitian-creole-onnx"})1$ export FORCE_ONNX_EXTERNAL_DATA=1
2$ optimum-cli export onnx --task automatic-speech-recognition-with-past --model misterkissi/whisper-small-haitian-creole whisper-onnx
3$ cd whisper-onnx && rm decoder.onnx* decoder_with_past_model.onnx* # only the merged decoder is needed