Skip to content
This repository has been archived by the owner on Nov 22, 2022. It is now read-only.

RNNG: add tok/beam size to forward params #434

Closed

Conversation

seayoung1112
Copy link
Contributor

Summary:
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

@facebook-github-bot facebook-github-bot added the CLA Signed Do not delete this pull request or issue due to inactivity. label Apr 2, 2019
@seayoung1112 seayoung1112 force-pushed the export-D14718588 branch 3 times, most recently from 6fa1ab2 to 4a0daf3 Compare April 3, 2019 18:19
seayoung1112 added a commit to seayoung1112/pytext-1 that referenced this pull request Apr 3, 2019
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: 02aa8599809fed1feb6618d4014ca28d2aa04bf9
seayoung1112 added a commit to seayoung1112/pytext-1 that referenced this pull request Apr 4, 2019
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
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)

Reviewed By: wowitsmrinal

Differential Revision: D14718588

fbshipit-source-id: 1aaa763e20b4065d78ab425e4b50f1301452fbfe
@facebook-github-bot
Copy link
Contributor

This pull request has been merged in 963cb9e.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
CLA Signed Do not delete this pull request or issue due to inactivity. Merged
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants