diff --git a/src/transformers/trainer.py b/src/transformers/trainer.py index f2e0a90acddd16..3fd067edfc5b06 100755 --- a/src/transformers/trainer.py +++ b/src/transformers/trainer.py @@ -661,7 +661,7 @@ def __init__( raise ValueError("The `data_collator` should be a simple callable (function, class with `__call__`).") if args.max_steps > 0 and args.num_train_epochs > 0: - logger.warning("max_steps is given, it will override any value given in num_train_epochs") + logger.info("max_steps is given, it will override any value given in num_train_epochs") if train_dataset is not None and not has_length(train_dataset) and args.max_steps <= 0: raise ValueError(