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
b6c1cae6
Commit
b6c1cae6
authored
Mar 18, 2019
by
lukovnikov
Browse files
branches, optim cosine fix
parent
20e65220
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
pytorch_pretrained_bert/optimization.py
pytorch_pretrained_bert/optimization.py
+1
-1
No files found.
pytorch_pretrained_bert/optimization.py
View file @
b6c1cae6
...
...
@@ -52,7 +52,7 @@ class LRSchedule(object):
def
get_lr_
(
self
,
step
):
return
1.
# raise NotImplemented("use subclass")
# raise NotImplemented("use subclass")
-
class
WarmupCosineSchedule
(
LRSchedule
):
...
...
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