I'm here to ask you guys if it is possible to use an existing trained huggingface-transformers model with spacy.
My first naive attempt was to load it via spacy.load('bert-base-uncased')
, it didn't work because spacy demands a certain structure, which is understandable.
Now I'm trying to figure out how to use the spacy-transformers
library to load the model, create the spacy structure, and use it from that point as a normal spacy-aware model.
I don't know if it is even possible as I couldn't find anything regarding the subject. I've tried to read the documentation but all guides, examples, and posts I found, start from a spacy structured model like spacy/en_core_web_sm, but how did that model was created in the first place? I can believe someone has to train everything again with spacy.
Can I get some help from you?
Thanks.