sgnlp
Quickstart
Advanced Tutorial
API Reference
models
csgec
emotion_entailment
lsr
rst_pointer
rumour_detection_twitter
sentic_gcn
span_extraction
config
data_class
eval
evaluate_squad
modeling
postprocess
preprocess
tokenization
train
utils
ufd
utils
sgnlp
»
sgnlp
»
models
»
span_extraction
»
evaluate_squad
»
sgnlp.models.span_extraction.evaluate_squad.find_best_thresh
View page source
sgnlp.models.span_extraction.evaluate_squad.find_best_thresh
¶
find_best_thresh
(
preds
,
scores
,
na_probs
,
qid_to_has_ans
)
[source]
¶