Minor fixes

This commit is contained in:
pkufool 2022-03-14 11:44:18 +08:00
parent e2590e3ac3
commit 18dd5678d9

View File

@ -50,9 +50,9 @@ Usage:
--exp-dir ./pruned_transducer_stateless/exp \ --exp-dir ./pruned_transducer_stateless/exp \
--max-duration 1500 \ --max-duration 1500 \
--decoding-method fast_beam_search \ --decoding-method fast_beam_search \
--beam 8 \ --beam 4 \
--max-contexts 10 \ --max-contexts 4 \
--max-states 20 --max-states 8
""" """
@ -142,7 +142,7 @@ def get_parser():
parser.add_argument( parser.add_argument(
"--beam", "--beam",
type=float, type=float,
default=8, default=4,
help="""Used only when --decoding-method is help="""Used only when --decoding-method is
fast_beam_search""", fast_beam_search""",
) )
@ -150,7 +150,7 @@ def get_parser():
parser.add_argument( parser.add_argument(
"--max-contexts", "--max-contexts",
type=int, type=int,
default=5, default=4,
help="""Used only when --decoding-method is help="""Used only when --decoding-method is
fast_beam_search""", fast_beam_search""",
) )
@ -158,7 +158,7 @@ def get_parser():
parser.add_argument( parser.add_argument(
"--max-states", "--max-states",
type=int, type=int,
default=10, default=8,
help="""Used only when --decoding-method is help="""Used only when --decoding-method is
fast_beam_search""", fast_beam_search""",
) )