Hey, I was trying to load the pre-trained model but it shows
ValueError: [E002] Can't find factory for 'transformer' for language English (en). This usually happens when spaCy calls nlp.create_pipe with a custom component name that's not registered on the current language class. If you're using a custom component, make sure you've added the decorator @Language.component (for function components) or @Language.factory (for class components).
Hey, I was trying to load the pre-trained model but it shows
ValueError: [E002] Can't find factory for 'transformer' for language English (en). This usually happens when spaCy calls
nlp.create_pipe
with a custom component name that's not registered on the current language class. If you're using a custom component, make sure you've added the decorator@Language.component
(for function components) or@Language.factory
(for class components).Available factories: attribute_ruler, tok2vec, merge_noun_chunks, merge_entities, merge_subtokens, token_splitter, doc_cleaner, parser, beam_parser, lemmatizer, trainable_lemmatizer, entity_linker, entity_ruler, tagger, morphologizer, ner, beam_ner, senter, sentencizer, spancat, spancat_singlelabel, span_finder, future_entity_ruler, span_ruler, textcat, textcat_multilabel, en.lemmatizer
Could you please help in what could be the possible reason and how to solve it