Hey all!
I get the following error when I try to run the first block in section 4) SpaCy Classifier, which we should leave unmodified. Already tried to set up different environments and installed different versions of spacy. Nothing works so far - does anyone have an idea?
Or should we replace the "text_categorizer" for another factory mentioned below?
Error:
ValueError: [E002] Can't find factory for 'text_categorizer' 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 Transformer, make sure to install 'spacy-transformers'. 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, classy_classification, transformer, en.lemmatizer
Thanks for your help!