[E150] The language of the nlp
object and the vocab
should be the same, but found 'id' and 'en' respectively.
#11748
-
Hi neg_news component is transformer spancat model Config
|
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 3 replies
-
Do you have spacy-transformers installed? |
Beta Was this translation helpful? Give feedback.
-
Hi @monWork , It seems that you used the demo |
Beta Was this translation helpful? Give feedback.
Hi @monWork ,
It seems that you used the demo
id
grit config, but didn't change the language in some of your components. You might need to retrain your spancat models (neg_news
) withen
and ensure that the languages are consistent all throughout so that tokenization is the same.