Creates a fine-tuning job to customize a base model
Source:R/bedrock_operations.R
bedrock_create_model_customization_job.RdCreates a fine-tuning job to customize a base model.
See https://www.paws-r-sdk.com/docs/bedrock_create_model_customization_job/ for full documentation.
Usage
bedrock_create_model_customization_job(
jobName,
customModelName,
roleArn,
clientRequestToken = NULL,
baseModelIdentifier,
customizationType = NULL,
customModelKmsKeyId = NULL,
jobTags = NULL,
customModelTags = NULL,
trainingDataConfig,
validationDataConfig = NULL,
outputDataConfig,
hyperParameters = NULL,
vpcConfig = NULL,
customizationConfig = NULL
)Arguments
- jobName
[required] A name for the fine-tuning job.
- customModelName
[required] A name for the resulting custom model.
- roleArn
[required] 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
iam:PassRolepermission.- 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.
- baseModelIdentifier
[required] Name of the base model.
- customizationType
The customization type.
- customModelKmsKeyId
The custom model is encrypted at rest using this key.
Tags to attach to the job.
Tags to attach to the resulting custom model.
- trainingDataConfig
[required] Information about the training dataset.
- validationDataConfig
Information about the validation dataset.
- outputDataConfig
[required] S3 location for the output data.
- hyperParameters
Parameters related to tuning the model. For details on the format for different models, see Custom model hyperparameters.
- 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.
- customizationConfig
The customization configuration for the model customization job.