Skip to content

Commit

Permalink
changed "ot" to "to" (huggingface#21488)
Browse files Browse the repository at this point in the history
  • Loading branch information
Iulian277 authored and miyu386 committed Feb 9, 2023
1 parent 1146f9b commit 0d13532
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/transformers/optimization_tf.py
Original file line number Diff line number Diff line change
Expand Up @@ -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 ot decay the weights in a manner that doesn't interact with the m/v parameters. This is equivalent
Instead we want to 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:
Expand Down

0 comments on commit 0d13532

Please sign in to comment.