files : rename ./extra to ./scripts

This commit is contained in:
Georgi Gerganov
2024-04-09 20:12:17 +03:00
parent 5275074d37
commit 52ccd4a3a8
12 changed files with 7 additions and 7 deletions

8
scripts/convert-all.sh Executable file
View File

@ -0,0 +1,8 @@
#!/bin/bash
models=( "tiny.en" "tiny" "base.en" "base" "small.en" "small" "medium.en" "medium" "large-v1" "large-v2" "large-v3" )
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