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."
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 toLanguage.factories['tok2vec']
or remove it from the model meta and add it vianlp.add_pipe
instead."What can I do to resolve this?