Skip to content

/AWS1/CL_SGMSVRLSJOBCONFIG

The configuration for the serverless training job.

CONSTRUCTOR

IMPORTING

Required arguments:

iv_basemodelarn TYPE /AWS1/SGMSVRLSJOBBASEMODELARN /AWS1/SGMSVRLSJOBBASEMODELARN

The base model Amazon Resource Name (ARN) in SageMaker Public Hub. SageMaker always selects the latest version of the provided model.

iv_jobtype TYPE /AWS1/SGMSERVERLESSJOBTYPE /AWS1/SGMSERVERLESSJOBTYPE

The serverless training job type.

Optional arguments:

iv_accepteula TYPE /AWS1/SGMACCEPTEULA /AWS1/SGMACCEPTEULA

Specifies agreement to the model end-user license agreement (EULA). The AcceptEula value must be explicitly defined as True in 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.

iv_customizationtechnique TYPE /AWS1/SGMCUSTIZATIONTECHNIQUE /AWS1/SGMCUSTIZATIONTECHNIQUE

The model customization technique.

iv_peft TYPE /AWS1/SGMPEFT /AWS1/SGMPEFT

The parameter-efficient fine-tuning configuration.

iv_evaluationtype TYPE /AWS1/SGMEVALUATIONTYPE /AWS1/SGMEVALUATIONTYPE

The evaluation job type. Required when serverless job type is Evaluation.

iv_evaluatorarn TYPE /AWS1/SGMEVALUATORARN /AWS1/SGMEVALUATORARN

The evaluator Amazon Resource Name (ARN) used as reward function or reward prompt.


Queryable Attributes

BaseModelArn

The base model Amazon Resource Name (ARN) in SageMaker Public Hub. SageMaker always selects the latest version of the provided model.

Accessible with the following methods

Method Description
GET_BASEMODELARN() Getter for BASEMODELARN, with configurable default
ASK_BASEMODELARN() Getter for BASEMODELARN w/ exceptions if field has no value
HAS_BASEMODELARN() Determine if BASEMODELARN has a value

AcceptEula

Specifies agreement to the model end-user license agreement (EULA). The AcceptEula value must be explicitly defined as True in 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.

Accessible with the following methods

Method Description
GET_ACCEPTEULA() Getter for ACCEPTEULA, with configurable default
ASK_ACCEPTEULA() Getter for ACCEPTEULA w/ exceptions if field has no value
HAS_ACCEPTEULA() Determine if ACCEPTEULA has a value

JobType

The serverless training job type.

Accessible with the following methods

Method Description
GET_JOBTYPE() Getter for JOBTYPE, with configurable default
ASK_JOBTYPE() Getter for JOBTYPE w/ exceptions if field has no value
HAS_JOBTYPE() Determine if JOBTYPE has a value

CustomizationTechnique

The model customization technique.

Accessible with the following methods

Method Description
GET_CUSTOMIZATIONTECHNIQUE() Getter for CUSTOMIZATIONTECHNIQUE, with configurable default
ASK_CUSTOMIZATIONTECHNIQUE() Getter for CUSTOMIZATIONTECHNIQUE w/ exceptions if field has
HAS_CUSTOMIZATIONTECHNIQUE() Determine if CUSTOMIZATIONTECHNIQUE has a value

Peft

The parameter-efficient fine-tuning configuration.

Accessible with the following methods

Method Description
GET_PEFT() Getter for PEFT, with configurable default
ASK_PEFT() Getter for PEFT w/ exceptions if field has no value
HAS_PEFT() Determine if PEFT has a value

EvaluationType

The evaluation job type. Required when serverless job type is Evaluation.

Accessible with the following methods

Method Description
GET_EVALUATIONTYPE() Getter for EVALUATIONTYPE, with configurable default
ASK_EVALUATIONTYPE() Getter for EVALUATIONTYPE w/ exceptions if field has no valu
HAS_EVALUATIONTYPE() Determine if EVALUATIONTYPE has a value

EvaluatorArn

The evaluator Amazon Resource Name (ARN) used as reward function or reward prompt.

Accessible with the following methods

Method Description
GET_EVALUATORARN() Getter for EVALUATORARN, with configurable default
ASK_EVALUATORARN() Getter for EVALUATORARN w/ exceptions if field has no value
HAS_EVALUATORARN() Determine if EVALUATORARN has a value