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
24c5a6e3
Unverified
Commit
24c5a6e3
authored
Aug 05, 2020
by
Ninnart Fuengfusin
Committed by
GitHub
Aug 05, 2020
Browse files
Update optimization.py (#6261)
parent
ed6b8f31
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
src/transformers/optimization.py
src/transformers/optimization.py
+1
-1
No files found.
src/transformers/optimization.py
View file @
24c5a6e3
...
@@ -78,7 +78,7 @@ def get_linear_schedule_with_warmup(optimizer, num_warmup_steps, num_training_st
...
@@ -78,7 +78,7 @@ def get_linear_schedule_with_warmup(optimizer, num_warmup_steps, num_training_st
num_warmup_steps (:obj:`int`):
num_warmup_steps (:obj:`int`):
The number of steps for the warmup phase.
The number of steps for the warmup phase.
num_training_steps (:obj:`int`):
num_training_steps (:obj:`int`):
The total
e
number of training steps.
The total number of training steps.
last_epoch (:obj:`int`, `optional`, defaults to -1):
last_epoch (:obj:`int`, `optional`, defaults to -1):
The index of the last epoch when resuming training.
The index of the last epoch when resuming training.
...
...
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