dmis-lab / BioSyn

ACL'2020: Biomedical Entity Representations with Synonym Marginalization
https://arxiv.org/abs/2005.00239
MIT License
160 stars 26 forks source link

How to calculate score for each prediction? #8

Closed amirj closed 3 years ago

amirj commented 3 years ago

Is it possible to find a relevance score for each prediction in the inference?

mjeensung commented 3 years ago

Hi amirj

Can you try hybrid_score_matrix[hybrid_candidate_idxs]? I haven't tried it, but I think this will find the scores of the top 5 predictions.