Add comment

This commit is contained in:
timoeller 2020-02-24 16:26:59 +01:00
parent d15448f60a
commit 96a0847b32

View File

@ -222,7 +222,7 @@ class FARMReader:
if a["score"] > best_score_answer:
best_score_answer = a["score"]
# only take n best candidates. Answers coming back from FARM are sorted with decreasing relevance.
answers += answers_per_paragraph[:self.n_candidates_per_paragraph]
# Calculate the score for predicting "no answer", relative to our best positive answer score