mirror of
https://github.com/facebookresearch/fairseq.git
synced 2024-09-11 17:25:31 +03:00
Summary: - fairseq can now be installed via pip: `pip install fairseq` - command-line tools are globally accessible: `fairseq-preprocess`, `fairseq-train`, `fairseq-generate`, etc. Pull Request resolved: https://github.com/pytorch/fairseq/pull/495 Differential Revision: D14017761 Pulled By: myleott fbshipit-source-id: 10c9f6634a3056074eac2f33324b4f1f404d4235
35 lines
1.0 KiB
ReStructuredText
35 lines
1.0 KiB
ReStructuredText
.. role:: hidden
|
|
:class: hidden-section
|
|
|
|
.. _Learning Rate Schedulers:
|
|
|
|
Learning Rate Schedulers
|
|
========================
|
|
|
|
Learning Rate Schedulers update the learning rate over the course of training.
|
|
Learning rates can be updated after each update via :func:`step_update` or at
|
|
epoch boundaries via :func:`step`.
|
|
|
|
.. automodule:: fairseq.optim.lr_scheduler
|
|
:members:
|
|
|
|
.. autoclass:: fairseq.optim.lr_scheduler.FairseqLRScheduler
|
|
:members:
|
|
:undoc-members:
|
|
|
|
.. autoclass:: fairseq.optim.lr_scheduler.cosine_lr_scheduler.CosineSchedule
|
|
:members:
|
|
:undoc-members:
|
|
.. autoclass:: fairseq.optim.lr_scheduler.fixed_schedule.FixedSchedule
|
|
:members:
|
|
:undoc-members:
|
|
.. autoclass:: fairseq.optim.lr_scheduler.inverse_square_root_schedule.InverseSquareRootSchedule
|
|
:members:
|
|
:undoc-members:
|
|
.. autoclass:: fairseq.optim.lr_scheduler.reduce_lr_on_plateau.ReduceLROnPlateau
|
|
:members:
|
|
:undoc-members:
|
|
.. autoclass:: fairseq.optim.lr_scheduler.triangular_lr_scheduler.TriangularSchedule
|
|
:members:
|
|
:undoc-members:
|