Skip to content

LinearBaseConfig

Abstract

This class cannot be instantiated directly. Use one of the variants listed below.

Module: fast_llm.layers.common.linear.config

Inherits from: ModuleConfig

Fields

weightarchitecture

Type: ParameterConfig    Default: (sub-fields optional)

Configuration for the weight.

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.