ferret.AOPC_Sufficiency_Evaluation#
- class ferret.AOPC_Sufficiency_Evaluation(model, tokenizer, task_name)[source]#
- __init__(model, tokenizer, task_name)#
Methods
__init__
(model, tokenizer, task_name)compute_evaluation
(explanation, ...)Evaluate an explanation on the AOPC Sufficiency metric.
Attributes
BEST_VALUE
LOWER_IS_BETTER
MAX_VALUE
METRIC_FAMILY
MIN_VALUE
NAME
SHORT_NAME
tokenizer