You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I started receiving the error below on a script that previously worked:
ERROR:
[E002] Can't find factory for 'curated_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 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).
SOLUTION:
I believe the error is occurring due a change in spacy-transformer dependency. The workaround to this error is to use specific the old version of the library.
I started receiving the error below on a script that previously worked:
SOLUTION:
I believe the error is occurring due a change in spacy-transformer dependency. The workaround to this error is to use specific the old version of the library.
pip install scrubadub_spacy "scrubadub==2.0.0" "spacy==3.6.1" "spacy-transformers==1.2.5"
SETUP:
Databricks cluster
Hopefully someone else finds this helpful 😀
The text was updated successfully, but these errors were encountered: