ggerganov commited on
Commit
8a0ab81
·
1 Parent(s): 2631afb

Adding helper script for converting the PT models

Browse files
Files changed (1) hide show
  1. extra/convert-all.sh +8 -0
extra/convert-all.sh ADDED
@@ -0,0 +1,8 @@
 
 
 
 
 
 
 
 
 
1
+ #!/bin/bash
2
+
3
+ models=( "tiny.en" "tiny" "base.en" "base" "small.en" "small" "medium.en" "medium" "large" )
4
+
5
+ for model in "${models[@]}"; do
6
+ python3 convert-pt-to-ggml.py ~/.cache/whisper/$model.pt ../whisper models/
7
+ mv -v models/ggml-model.bin models/ggml-$model.bin
8
+ done