forked from facebookresearch/pytext
-
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.
RNNG: add tok/beam size to forward params (facebookresearch#434)
Summary: Pull Request resolved: facebookresearch#434 1 add tok/beam size to forward params 2 change the way of getting input from using enum to incrementing index, because the enum way is wrong when dict feat is optional and contextual feat is given (input position changed) 3 this change is backward compatible, but not forward compatible (old model will work with this code but new model will not work with existing predictor) Differential Revision: D14718588 fbshipit-source-id: 2289c97840a3e77d0a8f807f2d558be9b98da710
- Loading branch information
1 parent
944cc11
commit 178d9a4
Showing
3 changed files
with
10 additions
and
12 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