ferret.AUPRC_PlausibilityEvaluation#
- class ferret.AUPRC_PlausibilityEvaluation(model, tokenizer, task_name)[source]#
- __init__(model, tokenizer, task_name)#
Methods
__init__
(model, tokenizer, task_name)compute_evaluation
(explanation_with_rationale)Evaluate an explanation on the Area Under the Precision- Recall (AUPRC) Plausibility metric.
Attributes
LOWER_IS_BETTER
MAX_VALUE
METRIC_FAMILY
MIN_VALUE
NAME
SHORT_NAME
tokenizer