Issues with spaCy / Classy Classification #13866
Unanswered
esteveboix
asked this question in
Help: Installation
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Hi there,
I'm on Linux, Ubuntu 24.04, Python 3.12. I can easily create a venv, install spaCy and Classy with PIP, but when it comes to run any example, I always hit:
ValueError: [E002] Can't find factory for 'classy_classification' for language English (en). This usually happens when spaCy calls
nlp.create_pipewith 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).
I'm using the example from https://spacy.io/universe/project/classyclassification
I think it's related with the transformers library, and I've tried downgrading it to 4.21.1 to no avail.
I'm lost, actually, don't know what to try.
Regards,
Esteve
Beta Was this translation helpful? Give feedback.
All reactions