weight_decay

This keyword sets the decoupled weight decay used by AdamW.

Syntax

weight_decay <weight_decay>

Parameters

<weight_decay> must be finite and non-negative. At each update with learning rate \(\eta\), every trainable parameter is multiplied by \(1-\eta\,w_\mathrm{decay}\) before the Adam gradient step. This includes the onsite, hopping, and descriptor parameters.

Default

weight_decay 0.005

Examples

weight_decay 0.0001

Notes

The band RMSE reported in loss.out does not include parameter decay.