Interface ServerlessJobConfig.Builder

  • Method Details

    • baseModelArn

      ServerlessJobConfig.Builder baseModelArn(String baseModelArn)

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

      Parameters:
      baseModelArn - The base model Amazon Resource Name (ARN) in SageMaker Public Hub. SageMaker always selects the latest version of the provided model.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • acceptEula

      ServerlessJobConfig.Builder acceptEula(Boolean 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.

      Parameters:
      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.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • jobType

      The serverless training job type.

      Parameters:
      jobType - The serverless training job type.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • jobType

      The serverless training job type.

      Parameters:
      jobType - The serverless training job type.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • customizationTechnique

      ServerlessJobConfig.Builder customizationTechnique(String customizationTechnique)

      The model customization technique.

      Parameters:
      customizationTechnique - The model customization technique.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • customizationTechnique

      ServerlessJobConfig.Builder customizationTechnique(CustomizationTechnique customizationTechnique)

      The model customization technique.

      Parameters:
      customizationTechnique - The model customization technique.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • peft

      The parameter-efficient fine-tuning configuration.

      Parameters:
      peft - The parameter-efficient fine-tuning configuration.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • peft

      The parameter-efficient fine-tuning configuration.

      Parameters:
      peft - The parameter-efficient fine-tuning configuration.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • evaluationType

      ServerlessJobConfig.Builder evaluationType(String evaluationType)

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

      Parameters:
      evaluationType - The evaluation job type. Required when serverless job type is Evaluation.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • evaluationType

      ServerlessJobConfig.Builder evaluationType(EvaluationType evaluationType)

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

      Parameters:
      evaluationType - The evaluation job type. Required when serverless job type is Evaluation.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • evaluatorArn

      ServerlessJobConfig.Builder evaluatorArn(String evaluatorArn)

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

      Parameters:
      evaluatorArn - The evaluator Amazon Resource Name (ARN) used as reward function or reward prompt.
      Returns:
      Returns a reference to this object so that method calls can be chained together.