-
Notifications
You must be signed in to change notification settings - Fork 392
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
Feature request: using BERT and ELMo embedding in TextInputter #422
Comments
Hi, I will probably not work on that directly but I'm interested in making sure that users can integrate it without too much pain. Right now, it seems possible to extend |
Thanks for information. |
Hi, I want to use the BERT representation in my model. Doing so I override
But I got this exception:
Do you know what is the problem? Thanks a lot! |
I'd like to mention I'm using Tensorflow 2.2 and the last version of OpenNMT |
Can you check if the shape of the tensors returned by https://github.com/OpenNMT/OpenNMT-tf/blob/v2.9.3/opennmt/tokenizers/tokenizer.py#L163-L164 |
Hi,
Do you have any plan to leverage contextualized embeddings such as BERT and ELMo in TextInputter?
The text was updated successfully, but these errors were encountered: