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

Conditional Masking in BERT #80

Open
vdpappu opened this issue Jul 3, 2019 · 0 comments
Open

Conditional Masking in BERT #80

vdpappu opened this issue Jul 3, 2019 · 0 comments

Comments

@vdpappu
Copy link
Contributor

vdpappu commented Jul 3, 2019

BERT by construction masks 15% of the tokens in the sentence randomly during LM training. Making this conditional by masking only selected set of POS tags - (key-phrase candidate tokens) can help with faster convergence and help in retaining the general language understanding of BERT pre-trained model. This, in theory, should help us in:

  • Getting better representations for domain vocabulary
  • Ability to make the following differentiation:
    • "Deploying word embedding model to production" is closely related to "We are using RNNs for better word representations" than "Deploying Janus Gateway to production"
  • Stable Language Model as more emphasis is on key-phrases tokens
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

No branches or pull requests

2 participants