mirror of
https://github.com/hiyouga/LLaMA-Factory.git
synced 2025-10-14 23:58:11 +08:00
lint
Former-commit-id: d821d933e6cb982d648a69f85f6ad01d0560ed70
This commit is contained in:
parent
b5e9df5df8
commit
2e1396cd6b
@ -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"):
|
||||
|
Loading…
x
Reference in New Issue
Block a user