Module Values_1.ServerlessJobConfigSource

The configuration for the serverless training job.

Sourcetype nonrec t = {
  1. baseModelArn : ServerlessJobBaseModelArn.t;
    (*

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

    *)
  2. acceptEula : Values_0.AcceptEula.t option;
    (*

    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.

    *)
  3. jobType : ServerlessJobType.t;
    (*

    The serverless training job type.

    *)
  4. customizationTechnique : CustomizationTechnique.t option;
    (*

    The model customization technique.

    *)
  5. peft : Peft.t option;
    (*

    The parameter-efficient fine-tuning configuration.

    *)
  6. evaluationType : EvaluationType.t option;
    (*

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

    *)
  7. evaluatorArn : EvaluatorArn.t option;
    (*

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

    *)
}
Sourceval context_ : string
Sourceval make : ?acceptEula:??? -> ?customizationTechnique:??? -> ?peft:??? -> ?evaluationType:??? -> ?evaluatorArn:??? -> baseModelArn:ServerlessJobBaseModelArn.t -> jobType:ServerlessJobType.t -> unit -> t
Sourceval to_value : t -> [> `Structure of (string * [> `Boolean of Values_0.AcceptEula.t | `Enum of string | `String of ServerlessJobBaseModelArn.t ]) list ]
Sourceval to_query : t -> Awso.Client.Query.t
Sourceval of_xml : Awso.Xml.t -> t
Sourceval of_string : string -> t
Sourceval of_json : Yojson.Safe.t -> t
Sourceval to_json : t -> Yojson.Safe.t