pytorch / translate

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

Adding character information to the final layer with vocab reduction #664

Closed rasoolims closed 4 years ago

rasoolims commented 5 years ago

Summary: Similar to https://arxiv.org/pdf/1809.02223.pdf, we add character information to the final layer. Here we use precomputation during inference, and compute with vocab reduction in training in order not to blow up memory.

Differential Revision: D18272263

facebook-github-bot commented 5 years ago

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

facebook-github-bot commented 4 years ago

Hi @rasoolims!

Thank you for your pull request. We require contributors to sign our Contributor License Agreement, and yours needs attention.

You currently have a record in our system, but we do not have a signature on file.

In order for us to review and merge your code, please sign at https://code.facebook.com/cla. If you are contributing on behalf of someone else (eg your employer), the individual CLA may not be sufficient and your employer may need to sign the corporate CLA.

If you have received this in error or have any questions, please contact us at cla@fb.com. Thanks!