Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix default value for --context-size in aishell. #1538

Merged
merged 1 commit into from
Mar 8, 2024

Conversation

csukuangfj
Copy link
Collaborator

The inconsistent default value of --context-size in aishell causes many troubles. This PR fixes that.

@@ -250,7 +250,7 @@ def get_parser():
parser.add_argument(
"--context-size",
type=int,
default=1,
default=2,
Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

See also

parser.add_argument(
"--context-size",
type=int,
default=2,
help="The context size in the decoder. 1 means bigram; 2 means tri-gram",
)

@csukuangfj csukuangfj merged commit 60986c3 into k2-fsa:master Mar 8, 2024
6 checks passed
@csukuangfj csukuangfj deleted the fix-aishell branch March 8, 2024 12:47
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant