clean up the NAT loss (#921)
Summary: Clean up the original NAT loss and make it more general to adapt new losses used in NAT models. Pull Request resolved: https://github.com/fairinternal/fairseq-py/pull/921 Differential Revision: D18610145 Pulled By: MultiPath fbshipit-source-id: d04dd0fc4047b5f8e332cfe66b1e28cbf39494af
Showing
Please register or sign in to comment