update params in decode.py

This commit is contained in:
Guanbo Wang 2022-04-06 19:41:24 -04:00
parent 9a5340b21f
commit d9addb7c43

View File

@ -102,7 +102,7 @@ def get_parser():
parser.add_argument( parser.add_argument(
"--num-paths", "--num-paths",
type=int, type=int,
default=100, default=1000,
help="""Number of paths for n-best based decoding method. help="""Number of paths for n-best based decoding method.
Used only when "method" is one of the following values: Used only when "method" is one of the following values:
nbest, nbest-rescoring, attention-decoder, and nbest-oracle nbest, nbest-rescoring, attention-decoder, and nbest-oracle
@ -131,7 +131,7 @@ def get_parser():
parser.add_argument( parser.add_argument(
"--lang-dir", "--lang-dir",
type=str, type=str,
default="data/lang_bpe_5000", default="data/lang_bpe_500",
help="The lang dir", help="The lang dir",
) )