(self)
| 71 | metric_name: str = "qa_f1_score" |
| 72 | |
| 73 | def __init__(self): |
| 74 | self.logger = get_logger(__name__) |
| 75 | |
| 76 | def calculate_metric_scores(self, gold_answers: List[List[str]], predicted_answers: List[str], aggregation_fn: Callable = np.max) -> Tuple[Dict[str, float], List[Dict[str, float]]]: |
| 77 | """ |
nothing calls this directly
no test coverage detected