export CUDA_VISIBLE_DEVICES="0" | |
for m in ctc-decoding attention-decoder-rescoring-no-ngram; do | |
./zipformer/ctc_decode.py \ | |
--epoch 50 \ | |
--avg 22 \ | |
--exp-dir zipformer/exp \ | |
--use-ctc 1 \ | |
--use-transducer 0 \ | |
--use-attention-decoder 1 \ | |
--attention-decoder-loss-scale 0.9 \ | |
--max-duration 100 \ | |
--causal 0 \ | |
--num-paths 100 \ | |
--decoding-method $m | |