Prevent ZeroDivisionError on `trainer.evaluate` if model and dataset are tiny #24049
Prevent ZeroDivisionError if evaluation is too quick
a6b7fe2e
sgugger
approved these changes
on 2023-06-06
sgugger
merged
02fe3af2
into main 3 years ago
tomaarsen
deleted the fix/zero_div_error_speed_metrics branch 3 years ago
Assignees
No one assigned
Login to write a write a comment.
Login via GitHub