sgnlp
Quickstart
Advanced Tutorial
API Reference
models
csgec
emotion_entailment
lsr
rst_pointer
config
data_class
data_prep
eval
modeling
modules
postprocess
preprocess
train
utils
rumour_detection_twitter
sentic_gcn
span_extraction
ufd
utils
sgnlp
»
sgnlp
»
models
»
rst_pointer
»
train
»
sgnlp.models.rst_pointer.train.get_accuracy
View page source
sgnlp.models.rst_pointer.train.get_accuracy
¶
get_accuracy
(
model
,
preprocessor
,
input_sentences
,
edu_breaks
,
decoder_input
,
relation_label
,
parsing_breaks
,
golden_metric
,
batch_size
)
[source]
¶