AWS services or capabilities described in AWS Documentation may vary by region/location. Click Getting Started with Amazon AWS to see specific differences applicable to the China (Beijing) Region.
Container for the parameters to the CreateModelCustomizationJob operation. Creates a fine-tuning job to customize a base model.
You specify the base foundation model and the location of the training data. After the model-customization job completes successfully, your custom model resource will be ready to use. Amazon Bedrock returns validation loss metrics and output generations after the job completes.
For information on the format of training and validation data, see Prepare the datasets.
Model-customization jobs are asynchronous and the completion time depends on the
base model and the training/validation data size. To monitor a job, use the GetModelCustomizationJob
operation to retrieve the job status.
For more information, see Custom models in the Amazon Bedrock User Guide.
Namespace: Amazon.Bedrock.Model
Assembly: AWSSDK.Bedrock.dll
Version: 3.x.y.z
public class CreateModelCustomizationJobRequest : AmazonBedrockRequest IAmazonWebServiceRequest
The CreateModelCustomizationJobRequest type exposes the following members
| Name | Description | |
|---|---|---|
|
CreateModelCustomizationJobRequest() |
| Name | Type | Description | |
|---|---|---|---|
|
BaseModelIdentifier | System.String |
Gets and sets the property BaseModelIdentifier. Name of the base model. |
|
ClientRequestToken | System.String |
Gets and sets the property ClientRequestToken. A unique, case-sensitive identifier to ensure that the API request completes no more than one time. If this token matches a previous request, Amazon Bedrock ignores the request, but does not return an error. For more information, see Ensuring idempotency. |
|
CustomizationConfig | Amazon.Bedrock.Model.CustomizationConfig |
Gets and sets the property CustomizationConfig. The customization configuration for the model customization job. |
|
CustomizationType | Amazon.Bedrock.CustomizationType |
Gets and sets the property CustomizationType. The customization type. |
|
CustomModelKmsKeyId | System.String |
Gets and sets the property CustomModelKmsKeyId. The custom model is encrypted at rest using this key. |
|
CustomModelName | System.String |
Gets and sets the property CustomModelName. A name for the resulting custom model. |
|
CustomModelTags | System.Collections.Generic.List<Amazon.Bedrock.Model.Tag> |
Gets and sets the property CustomModelTags. Tags to attach to the resulting custom model. |
|
HyperParameters | System.Collections.Generic.Dictionary<System.String, System.String> |
Gets and sets the property HyperParameters. Parameters related to tuning the model. For details on the format for different models, see Custom model hyperparameters. |
|
JobName | System.String |
Gets and sets the property JobName. A name for the fine-tuning job. |
|
JobTags | System.Collections.Generic.List<Amazon.Bedrock.Model.Tag> |
Gets and sets the property JobTags. Tags to attach to the job. |
|
OutputDataConfig | Amazon.Bedrock.Model.OutputDataConfig |
Gets and sets the property OutputDataConfig. S3 location for the output data. |
|
RoleArn | System.String |
Gets and sets the property RoleArn.
The Amazon Resource Name (ARN) of an IAM service role that Amazon Bedrock can assume
to perform tasks on your behalf. For example, during model training, Amazon Bedrock
needs your permission to read input data from an S3 bucket, write model artifacts
to an S3 bucket. To pass this role to Amazon Bedrock, the caller of this API must
have the |
|
TrainingDataConfig | Amazon.Bedrock.Model.TrainingDataConfig |
Gets and sets the property TrainingDataConfig. Information about the training dataset. |
|
ValidationDataConfig | Amazon.Bedrock.Model.ValidationDataConfig |
Gets and sets the property ValidationDataConfig. Information about the validation dataset. |
|
VpcConfig | Amazon.Bedrock.Model.VpcConfig |
Gets and sets the property VpcConfig. The configuration of the Virtual Private Cloud (VPC) that contains the resources that you're using for this job. For more information, see Protect your model customization jobs using a VPC. |
.NET:
Supported in: 8.0 and newer, Core 3.1
.NET Standard:
Supported in: 2.0
.NET Framework:
Supported in: 4.5 and newer, 3.5