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
cf409e55
"docs/vscode:/vscode.git/clone" did not exist on "6c26faa159b79a42d7fa46cb66e2d21523351987"
Unverified
Commit
cf409e55
authored
May 06, 2021
by
Eldar Kurtic
Committed by
GitHub
May 06, 2021
Browse files
Fix docstring typo (#11611)
parent
f594090a
Changes
1
Show 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 @
cf409e55
...
@@ -283,7 +283,7 @@ class AdamW(Optimizer):
...
@@ -283,7 +283,7 @@ class AdamW(Optimizer):
weight_decay (:obj:`float`, `optional`, defaults to 0):
weight_decay (:obj:`float`, `optional`, defaults to 0):
Decoupled weight decay to apply.
Decoupled weight decay to apply.
correct_bias (:obj:`bool`, `optional`, defaults to `True`):
correct_bias (:obj:`bool`, `optional`, defaults to `True`):
Whether o
t
not to correct bias in Adam (for instance, in Bert TF repository they use :obj:`False`).
Whether o
r
not to correct bias in Adam (for instance, in Bert TF repository they use :obj:`False`).
"""
"""
def
__init__
(
def
__init__
(
...
...
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