forked from facebookresearch/pytext
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
add XLM sentence encoder (facebookresearch#437)
Summary: Pull Request resolved: facebookresearch#437 Add model to produce XLM sentence embeddings. 1. refactor XLMSentenceEncoder to extent BertSentenceEncoderBase to re-use pooling Logic 2. Add a model that only has the encoding layer to produce sentence encoding Reviewed By: kartikayk Differential Revision: D14676261 fbshipit-source-id: 004ef4c808e44db0289e8cff72eeaf6e412f943a
- Loading branch information
1 parent
4791caa
commit 944cc11
Showing
1 changed file
with
23 additions
and
11 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters