mirror of
https://github.com/huggingface/transformers.git
synced 2025-08-01 18:51:14 +06:00
Fix style
This commit is contained in:
parent
caf4abf768
commit
af41da5097
@ -1115,8 +1115,8 @@ class Trainer:
|
|||||||
) -> BestRun:
|
) -> BestRun:
|
||||||
"""
|
"""
|
||||||
Launch an hyperparameter search using ``optuna`` or ``Ray Tune``. The optimized quantity is determined by
|
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,
|
:obj:`compute_objective`, which defaults to a function returning the evaluation loss when no metric is
|
||||||
the sum of all metrics otherwise.
|
provided, the sum of all metrics otherwise.
|
||||||
|
|
||||||
.. warning::
|
.. warning::
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user