mirror of
https://github.com/deepset-ai/haystack.git
synced 2025-11-08 05:43:41 +00:00
change offsets to FARM default
This commit is contained in:
parent
58e56b362d
commit
85fbf502ca
@ -217,8 +217,8 @@ class FARMReader:
|
||||
"score": no_ans_score,
|
||||
"probability": float(expit(np.asarray(no_ans_score) / 8)), # just a pseudo prob for now
|
||||
"context": "",
|
||||
"offset_start": -1,
|
||||
"offset_end": -1,
|
||||
"offset_start": 0,
|
||||
"offset_end": 0,
|
||||
"document_id": None}
|
||||
answers.append(cur)
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user