mirror of
https://github.com/hiyouga/LLaMA-Factory.git
synced 2025-11-05 18:32:14 +08:00
lint
Former-commit-id: d821d933e6cb982d648a69f85f6ad01d0560ed70
This commit is contained in:
parent
a1ab66416a
commit
214058ed8a
@ -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