Prevent ZeroDivisionError on trainer.evaluate
if model and dataset are tiny #24049
Merged
sgugger merged 1 commit intohuggingface:mainfrom tomaarsen:fix/zero_div_error_speed_metricsJun 6, 2023
+2