Audio file
demo.mov
Recognized speech text
He hoped there would be stew for dinner, turnips and carrots and bruised potatoes and fat mutton pieces to be ladled out in thick, peppered, flour-fattened sauce.
This model requires additional module.
pip3 install soundfile
Automatically downloads the onnx and prototxt files on the first run. It is necessary to be connected to the Internet while downloading.
For the sample wav,
$ python3 distil-whisper.py
If you want to specify the audio, put the file path after the --input
option.
$ python3 distil-whisper.py --input AUDIO_FILE
Pytorch
ONNX opset=11
distil-large-v2_encoder.onnx.prototxt
distil-large-v2_decoder.onnx.prototxt