Problems integrating ner component to an existing component #11033
Answered
by
polm
Alvaro8gb
asked this question in
Help: Coding & Implementations
-
Is there any way to integrate the spacy es_core_news_lg pretrained model with a component of our own, since when doing it with add_pipe the tok2vec module is different and predicts wrongly. |
Beta Was this translation helpful? Give feedback.
Answered by
polm
Jun 28, 2022
Replies: 1 comment
-
You should be able to do this using |
Beta Was this translation helpful? Give feedback.
0 replies
Answer selected by
Alvaro8gb
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
You should be able to do this using
replace_listeners
to bundle your NER component with its tok2vec. Take a look at the Double NER sample project, and let us know if that doesn't work.