Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Remove pooler from BERT for Masked LM architecture #350

Merged
merged 1 commit into from
Apr 10, 2023

Conversation

guillaume-be
Copy link
Owner

  • Update BertForMaskedLM constructor to build the base model without pooler, mirroring the behaviour of the Python implmentation

Fixes #349

@guillaume-be guillaume-be merged commit 2e5f4a9 into master Apr 10, 2023
@guillaume-be guillaume-be deleted the bert_pooling_fix branch April 10, 2023 09:07
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Cannot do Bert MaskedLM without pooler
1 participant