This commit is contained in:
hiyouga committed 2024-09-03 00:46:25 +08:00
1 parent a61c8c4890
commit 22959bcdd3
1 file changed
+1
+1
View File
@@ -65,6 +65,7 @@ class ComputeAccuracy:
r"""
Computes accuracy and supports `batch_eval_metrics`.
"""
def _dump(self) -> Optional[Dict[str, float]]:
result = None
if hasattr(self, "score_dict"):