How can I get the label scores for spacy NER model?

Viewed 14

I have trained spacy blank model and trying to get the scores/confidence score of the labels the model attached to the entities.

nlp = spacy.load('output_/model-best')
doc = nlp("hello world")
for entity in doc.ents:
    print(entity.text, entity.label_)

But how to get the score of the label?

0 Answers
Related