This is an implementation of Whisper as a Cog model. Cog packages machine learning models as standard containers.
First, run get_weights.sh
from the project root to download pre-trained weights:
./scripts/get_weights.sh
You can then build a container and run predictions like so:
cog predict -i audio="<path/to/your/audio/file>"