From cf409e55945418a96d08f41b23a2f04c72597fef Mon Sep 17 00:00:00 2001 From: Eldar Kurtic Date: Thu, 6 May 2021 13:39:28 +0200 Subject: [PATCH] Fix docstring typo (#11611) --- src/transformers/optimization.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/transformers/optimization.py b/src/transformers/optimization.py index 3e79d82709b7ab..4a92b18a30314b 100644 --- a/src/transformers/optimization.py +++ b/src/transformers/optimization.py @@ -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__(