Skip to content

LoraConfig

Source code in docs_src/capo_sagemaker/types/lora_config.py
class LoraConfig(TypedDict, closed=True):
    rank: NotRequired["capo_sagemaker.types.rank.Rank"]
    """<p>The rank of the Low-Rank Adaptation (LoRA) adapter matrices.</p>"""
    alpha: NotRequired["capo_sagemaker.types.lora_alpha.LoraAlpha"]
    """<p>The Low-Rank Adaptation (LoRA) scaling factor.</p>"""

alpha instance-attribute

alpha: NotRequired[LoraAlpha]

The Low-Rank Adaptation (LoRA) scaling factor.

rank instance-attribute

rank: NotRequired[Rank]

The rank of the Low-Rank Adaptation (LoRA) adapter matrices.