OptionalParameterConfig¶
Module: fast_llm.engine.config_utils.parameter
Inherits from: ParameterConfig, ModuleConfig
Fields¶
initialization—feature-
Type: InitializationConfig Default: (sub-fields optional)
If provided, override the default initialization method set by the parent layer.
lr_scale—feature-
Type:
floatorNoneDefault:NoneScaling factor for the parameter learning rate. Combines multiplicatively with the scale set by the parent layer, if applicable.
weight_decay—feature-
Type:
floatorboolorNoneDefault:NoneOverride the default weight decay for this parameter. Set to
TrueorFalseto enable or disable the optimizer weight decay, or to a number to use a specific value. enabled- Type:
boolorNoneDefault:None