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

What is argument 'k' in translate.py? #34

Open
shubhamsrivast4u opened this issue Mar 20, 2023 · 1 comment
Open

What is argument 'k' in translate.py? #34

shubhamsrivast4u opened this issue Mar 20, 2023 · 1 comment

Comments

@shubhamsrivast4u
Copy link

Does this variable 'k' relates with any other variable when we trained, e.g. 'max_len' variable in test is 'max_strlen' in training.

@congson1293
Copy link

k is the beam width of the beam search.

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

No branches or pull requests

2 participants