File size: 311 Bytes
613af8d
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
#!/bin/bash

models=( "tiny.en" "tiny" "base.en" "base" "small.en" "small" "medium.en" "medium" "large-v1" "large-v2" "large-v3" )

for model in "${models[@]}"; do
    python3 models/convert-pt-to-ggml.py ~/.cache/whisper/$model.pt ../whisper models/
    mv -v models/ggml-model.bin models/ggml-$model.bin
done