How to convert transformers output to spacy Doc objects #12231
-
Hi all, I have been wanting to work with the NER predictions of a model, using spaCy. However the predictions are in the format output by the transformers library - i.e. a list of dictionaries with information on the texts. It looks like this:
My question is: Is it possible to create Doc objects using this output? |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment
-
Hi @emiltj, spaCy-wrap should be able to help you with that as well (context for posterity). |
Beta Was this translation helpful? Give feedback.
Hi @emiltj, spaCy-wrap should be able to help you with that as well (context for posterity).