How to install transformer from source code #9117
-
Can someone give me a pointer to how to do this? I already have spaCy installed from source code, but I can't figure out how to install the transformers such that I can work with the installed spaCy the same way had I installed them with pip. TIA. |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 1 reply
-
Are you referring to
If you mean HuggingFace's code then they have instructions. How did you install spaCy from source? Can you explain why you're installing from source rather than via pip so we can understand your situation better? |
Beta Was this translation helpful? Give feedback.
-
Thanks for the prompt response. |
Beta Was this translation helpful? Give feedback.
Are you referring to
spacy-transformers
? You should be able to just do the same thing as any library:If you mean HuggingFace's code then they have instructions.
How did you install spaCy from source?
Can you explain why you're installing from source rather than via pip so we can understand your situation better?