Skip to content
This repository has been archived by the owner on May 31, 2024. It is now read-only.

KeyError tok2vec #8

Open
ymzayek opened this issue May 28, 2021 · 1 comment
Open

KeyError tok2vec #8

ymzayek opened this issue May 28, 2021 · 1 comment

Comments

@ymzayek
Copy link

ymzayek commented May 28, 2021

Hi @AMontgomerie

When I try to run the model with answer_style="multiple_choice" I get the following KeyError:

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."

What can I do to resolve this?

@AMontgomerie
Copy link
Owner

Sorry for the slow response. I was unable to reproduce this error.

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

No branches or pull requests

2 participants