mirror of
https://github.com/facebookresearch/fairseq.git
synced 2024-08-17 12:31:05 +03:00
Summary: - Add --add-bos-token option to LM task - Cleanup utils.py and options.py Pull Request resolved: https://github.com/pytorch/fairseq/pull/654 Differential Revision: D15041794 Pulled By: myleott fbshipit-source-id: 3ad00007769d5f48308052cfd40de39c5ffa1a6e
39 lines
846 B
ReStructuredText
39 lines
846 B
ReStructuredText
.. role:: hidden
|
|
:class: hidden-section
|
|
|
|
.. _optimizers:
|
|
|
|
Optimizers
|
|
==========
|
|
|
|
Optimizers update the Model parameters based on the gradients.
|
|
|
|
.. automodule:: fairseq.optim
|
|
:members:
|
|
|
|
.. autoclass:: fairseq.optim.FairseqOptimizer
|
|
:members:
|
|
:undoc-members:
|
|
|
|
.. autoclass:: fairseq.optim.adadelta.Adadelta
|
|
:members:
|
|
:undoc-members:
|
|
.. autoclass:: fairseq.optim.adagrad.Adagrad
|
|
:members:
|
|
:undoc-members:
|
|
.. autoclass:: fairseq.optim.adafactor.FairseqAdafactor
|
|
:members:
|
|
:undoc-members:
|
|
.. autoclass:: fairseq.optim.adam.FairseqAdam
|
|
:members:
|
|
:undoc-members:
|
|
.. autoclass:: fairseq.optim.fp16_optimizer.FP16Optimizer
|
|
:members:
|
|
:undoc-members:
|
|
.. autoclass:: fairseq.optim.nag.FairseqNAG
|
|
:members:
|
|
:undoc-members:
|
|
.. autoclass:: fairseq.optim.sgd.SGD
|
|
:members:
|
|
:undoc-members:
|