Commit
·
b5c1c90
1
Parent(s):
90fd0be
update readme
Browse files
README.md
CHANGED
@@ -11,41 +11,10 @@ The inference framework is <https://github.com/k2-fsa/sherpa-ncnn>
|
|
11 |
|
12 |
# Usage
|
13 |
|
14 |
-
|
15 |
-
|
|
|
16 |
|
17 |
-
git clone https://github.com/k2-fsa/sherpa-ncnn
|
18 |
-
cd sherpa-ncnn
|
19 |
-
mkdir build
|
20 |
-
cd build
|
21 |
-
cmake ..
|
22 |
-
make -j6
|
23 |
-
cd ..
|
24 |
-
|
25 |
-
# Now download the pretrained model
|
26 |
-
|
27 |
-
git lfs install
|
28 |
-
git clone https://huggingface.co/csukuangfj/sherpa-ncnn-2022-09-05
|
29 |
-
|
30 |
-
./build/bin/sherpa-ncnn \
|
31 |
-
./sherpa-ncnn-2022-09-05/tokens.txt \
|
32 |
-
./sherpa-ncnn-2022-09-05/bar/encoder_jit_trace-v2-iter-468000-avg-16-pnnx.ncnn.param \
|
33 |
-
./sherpa-ncnn-2022-09-05/bar/encoder_jit_trace-v2-iter-468000-avg-16-pnnx.ncnn.bin \
|
34 |
-
./sherpa-ncnn-2022-09-05/bar/decoder_jit_trace-v2-iter-468000-avg-16-pnnx.ncnn.param \
|
35 |
-
./sherpa-ncnn-2022-09-05/bar/decoder_jit_trace-v2-iter-468000-avg-16-pnnx.ncnn.bin \
|
36 |
-
./sherpa-ncnn-2022-09-05/bar/joiner_jit_trace-v2-iter-468000-avg-16-pnnx.ncnn.param \
|
37 |
-
./sherpa-ncnn-2022-09-05/bar/joiner_jit_trace-v2-iter-468000-avg-16-pnnx.ncnn.bin \
|
38 |
-
./sherpa-ncnn-2022-09-05/test_wavs/1089-134686-0001.wav
|
39 |
-
```
|
40 |
-
|
41 |
-
If you have any issues, please ask at
|
42 |
-
<https://github.com/k2-fsa/sherpa-ncnn/issues>
|
43 |
-
|
44 |
-
Please see
|
45 |
-
<https://k2-fsa.github.io/icefall/recipes/librispeech/lstm_pruned_stateless_transducer.html>
|
46 |
-
for how the model is trained and exported to ncnn if you are interested.
|
47 |
|
48 |
[pnnx]: https://github.com/Tencent/ncnn/tree/master/tools/pnnx
|
49 |
[ncnn]: https://github.com/tencent/ncnn
|
50 |
-
[icefall]: https://github.com/k2-fsa/icefall
|
51 |
-
|
|
|
11 |
|
12 |
# Usage
|
13 |
|
14 |
+
please see
|
15 |
+
https://k2-fsa.github.io/sherpa/ncnn/pretrained_models/lstm-transducer-models.html#csukuangfj-sherpa-ncnn-2022-09-05-english
|
16 |
+
for usage.
|
17 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
18 |
|
19 |
[pnnx]: https://github.com/Tencent/ncnn/tree/master/tools/pnnx
|
20 |
[ncnn]: https://github.com/tencent/ncnn
|
|
|
|