Closed onehaitao closed 4 years ago
Hi, the reason we use the logits instead of probability is that we don't want to select spans that the system is not sure. Say we have a span that has a very low score for every category, and that means the system is unsure and to use logits directly we do understand how certain the system is and not biased by scores from other categories.
Thank you very much.
hi,your code is great, but I still have a question about code (biaffine_ner_model.py from line 249 to line 256).
Here, you sort the predicted spans in the descending order of
span sores
. I read your code and findspan scores
islogits
rather thanprobability
, and I wonder why it is.