View a markdown version of this page

TrainingSessionModelConfig - 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).

TrainingSessionModelConfig

The configuration for the base model used in a training session.

Contents

BaseModelArn

The Amazon Resource Name (ARN) of the base foundation model from SageMaker Hub.

Type: String

Length Constraints: Minimum length of 1. Maximum length of 2048.

Pattern: (arn:[a-z0-9-.]{1,63}:sagemaker:[a-zA-Z0-9]+(?:-[a-zA-Z0-9]+)+:([0-9]{12}|aws):hub-content/)[a-zA-Z0-9](-*[a-zA-Z0-9]){0,62}/Model/[a-zA-Z0-9](-*[a-zA-Z0-9]){0,63}(/[0-9]{1,4}\.[0-9]{1,4}\.[0-9]{1,4})?

Required: Yes

AcceptEula

Specifies whether you accept the end-user license agreement (EULA) for gated models.

Type: Boolean

Required: No

See Also

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