pytorch / translate

Translate - a PyTorch Language Library
BSD 3-Clause "New" or "Revised" License
826 stars 192 forks source link

`build_generator` api changes for the scripted SequenceGenerator (#1922) #697

Closed liuchen9494 closed 4 years ago

liuchen9494 commented 4 years ago

Summary: Pull Request resolved: https://github.com/pytorch/fairseq/pull/1922

Pull Request resolved: https://github.com/fairinternal/fairseq-py/pull/1117

We are planning to deprecate the original SequenceGenerator and use the ScriptSequenceGenerator in the Fairseq. Due to the change of scripted Sequence Generator constructor, I change build_generator interface in Fairseq, pyspeech and pytorch translate.

Reviewed By: myleott

Differential Revision: D20683836

facebook-github-bot commented 4 years ago

This pull request was exported from Phabricator. Differential Revision: D20683836