Skip to content

CausalConv1dConfig

Module: fast_llm.layers.common.linear.config

Inherits from: AffineLinearBaseConfig, LinearBaseConfig, ModuleConfig

Fields

activationarchitecture

Type: ActivationType or None    Default: None

Activation function applied after the convolution. None means no activation.

biasarchitecture

Type: OptionalParameterConfig    Default: (sub-fields optional)

Use bias.

kernel_sizearchitecture

Type: int    Default: 4

Convolution kernel size.

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.