mirror of
https://github.com/k2-fsa/icefall.git
synced 2025-08-26 18:24:18 +00:00
Update conformer_ctc.rst
This commit is contained in:
parent
c8afe05e73
commit
e035d2749c
@ -594,8 +594,7 @@ The command to run HLG decoding is:
|
|||||||
$ cd egs/librispeech/ASR
|
$ cd egs/librispeech/ASR
|
||||||
$ ./conformer_ctc/pretrained.py \
|
$ ./conformer_ctc/pretrained.py \
|
||||||
--checkpoint ./tmp/icefall_asr_librispeech_conformer_ctc/exp/pretrained.pt \
|
--checkpoint ./tmp/icefall_asr_librispeech_conformer_ctc/exp/pretrained.pt \
|
||||||
--words-file ./tmp/icefall_asr_librispeech_conformer_ctc/data/lang_bpe/words.txt \
|
--lang-dir ./tmp/icefall_asr_librispeech_conformer_ctc/data/lang_bpe \
|
||||||
--HLG ./tmp/icefall_asr_librispeech_conformer_ctc/data/lang_bpe/HLG.pt \
|
|
||||||
./tmp/icefall_asr_librispeech_conformer_ctc/test_wavs/1089-134686-0001.flac \
|
./tmp/icefall_asr_librispeech_conformer_ctc/test_wavs/1089-134686-0001.flac \
|
||||||
./tmp/icefall_asr_librispeech_conformer_ctc/test_wavs/1221-135766-0001.flac \
|
./tmp/icefall_asr_librispeech_conformer_ctc/test_wavs/1221-135766-0001.flac \
|
||||||
./tmp/icefall_asr_librispeech_conformer_ctc/test_wavs/1221-135766-0002.flac
|
./tmp/icefall_asr_librispeech_conformer_ctc/test_wavs/1221-135766-0002.flac
|
||||||
@ -637,8 +636,7 @@ The command to run HLG decoding + LM rescoring is:
|
|||||||
$ cd egs/librispeech/ASR
|
$ cd egs/librispeech/ASR
|
||||||
$ ./conformer_ctc/pretrained.py \
|
$ ./conformer_ctc/pretrained.py \
|
||||||
--checkpoint ./tmp/icefall_asr_librispeech_conformer_ctc/exp/pretrained.pt \
|
--checkpoint ./tmp/icefall_asr_librispeech_conformer_ctc/exp/pretrained.pt \
|
||||||
--words-file ./tmp/icefall_asr_librispeech_conformer_ctc/data/lang_bpe/words.txt \
|
--lang-dir ./tmp/icefall_asr_librispeech_conformer_ctc/data/lang_bpe \
|
||||||
--HLG ./tmp/icefall_asr_librispeech_conformer_ctc/data/lang_bpe/HLG.pt \
|
|
||||||
--method whole-lattice-rescoring \
|
--method whole-lattice-rescoring \
|
||||||
--G ./tmp/icefall_asr_librispeech_conformer_ctc/data/lm/G_4_gram.pt \
|
--G ./tmp/icefall_asr_librispeech_conformer_ctc/data/lm/G_4_gram.pt \
|
||||||
--ngram-lm-scale 0.8 \
|
--ngram-lm-scale 0.8 \
|
||||||
@ -685,8 +683,7 @@ The command to run HLG decoding + LM rescoring + attention decoder rescoring is:
|
|||||||
$ cd egs/librispeech/ASR
|
$ cd egs/librispeech/ASR
|
||||||
$ ./conformer_ctc/pretrained.py \
|
$ ./conformer_ctc/pretrained.py \
|
||||||
--checkpoint ./tmp/icefall_asr_librispeech_conformer_ctc/exp/pretrained.pt \
|
--checkpoint ./tmp/icefall_asr_librispeech_conformer_ctc/exp/pretrained.pt \
|
||||||
--words-file ./tmp/icefall_asr_librispeech_conformer_ctc/data/lang_bpe/words.txt \
|
--lang-dir ./tmp/icefall_asr_librispeech_conformer_ctc/data/lang_bpe \
|
||||||
--HLG ./tmp/icefall_asr_librispeech_conformer_ctc/data/lang_bpe/HLG.pt \
|
|
||||||
--method attention-decoder \
|
--method attention-decoder \
|
||||||
--G ./tmp/icefall_asr_librispeech_conformer_ctc/data/lm/G_4_gram.pt \
|
--G ./tmp/icefall_asr_librispeech_conformer_ctc/data/lm/G_4_gram.pt \
|
||||||
--ngram-lm-scale 1.3 \
|
--ngram-lm-scale 1.3 \
|
||||||
|
Loading…
x
Reference in New Issue
Block a user