Skip to content
Discussion options

You must be logged in to vote

Transformer models require a separate package, spacy-transformers, which is why you need to install spacy[transformers]. If you have that installed it should work, or at least you shouldn't get that error. Can you provide the output of spacy info and pip freeze? It's possible your environment got in a weird state. I would recommend reinstalling from scratch in a clean environment, using pip install spacy[transformers] to start with.

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by svlandeg
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
install Installation issues feat / transformer Feature: Transformer
2 participants
Converted from issue

This discussion was converted from issue #9923 on December 22, 2021 10:12.