Downloads · 30 days
0
luomingshuang/icefall_asr_wenetspeech_pruned_transducer_stateless2
icefall_asr_wenetspeech_pruned_transducer_stateless2 is a machine learning model from luomingshuang. 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/349 The model was trained on the L subset of WenetSpeech with the scripts in icefall based on the latest version k2. The…
Downloads · 30 days
0
Access
Public
Updated Oct 13, 2022
Repo size
5.6 GB
Likes
4
Public
Click a slice to open those files.
.pt5.3 GB · 90%
From the Hugging Face model README
Note: This recipe is trained with the codes from this PR https://github.com/k2-fsa/icefall/pull/349
The model was trained on the L subset of WenetSpeech with the scripts in icefall based on the latest version k2.
The main repositories are list below, we will update the training and decoding scripts with the update of version.
k2: https://github.com/k2-fsa/k2
icefall: https://github.com/k2-fsa/icefall
lhotse: https://github.com/lhotse-speech/lhotse
git clone https://github.com/k2-fsa/icefall
cd icefall
cd egs/wenetspeech/ASR
bash ./prepare.sh
export CUDA_VISIBLE_DEVICES="0,1,2,3,4,5,6,7"
./pruned_transducer_stateless2/train.py \
--world-size 8 \
--num-epochs 15 \
--start-epoch 0 \
--exp-dir pruned_transducer_stateless2/exp \
--lang-dir data/lang_char \
--max-duration 180 \
--valid-interval 3000 \
--model-warm-step 3000 \
--save-every-n 8000 \
--training-subset L
The decoding results (WER%) on WenetSpeech(dev, test-net and test-meeting) are listed below, we got this result by averaging models from epoch 9 to 10. The WERs are
| dev | test-net | test-meeting | comment | |
|---|---|---|---|---|
| greedy search | 7.80 | 8.75 | 13.49 | --epoch 10, --avg 2, --max-duration 100 |
| modified beam search (beam size 4) | 7.76 | 8.71 | 13.41 | --epoch 10, --avg 2, --max-duration 100 |
| fast beam search (1best) | 7.94 | 8.74 | 13.80 | --epoch 10, --avg 2, --max-duration 1500 |
| fast beam search (nbest) | 9.82 | 10.98 | 16.37 | --epoch 10, --avg 2, --max-duration 600 |
| fast beam search (nbest oracle) | 6.88 | 7.18 | 11.77 | --epoch 10, --avg 2, --max-duration 600 |
| fast beam search (nbest LG) | 14.94 | 16.14 | 22.93 | --epoch 10, --avg 2, --max-duration 600 |