Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Import error #223

Open
RAravindDS opened this issue Apr 23, 2022 · 2 comments
Open

Import error #223

RAravindDS opened this issue Apr 23, 2022 · 2 comments

Comments

@RAravindDS
Copy link

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.

image

@ashwineepandey
Copy link

@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
Copy link
Author

@DaytaSigntist Hey, Try creating pd.series before passing to it.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants