mirror of
https://github.com/ggerganov/whisper.cpp.git
synced 2024-12-19 04:37:51 +00:00
Adding helper script for converting the PT models
This commit is contained in:
parent
0e858f080d
commit
130b5c02d6
8
extra/convert-all.sh
Executable file
8
extra/convert-all.sh
Executable 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
|
Loading…
Reference in New Issue
Block a user