How to analyze ROCstories with `BertForQuestionAnswering`?
Hello,I looked at the HuggingFace documentation for theBertForQuestionAnsweringmodel, and realized that the model gives out two logit outputs - start_logits and end_logits. How can I determine what the actual predicted answer is based on this two logits? Thank you,
2020-11-05T03:06:39Z
Hi, thestart_logitsindicates the (most probable) starting token , while theend_logitsindicates the ending token. So combining start and end tokens (and every token in between), you will have the “acutal predicted answer”, which is a string in this case.