forked from NVIDIA/NeMo
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add Canary support for decoding with return_hypotheses=True (NVIDIA#8338
) * change default decoding to beam=1 and length up to decoder max len Signed-off-by: stevehuang52 <[email protected]> * add Canary support for return_hypotheses=True Signed-off-by: stevehuang52 <[email protected]> * change len_pen default to 0 Signed-off-by: stevehuang52 <[email protected]> * fix for nbest hypotheses Signed-off-by: stevehuang52 <[email protected]> * fix for return best hypo Signed-off-by: stevehuang52 <[email protected]> --------- Signed-off-by: stevehuang52 <[email protected]> Signed-off-by: Zeeshan Patel <[email protected]>
- Loading branch information
1 parent
4995981
commit cb2b5e7
Showing
5 changed files
with
46 additions
and
33 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters