csukuangfj's picture
first commit
e7b2180
|
raw
history blame
929 Bytes
# Speech recognition with Next-gen Kaldi
This repo contains [ncnn][ncnn] model files, which are converted from
models trained using <https://github.com/k2-fsa/icefall/pull/558>
via [pnnx][pnnx].
The inference framework is <https://github.com/k2-fsa/sherpa-ncnn>
```bash
sudo apt-get install git-lfs
git lfs install
git clone https://huggingface.co/csukuangfj/sherpa-ncnn-2022-09-05
git clone https://github.com/k2-fsa/sherpa-ncnn
mkdir sherpa-ncnn/build
ln -s $PWD/sherpa-ncnn-2022-09-05/bar ./sherpa-ncnn/build
ln -s $PWD/sherpa-ncnn-2022-09-05/test_wavs ./sherpa-ncnn/build
cd sherpa-ncnn/build
cmake ..
make -j
./bin/sherpa-ncnn ./test_wavs/1089-134686-0001.wav
./bin/sherpa-ncnn ./test_wavs/1221-135766-0001.wav
./bin/sherpa-ncnn ./test_wavs/1221-135766-0002.wav
```
[pnnx]: https://github.com/Tencent/ncnn/tree/master/tools/pnnx
[ncnn]: https://github.com/tencent/ncnn
[icefall]: https://github.com/k2-fsa/icefall