mirror of
https://github.com/ggerganov/whisper.cpp.git
synced 2024-12-18 20:27:53 +00:00
9 lines
328 B
Bash
Executable File
9 lines
328 B
Bash
Executable File
#!/bin/bash
|
|
|
|
models=( "tiny.en" "tiny" "base.en" "base" "small.en" "small" "medium.en" "medium" "large-v1" "large-v2" "large-v3" "large-v3-turbo" )
|
|
|
|
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
|