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.apply_no_ans_threshold
View page source
sgnlp.models.span_extraction.evaluate_squad.apply_no_ans_threshold
¶
apply_no_ans_threshold
(
scores
,
na_probs
,
qid_to_has_ans
,
na_prob_thresh
)
[source]
¶