You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{'answer': 'Eddard',
'context': 's Nymeria after a legendary warrior queen. '
'She travels with her father, Eddard, to '
"King's Landing when he is made Hand of the "
'King. Before she leaves,',
'document_id': 'ba2a8e87ddd95e380bec55983ee7d55f',
'meta': {'name': '43_Arya_Stark.txt'},
'offset_end': 78,
'offset_end_in_doc': 153,
'offset_start': 72,
'offset_start_in_doc': 147,
'probability': 0.9899835586547852,
'score': 15.927592277526855}
Let's have only one score in answers but support switching between the two options:
probability
andscore
To this end, the prediction head needs to sort based on a switch here:
https://github.com/deepset-ai/FARM/blob/cf6f96ffcedeb7b1341278dcdd6437e99efaa75b/farm/modeling/prediction_head.py#L1467
Right now, answers contain both
probability
andscore
:Related issue in Haystack #1220
The text was updated successfully, but these errors were encountered: