Skip to content

Latest commit

 

History

History

distil-whisper

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Distil-Whisper

Input

Audio file

demo.mov

Output

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.

Requirements

This model requires additional module.

pip3 install soundfile

Usage

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

Reference

Framework

Pytorch

Model Format

ONNX opset=11

Netron

distil-large-v2_encoder.onnx.prototxt
distil-large-v2_decoder.onnx.prototxt