Downloads · 30 days
0
xuancaiqisehua/icefall_asr_tal-csasr_conv_emformer_transducer_stateless2
icefall_asr_tal-csasr_conv_emformer_transducer_stateless2 is a machine learning model from xuancaiqisehua. Use it for the machine learning task on the model card, and read the license before you ship it in a product.
Note: This recipe is trained with the codes from this PR https://github.com/k2-fsa/icefall/pull/874.
Downloads · 30 days
0
Access
Public
Updated Feb 5, 2023
Repo size
749 MB
Likes
1
Public
Click a slice to open those files.
.pt749 MB · 97%
From the Hugging Face model README
Note: This recipe is trained with the codes from this PR https://github.com/k2-fsa/icefall/pull/874.
The model was trained on the far data of TAL_CSASR with the scripts in icefall based on the latest version k2. You can use the trained model to export it to ncnn and run it with sherpa-ncnn.
git clone https://github.com/k2-fsa/icefall
cd icefall
cd egs/tal_csasr_conv_emformer/ASR
bash ./prepare.sh
bash run.sh
| decoding-method | epoch(iter) | avg | dev | test |
|---|---|---|---|---|
| fast_beam_search | 6 | 3 | 11.36 | 11.37 |
./conv_emformer_transducer_stateless2/export-for-ncnn.py \
--exp-dir exp_conv_emformer \
--lang_dir data/lang_char \
--epoch 5 \
--iter 8000 \
--avg 3 \
--use-averaged-model 1 \
--num-encoder-layers 12 \
--chunk-length 32 \
--cnn-module-kernel 31 \
--left-context-length 32 \
--right-context-length 8 \
--memory-size 32
pnnx ./encoder_jit_trace-pnnx.pt
pnnx ./decoder_jit_trace-pnnx.pt
pnnx ./joiner_jit_trace-pnnx.pt

model/tokens.txt \
model/encoder_jit_trace-pnnx.ncnn.param \
model/encoder_jit_trace-pnnx.ncnn.bin \
model/decoder_jit_trace-pnnx.ncnn.param \
model/decoder_jit_trace-pnnx.ncnn.bin \
model/joiner_jit_trace-pnnx.ncnn.param \
model/joiner_jit_trace-pnnx.ncnn.bin \
test_wavs/0.wav