File size: 1,033 Bytes
b866f1e 8b0b0d0 b866f1e 8b0b0d0 b866f1e 8b0b0d0 0a140f9 991f614 0a140f9 991f614 b866f1e |
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 |
---
license: mit
---
```
# require openai/whisper and ggerganov/whisper.cpp
git clone https://github.com/openai/whisper
git clone https://github.com/ggerganov/whisper.cpp
# convert models on huggingface
git clone https://huggingface.co/Jingmiao/whisper-small-chinese_base
python whisper.cpp/models/convert-h5-to-ggml.py ./whisper-small-chinese_base ./whisper .
mv ggml-model.bin whisper-small-chinese_base.zh.bin
git clone https://huggingface.co/BELLE-2/Belle-whisper-large-v2-zh
python whisper.cpp/models/convert-h5-to-ggml.py ./Belle-whisper-large-v2-zh ./whisper .
mv ggml-model.bin Belle-whisper-large-v2-zh.zh.bin
# recommend
git clone https://huggingface.co/BELLE-2/Belle-whisper-large-v3-zh
python whisper.cpp/models/convert-h5-to-ggml.py ./Belle-whisper-large-v3-zh ./whisper .
mv ggml-model.bin Belle-whisper-large-v3-zh.zh.bin
git clone https://huggingface.co/vumichien/whisper-medium-jp
python whisper.cpp/models/convert-h5-to-ggml.py ./whisper-medium-jp ./whisper .
mv ggml-model.bin whisper-medium-jp.jp.bin
```
|