mirror of
https://github.com/deepset-ai/haystack.git
synced 2025-11-01 18:29:32 +00:00
Add comment
This commit is contained in:
parent
d15448f60a
commit
96a0847b32
@ -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
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user