"tests/models/rag/test_modeling_rag.py" did not exist on "10f8c6362099315cf4dc01346a889b6dcd1379e7"
Unverified Commit 626116b7 authored by Sorami Hisamoto's avatar Sorami Hisamoto Committed by GitHub
Browse files

Fix a typo in Trainer.hyperparameter_search docstring (#9762)

`compute_objectie` => `compute_objective`
parent d63ab615
...@@ -1115,7 +1115,7 @@ class Trainer: ...@@ -1115,7 +1115,7 @@ 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_objectie`, 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 provided,
the sum of all metrics otherwise. the sum of all metrics otherwise.
.. warning:: .. warning::
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment