From af41da50976880e0b79acb0e75e46abd566e68a4 Mon Sep 17 00:00:00 2001 From: Sylvain Gugger Date: Mon, 25 Jan 2021 12:40:58 -0500 Subject: [PATCH] Fix style --- src/transformers/trainer.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/transformers/trainer.py b/src/transformers/trainer.py index 037037780c..856b9e1afb 100755 --- a/src/transformers/trainer.py +++ b/src/transformers/trainer.py @@ -1115,8 +1115,8 @@ class Trainer: ) -> BestRun: """ Launch an hyperparameter search using ``optuna`` or ``Ray Tune``. The optimized quantity is determined by - :obj:`compute_objective`, which defaults to a function returning the evaluation loss when no metric is provided, - the sum of all metrics otherwise. + :obj:`compute_objective`, which defaults to a function returning the evaluation loss when no metric is + provided, the sum of all metrics otherwise. .. warning::