View a markdown version of this page

LoraConfig - Amazon SageMaker

LoraConfig

The Low-Rank Adaptation (LoRA) configuration for a training session, including the rank and alpha parameters.

Contents

Alpha

The Low-Rank Adaptation (LoRA) scaling factor.

Type: Integer

Valid Range: Minimum value of 1.

Required: Yes

Rank

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

Type: Integer

Valid Range: Minimum value of 1. Maximum value of 256.

Required: Yes

See Also

For more information about using this API in one of the language-specific AWS SDKs, see the following: