Skip to content
This repository has been archived by the owner on Nov 22, 2022. It is now read-only.

Add projection layer to HuggingFace encoder #1273

Closed
wants to merge 2 commits into from
Closed

Add projection layer to HuggingFace encoder #1273

wants to merge 2 commits into from

Conversation

hikushalhere
Copy link
Contributor

Summary: TransformerSentenceEncoder supports a projecting pooled output (https://github.com/facebookresearch/pytext/blob/master/pytext/models/representations/transformer_sentence_encoder.py#L61). Adding that support for HF BERT. Shouldn't change anything functionally for any existing model

Differential Revision: D20355562

Kushal Lakhotia added 2 commits March 9, 2020 18:18
Differential Revision: D20347426

fbshipit-source-id: 6a45fbdcf8385c00e7ffdead63cf5e1c01d019ad
Summary: TransformerSentenceEncoder supports a projecting pooled output (https://github.com/facebookresearch/pytext/blob/master/pytext/models/representations/transformer_sentence_encoder.py#L61). Adding that support for HF BERT. Shouldn't change anything functionally for any existing model

Differential Revision: D20355562

fbshipit-source-id: 970041b955c31114bb3837c2ca518814454ae684
@facebook-github-bot facebook-github-bot added CLA Signed Do not delete this pull request or issue due to inactivity. fb-exported labels Mar 10, 2020
@facebook-github-bot
Copy link
Contributor

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

@facebook-github-bot
Copy link
Contributor

This pull request has been merged in 0e4c635.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
CLA Signed Do not delete this pull request or issue due to inactivity. fb-exported Merged
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants