Skip to content

LanguageModelZLossConfig

Module: fast_llm.layers.language_model.loss.config

Variant of: LanguageModelLossConfig — select with type: z_loss

Inherits from: LanguageModelLossConfig

Fields

weightcore

Type: float    Default: 1.0

Weight for this loss in the total loss computation.

use_tritonexpert

Type: bool or None    Default: None

Enable triton implementation. Default: use if available.