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_VALUELOWER_IS_BETTERMAX_VALUEMETRIC_FAMILYMIN_VALUENAMESHORT_NAMEtokenizer