Adam
Optimizer variant using the AdamW algorithm: adaptive per-parameter step sizes with decoupled weight decay. It is the default choice for most training and is robust to a wide range of learning rates.
Configuration
Selected as name: adam.
Option |
Description |
Type |
Default |
|---|---|---|---|
|
Learning rate. |
float |
required |
|
Coefficients for the running gradient and squared- gradient averages. |
(float, float) |
|
|
Term added to the denominator for numerical stability. |
float |
|
|
Decoupled weight-decay coefficient. |
float |
|
|
Whether to use the AMSGrad variant. |
bool |
|
|
Whether to maximize rather than minimize. |
bool |
|
components:
optimizer:
name: adam
kwargs:
lr: 0.0002
weight_decay: 0.00005