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
8581fbaa
Unverified
Commit
8581fbaa
authored
Feb 07, 2023
by
Iulian Taiatu
Committed by
GitHub
Feb 07, 2023
Browse files
changed "ot" to "to" (#21488)
parent
fa0ae179
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
src/transformers/optimization_tf.py
src/transformers/optimization_tf.py
+1
-1
No files found.
src/transformers/optimization_tf.py
View file @
8581fbaa
...
...
@@ -176,7 +176,7 @@ class AdamWeightDecay(Adam):
with the m and v parameters in strange ways as shown in [Decoupled Weight Decay
Regularization](https://arxiv.org/abs/1711.05101).
Instead we want
o
t decay the weights in a manner that doesn't interact with the m/v parameters. This is equivalent
Instead we want t
o
decay the weights in a manner that doesn't interact with the m/v parameters. This is equivalent
to adding the square of the weights to the loss with plain (non-momentum) SGD.
Args:
...
...
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