Skip to content

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