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

GH-3166: add comments and one-sided dropout #3168

Merged
merged 2 commits into from
Mar 28, 2023
Merged

Conversation

alanakbik
Copy link
Collaborator

This PR makes slight modifications to the behavior of context dropout in context expansion in TransformerEmbeddings:

  • the [FLERT] token is now always added, even when context is dropped
  • context dropout is applied to left and right context independently
  • more comments in the code

@alanakbik alanakbik merged commit 45deb59 into master Mar 28, 2023
@alanakbik alanakbik deleted the GH-3166-expand-context branch March 28, 2023 22:00
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.

1 participant