alphacep / vosk-api

Offline speech recognition API for Android, iOS, Raspberry Pi and servers with Python, Java, C# and Node
Apache License 2.0
7.37k stars 1.04k forks source link

How to convert vosk-model-cn-kaldi-multicn-0.15 to small one? #1476

Closed deepsadness closed 6 months ago

deepsadness commented 6 months ago

Hello. This repo is aweasmone. But there is a doubt that bothers me.

In the model list. I found vosk-model-cn-kaldi-multicn-0.15. Is there any way to convert it into a small version? How should I train small one?

nshmyrev commented 6 months ago

You can not convert, you have to train a new one. The training script example is here:

https://github.com/alphacep/vosk-api/tree/master/training

see also

https://github.com/alphacep/vosk-api/blob/master/python/example/colab/vosk-training.ipynb

You can also check the original Kaldi multicn recipe

nshmyrev commented 6 months ago

Let us know if you have other questions