Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
chenpangpang
transformers
Commits
626116b7
Unverified
Commit
626116b7
authored
Jan 25, 2021
by
Sorami Hisamoto
Committed by
GitHub
Jan 25, 2021
Browse files
Fix a typo in Trainer.hyperparameter_search docstring (#9762)
`compute_objectie` => `compute_objective`
parent
d63ab615
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
src/transformers/trainer.py
src/transformers/trainer.py
+1
-1
No files found.
src/transformers/trainer.py
View file @
626116b7
...
@@ -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_objecti
v
e`, 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::
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment