Fix some typos in the docs (#14126)

* Fix some typos in the docs

* Fix a styling issue

* Fix code quality check error
This commit is contained in:
Reza Gharibi
2021-10-25 15:10:44 +03:30
committed by GitHub
parent 95bab53868
commit 6b83090e80
5 changed files with 9 additions and 8 deletions

View File

@@ -335,7 +335,7 @@ scheduler. The default optimizer used by the :class:`~transformers.Trainer` is :
optimizer = AdamW(model.parameters(), lr=5e-5)
Finally, the learning rate scheduler used by default it just a linear decay form the maximum value (5e-5 here) to 0:
Finally, the learning rate scheduler used by default is just a linear decay from the maximum value (5e-5 here) to 0:
.. code-block:: python