Adding helper script for converting the PT models

pull/24/merge
Georgi Gerganov 2 years ago
parent 0e858f080d
commit 130b5c02d6

@ -0,0 +1,8 @@
#!/bin/bash
models=( "tiny.en" "tiny" "base.en" "base" "small.en" "small" "medium.en" "medium" "large" )
for model in "${models[@]}"; do
python3 convert-pt-to-ggml.py ~/.cache/whisper/$model.pt ../whisper models/
mv -v models/ggml-model.bin models/ggml-$model.bin
done
Loading…
Cancel
Save