| license: mit | |
| ``` | |
| # require openai/whisper and ggerganov/whisper.cpp | |
| git clone https://github.com/openai/whisper | |
| git clone https://github.com/ggerganov/whisper.cpp | |
| # model 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 | |
| ``` | |