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
»
utils
»
sgnlp.models.span_extraction.utils.get_best_predictions
View page source
sgnlp.models.span_extraction.utils.get_best_predictions
¶
get_best_predictions
(
all_examples
,
all_features
,
all_results
,
n_best_size
,
max_answer_length
,
do_lower_case
,
verbose_logging
,
version_2_with_negative
,
null_score_diff_threshold
)
[source]
¶