Class ServerlessJobConfig
- All Implemented Interfaces:
Serializable,SdkPojo,ToCopyableBuilder<ServerlessJobConfig.Builder,ServerlessJobConfig>
The configuration for the serverless training job.
- See Also:
-
Nested Class Summary
Nested Classes -
Method Summary
Modifier and TypeMethodDescriptionfinal BooleanSpecifies agreement to the model end-user license agreement (EULA).final StringThe base model Amazon Resource Name (ARN) in SageMaker Public Hub.static ServerlessJobConfig.Builderbuilder()final CustomizationTechniqueThe model customization technique.final StringThe model customization technique.final booleanfinal booleanequalsBySdkFields(Object obj) Indicates whether some other object is "equal to" this one by SDK fields.final EvaluationTypeThe evaluation job type.final StringThe evaluation job type.final StringThe evaluator Amazon Resource Name (ARN) used as reward function or reward prompt.final <T> Optional<T> getValueForField(String fieldName, Class<T> clazz) final inthashCode()final ServerlessJobTypejobType()The serverless training job type.final StringThe serverless training job type.final Peftpeft()The parameter-efficient fine-tuning configuration.final StringThe parameter-efficient fine-tuning configuration.static Class<? extends ServerlessJobConfig.Builder> Take this object and create a builder that contains all of the current property values of this object.final StringtoString()Returns a string representation of this object.Methods inherited from interface software.amazon.awssdk.utils.builder.ToCopyableBuilder
copy
-
Method Details
-
baseModelArn
The base model Amazon Resource Name (ARN) in SageMaker Public Hub. SageMaker always selects the latest version of the provided model.
- Returns:
- The base model Amazon Resource Name (ARN) in SageMaker Public Hub. SageMaker always selects the latest version of the provided model.
-
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.- Returns:
- 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.
-
jobType
The serverless training job type.
If the service returns an enum value that is not available in the current SDK version,
jobTypewill returnServerlessJobType.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromjobTypeAsString().- Returns:
- The serverless training job type.
- See Also:
-
jobTypeAsString
The serverless training job type.
If the service returns an enum value that is not available in the current SDK version,
jobTypewill returnServerlessJobType.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromjobTypeAsString().- Returns:
- The serverless training job type.
- See Also:
-
customizationTechnique
The model customization technique.
If the service returns an enum value that is not available in the current SDK version,
customizationTechniquewill returnCustomizationTechnique.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromcustomizationTechniqueAsString().- Returns:
- The model customization technique.
- See Also:
-
customizationTechniqueAsString
The model customization technique.
If the service returns an enum value that is not available in the current SDK version,
customizationTechniquewill returnCustomizationTechnique.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromcustomizationTechniqueAsString().- Returns:
- The model customization technique.
- See Also:
-
peft
The parameter-efficient fine-tuning configuration.
If the service returns an enum value that is not available in the current SDK version,
peftwill returnPeft.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available frompeftAsString().- Returns:
- The parameter-efficient fine-tuning configuration.
- See Also:
-
peftAsString
The parameter-efficient fine-tuning configuration.
If the service returns an enum value that is not available in the current SDK version,
peftwill returnPeft.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available frompeftAsString().- Returns:
- The parameter-efficient fine-tuning configuration.
- See Also:
-
evaluationType
The evaluation job type. Required when serverless job type is
Evaluation.If the service returns an enum value that is not available in the current SDK version,
evaluationTypewill returnEvaluationType.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromevaluationTypeAsString().- Returns:
- The evaluation job type. Required when serverless job type is
Evaluation. - See Also:
-
evaluationTypeAsString
The evaluation job type. Required when serverless job type is
Evaluation.If the service returns an enum value that is not available in the current SDK version,
evaluationTypewill returnEvaluationType.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromevaluationTypeAsString().- Returns:
- The evaluation job type. Required when serverless job type is
Evaluation. - See Also:
-
evaluatorArn
The evaluator Amazon Resource Name (ARN) used as reward function or reward prompt.
- Returns:
- The evaluator Amazon Resource Name (ARN) used as reward function or reward prompt.
-
toBuilder
Description copied from interface:ToCopyableBuilderTake this object and create a builder that contains all of the current property values of this object.- Specified by:
toBuilderin interfaceToCopyableBuilder<ServerlessJobConfig.Builder,ServerlessJobConfig> - Returns:
- a builder for type T
-
builder
-
serializableBuilderClass
-
hashCode
-
equals
-
equalsBySdkFields
Description copied from interface:SdkPojoIndicates whether some other object is "equal to" this one by SDK fields. An SDK field is a modeled, non-inherited field in anSdkPojoclass, and is generated based on a service model.If an
SdkPojoclass does not have any inherited fields,equalsBySdkFieldsandequalsare essentially the same.- Specified by:
equalsBySdkFieldsin interfaceSdkPojo- Parameters:
obj- the object to be compared with- Returns:
- true if the other object equals to this object by sdk fields, false otherwise.
-
toString
-
getValueForField
-
sdkFields
-
sdkFieldNameToField
- Specified by:
sdkFieldNameToFieldin interfaceSdkPojo- Returns:
- The mapping between the field name and its corresponding field.
-