Adding helper script for converting the PT models

pull/60/head
Georgi Gerganov 3 years ago
parent 0e858f080d
commit 9c24ff40d9
No known key found for this signature in database
GPG Key ID: 449E073F9DC10735

@ -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
Loading…
Cancel
Save