Download whisper.cpp/scripts/convert-all.sh from Dyen/Rovin: direct link, hf CLI and curl.
- Browser
- Download file 328 Bytes
-
https://huggingface.co/spaces/Dyen/Rovin/resolve/main/whisper.cpp/scripts/convert-all.sh
- Command line
-
hf download hf://spaces/Dyen/Rovin/whisper.cpp/scripts/convert-all.sh
-
curl -L -o convert-all.sh https://huggingface.co/spaces/Dyen/Rovin/resolve/main/whisper.cpp/scripts/convert-all.sh
328 Bytes
| 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 | |