mirror of
https://github.com/k2-fsa/icefall.git
synced 2025-09-19 05:54:20 +00:00
do some changes
This commit is contained in:
parent
d2581cfcb4
commit
23be42a8c9
@ -19,29 +19,29 @@
|
|||||||
"""
|
"""
|
||||||
When training with the L subset, usage:
|
When training with the L subset, usage:
|
||||||
(1) greedy search
|
(1) greedy search
|
||||||
./pruned_transducer_stateless2/decode.py \
|
./pruned_transducer_stateless5/decode.py \
|
||||||
--epoch 10 \
|
--epoch 4 \
|
||||||
--avg 2 \
|
--avg 1 \
|
||||||
--exp-dir ./pruned_transducer_stateless2/exp \
|
--exp-dir ./pruned_transducer_stateless5/exp_L_offline \
|
||||||
--lang-dir data/lang_char \
|
--lang-dir data/lang_char \
|
||||||
--max-duration 100 \
|
--max-duration 100 \
|
||||||
--decoding-method greedy_search
|
--decoding-method greedy_search
|
||||||
|
|
||||||
(2) modified beam search
|
(2) modified beam search
|
||||||
./pruned_transducer_stateless2/decode.py \
|
./pruned_transducer_stateless5/decode.py \
|
||||||
--epoch 10 \
|
--epoch 4 \
|
||||||
--avg 2 \
|
--avg 1 \
|
||||||
--exp-dir ./pruned_transducer_stateless2/exp \
|
--exp-dir ./pruned_transducer_stateless5/exp_L_offline \
|
||||||
--lang-dir data/lang_char \
|
--lang-dir data/lang_char \
|
||||||
--max-duration 100 \
|
--max-duration 100 \
|
||||||
--decoding-method modified_beam_search \
|
--decoding-method modified_beam_search \
|
||||||
--beam-size 4
|
--beam-size 4
|
||||||
|
|
||||||
(3) fast beam search
|
(3) fast beam search
|
||||||
./pruned_transducer_stateless2/decode.py \
|
./pruned_transducer_stateless5/decode.py \
|
||||||
--epoch 10 \
|
--epoch 4 \
|
||||||
--avg 2 \
|
--avg 1 \
|
||||||
--exp-dir ./pruned_transducer_stateless2/exp \
|
--exp-dir ./pruned_transducer_stateless5/exp_L_offline \
|
||||||
--lang-dir data/lang_char \
|
--lang-dir data/lang_char \
|
||||||
--max-duration 1500 \
|
--max-duration 1500 \
|
||||||
--decoding-method fast_beam_search \
|
--decoding-method fast_beam_search \
|
||||||
|
@ -18,12 +18,12 @@
|
|||||||
"""
|
"""
|
||||||
Usage:
|
Usage:
|
||||||
python pruned_transducer_stateless5/streaming_decode.py \
|
python pruned_transducer_stateless5/streaming_decode.py \
|
||||||
--epoch 5 \
|
--epoch 7 \
|
||||||
--avg 1 \
|
--avg 1 \
|
||||||
--decode-chunk-size 16 \
|
--decode-chunk-size 16 \
|
||||||
--left-context 64 \
|
--left-context 64 \
|
||||||
--right-context 0 \
|
--right-context 0 \
|
||||||
--exp-dir ./pruned_transducer_stateless5/exp \
|
--exp-dir ./pruned_transducer_stateless5/exp_L_streaming \
|
||||||
--decoding-method greedy_search \
|
--decoding-method greedy_search \
|
||||||
--num-decode-streams 2000
|
--num-decode-streams 2000
|
||||||
"""
|
"""
|
||||||
|
Loading…
x
Reference in New Issue
Block a user