Skip to content

Use source NER pipeline component with spacy-legacy (config file) #7263

Discussion options

You must be logged in to vote

Hi! Apologies for the late follow-up.

Do I have to override from spacy.Tok2Vec.v1 to spacy-legacy.Tok2Vec.v1 manually, or should spacy-legacy package do it automatically, and if so, what am I doing wrong?

This should in fact happen automatically. I tried reproducing your issue by copy-pasting the config as you had it, but I can't reproduce the error message you're getting. What specific versions of spacy and spacy-legacy do you have installed?

When looking into your config file, there's one other point I'd like to note. The components that you're sourcing, will be taken as is from the models. That also means that you don't have to specify the model architecture of these components - thi…

Replies: 2 comments 1 reply

Comment options

You must be logged in to vote
0 replies
Answer selected by polm
Comment options

You must be logged in to vote
1 reply
@svlandeg
Comment options

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feat / config Feature: Training config legacy Anything related to spacy-legacy
3 participants