Validation always happens on first step (#1300)

This commit is contained in:
Leonardo Emili
2024-02-21 16:52:24 +01:00
committed by GitHub
parent 5a5d47458d
commit e2786cce6a

View File

@@ -62,7 +62,6 @@ class EvalFirstStepCallback(
):
if (
args.evaluation_strategy == IntervalStrategy.STEPS
and args.eval_steps < 1.0
and state.global_step == 1
):
control.should_evaluate = True