ServerlessJobConfig
The configuration for the serverless training job.
Contents
- BaseModelArn
-
The base model Amazon Resource Name (ARN) in SageMaker Public Hub. SageMaker always selects the latest version of the provided model.
Type: String
Length Constraints: Minimum length of 1. Maximum length of 2048.
Pattern:
(arn:[a-z0-9-\.]{1,63}:sagemaker:\w+(?:-\w+)+:(\d{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}(\/\d{1,4}.\d{1,4}.\d{1,4})?Required: Yes
- JobType
-
The serverless training job type.
Type: String
Valid Values:
FineTuning | EvaluationRequired: Yes
- AcceptEula
-
Specifies agreement to the model end-user license agreement (EULA). The
AcceptEulavalue must be explicitly defined asTruein order to accept the EULA that this model requires. You are responsible for reviewing and complying with any applicable license terms and making sure they are acceptable for your use case before downloading or using a model. For more information, see End-user license agreements section for more details on accepting the EULA.Type: Boolean
Required: No
- CustomizationTechnique
-
The model customization technique.
Type: String
Valid Values:
SFT | DPO | RLVR | RLAIFRequired: No
- EvaluationType
-
The evaluation job type. Required when serverless job type is
Evaluation.Type: String
Valid Values:
LLMAJEvaluation | CustomScorerEvaluation | BenchmarkEvaluationRequired: No
- EvaluatorArn
-
The evaluator Amazon Resource Name (ARN) used as reward function or reward prompt.
Type: String
Pattern:
.*Required: No
- Peft
-
The parameter-efficient fine-tuning configuration.
Type: String
Valid Values:
LORARequired: No
See Also
For more information about using this API in one of the language-specific AWS SDKs, see the following: