Fix style

This commit is contained in:
Sylvain Gugger 2021-01-25 12:40:58 -05:00
parent caf4abf768
commit af41da5097

View File

@ -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::