Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
refactor superclass of MaskedLMModel (#2170)
Summary: masked_lm is actually encoder-only model # Before submitting - [ ] Was this discussed/approved via a Github issue? (no need for typos, doc improvements) - [x] Did you read the [contributor guideline](https://github.com/pytorch/fairseq/blob/master/CONTRIBUTING.md)? - [x] Did you make sure to update the docs? - [ ] Did you write any new necessary tests? ## What does this PR do? Class Refactor ## Did you have fun? Make sure you had fun coding � Pull Request resolved: #2170 Reviewed By: ngoyal2707 Differential Revision: D21725071 Pulled By: myleott fbshipit-source-id: 75fd36008f3e3425f8f5180472734394046dfb77
- Loading branch information