LoRAConfig¶
Module: fast_llm.layers.common.peft.config
Variant of: PeftConfig — select with type: lora
Inherits from: PeftConfig
Fields¶
alpha—stability-
Type:
floatDefault:8.0The LoRA scaling parameter.
dropout—stability-
Type:
floatDefault:0.0Dropout rate for LoRA.
freeze_others-
Type:
boolDefault:TrueWhether to freeze other layers during training.
rank—stability-
Type:
intDefault:8The LoRA rank, i.e. the size of the intermediate dimension.