Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
chenpangpang
transformers
Commits
af41da50
"src/vscode:/vscode.git/clone" did not exist on "55293631d7e6ca147ba8bc263b5ecdac8721819a"
Commit
af41da50
authored
Jan 25, 2021
by
Sylvain Gugger
Browse files
Fix style
parent
caf4abf7
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
src/transformers/trainer.py
src/transformers/trainer.py
+2
-2
No files found.
src/transformers/trainer.py
View file @
af41da50
...
@@ -1115,8 +1115,8 @@ class Trainer:
...
@@ -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::
...
...
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