Closed dongjun-Lee closed 4 years ago
XLMRobertaModel does not support token types > 0. If you look at the embedding you will see that there is only a single value. Basically the model does not rely on this embedding to understand when a sentence end. I think they included it only for API compatibility
@andompesta Thank you very much! :)
🐛 Bug
Model I am using (Bert, XLNet....): XLMRoberta
Language I am using the model on (English, Chinese....): English
The problem arise when using:
The tasks I am working on is:
To Reproduce
Steps to reproduce the behavior:
Expected behavior
Environment