Skip to content

AffineLinearConfig

Module: fast_llm.layers.common.linear.config

Inherits from: AffineLinearBaseConfig, LinearConfig, LinearBaseConfig

Fields

biasarchitecture

Type: OptionalParameterConfig    Default: (sub-fields optional)

Use bias.

weightarchitecture

Type: ParameterConfig    Default: (sub-fields optional)

Configuration for the weight.

apply_peftfeature

Type: bool or None    Default: None

Wrap 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_scalefeature

Type: float or None    Default: None

Scaling factor for the layer learning rate. Combines multiplicatively with the scale set by the parent layer and individual parameters, if applicable.

Used in