Adding helper script for converting the PT models

pull/67/head
Georgi Gerganov 2022-10-17 18:37:06 +03:00
parent 0e858f080d
commit 130b5c02d6
1 changed files with 8 additions and 0 deletions

View File

@ -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