mirror of
https://github.com/hiyouga/LLaMA-Factory.git
synced 2025-08-23 22:32:54 +08:00
lint
Former-commit-id: 22959bcdd3b124a642e2acaadc050e36d0520f52
This commit is contained in:
parent
6e98872622
commit
982585e375
@ -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