LinearConfig¶
Module: fast_llm.layers.common.linear.config
Inherits from: LinearBaseConfig, ModuleConfig
Fields¶
weight—architecture-
Type: ParameterConfig Default: (sub-fields optional)
Configuration for the weight.
apply_peft—feature-
Type:
boolorNoneDefault:NoneWrap this layer . Otherwise, treat the layer as a non-peft layer (may be frozen). If not provided, the default set by the parent layer will be used.
lr_scale—feature-
Type:
floatorNoneDefault:NoneScaling factor for the layer learning rate. Combines multiplicatively with the scale set by the parent layer and individual parameters, if applicable.