Skip to content

Commit

Permalink
Fix docstring typo (huggingface#11611)
Browse files Browse the repository at this point in the history
  • Loading branch information
eldarkurtic authored May 6, 2021
1 parent f594090 commit cf409e5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/transformers/optimization.py
Original file line number Diff line number Diff line change
Expand Up @@ -283,7 +283,7 @@ class AdamW(Optimizer):
weight_decay (:obj:`float`, `optional`, defaults to 0):
Decoupled weight decay to apply.
correct_bias (:obj:`bool`, `optional`, defaults to `True`):
Whether ot not to correct bias in Adam (for instance, in Bert TF repository they use :obj:`False`).
Whether or not to correct bias in Adam (for instance, in Bert TF repository they use :obj:`False`).
"""

def __init__(
Expand Down

0 comments on commit cf409e5

Please sign in to comment.