whisper.cpp/extra/convert-all.sh
2022-10-18 00:12:51 +03:00

9 lines
279 B
Bash
Executable File

#!/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