Import error
RAravindDS opened this issue · 2 comments
RAravindDS commented
KeyError: "[E002] Can't find factory for 'tok2vec'. This usually happens when spaCy calls nlp.create_pipe
with a component name that's not built in - for example, when constructing the pipeline from a model's meta.json. If you're using a custom component, you can write to Language.factories['tok2vec']
or remove it from the model meta and add it via nlp.add_pipe
instead.
Tried in my virtual environment and kaggle, it doesn't working.
ashwineepandey commented
@RAravindDS Have you had any luck on this issue? I have encountered the same. Tried in a new Colab environment and got the same error.
RAravindDS commented
@DaytaSigntist Hey, Try creating pd.series before passing to it.