Adding helper script for converting the PT models

This commit is contained in:
Georgi Gerganov 2022-10-17 18:37:06 +03:00
parent 0e858f080d
commit 130b5c02d6

8
extra/convert-all.sh Executable file
View File

@ -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