ferret.BaseEvaluator#

class ferret.BaseEvaluator(model, tokenizer, task_name)[source]#
__init__(model, tokenizer, task_name)[source]#

Methods

__init__(model, tokenizer, task_name)

compute_evaluation(explanation)

Attributes

LOWER_IS_BETTER

MAX_VALUE

METRIC_FAMILY

MIN_VALUE

NAME

SHORT_NAME

tokenizer