We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
According the design of sequence decoder, a beam search operator is needed.
It takes two inputs:
topk_ids
topk_generation_scores
selected_ids
selected_translation_scores
The text was updated successfully, but these errors were encountered:
Superjomn
Successfully merging a pull request may close this issue.
According the design of sequence decoder, a beam search operator is needed.
It takes two inputs:
topk_ids
: candidate id set,topk_generation_scores
: the scores of the prefixes with the candidates appended.and it has two outputs:
selected_ids
: the selected candidate id set,selected_translation_scores
: the corresponding scores of the selected prefixes with candidates appended.The text was updated successfully, but these errors were encountered: