Views
No views yet
sudo apt-get install git-lfs
git clone https://huggingface.co/csukuangfj/icefall-asr-librispeech-transducer-bpe-500-2021-12-23
cd icefall-asr-librispeech-transducer-bpe-500-2021-12-23
git lfs pullgit lfs pull. Otherwise, you will be SAD later.5b6699a8354b70b23b252b371c612a35ed186ec2.git clone https://github.com/k2-fsa/icefall
cd icefall
git checkout 5b6699a8354b70b23b252b371c612a35ed186ec2icefall.cd egs/librispeech/ASR/
./prepare.sh
export CUDA_VISIBLE_DEVICES="0,1,2,3"
./transducer/train.py \
--world-size 4 \
--num-epochs 35 \
--start-epoch 0 \
--exp-dir transducer/exp-lr-2.5-full \
--full-libri 1 \
--max-duration 180 \
--lr-factor 2.5epoch=34
avg=11
./transducer/decode.py \
--epoch $epoch \
--avg $avg \
--exp-dir transducer/exp-lr-2.5-full \
--bpe-model ./data/lang_bpe_500/bpe.model \
--max-duration 100log folder
of this repo.| test-clean | test-other | |
|---|---|---|
| WER | 3.07 | 7.51 |
preprained.ptexp/pretrained.pt is generated by the following command:./transducer/export.py \
--epoch 34 \
--avg 11 \
--bpe-model data/lang_bpe_500/bpe.model \
--exp-dir transducer/exp-lr-2.5-fullpre-trained.pt to compute the WER for test-clean and test-other,
just do the following:cp icefall-asr-librispeech-transducer-bpe-500-2021-12-23/exp/pretrained.pt \
/path/to/icefall/egs/librispeech/ASR/transducer/exp/epoch-999.pt--epoch 999 --avg 1 to transducer/decode.py.