View a markdown version of this page

LoraConfig - Amazon SageMaker
Services or capabilities described in Amazon Web Services documentation might vary by Region. To see the differences applicable to the China Regions, see Getting Started with Amazon Web Services in China (PDF).

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 Amazon SDKs, see the following: