Skip to content

Commit 9412ec4

Browse files
Google APIscopybara-github
authored andcommitted
feat: Tuning PreTunedModel API field
PiperOrigin-RevId: 803171691
1 parent b7cf972 commit 9412ec4

1 file changed

Lines changed: 29 additions & 0 deletions

File tree

google/cloud/aiplatform/v1beta1/tuning_job.proto

Lines changed: 29 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -47,6 +47,9 @@ message TuningJob {
4747
// The base model that is being tuned. See [Supported
4848
// models](https://cloud.google.com/vertex-ai/generative-ai/docs/model-reference/tuning#supported_models).
4949
string base_model = 4;
50+
51+
// The pre-tuned model for continuous tuning.
52+
PreTunedModel pre_tuned_model = 31;
5053
}
5154

5255
oneof tuning_spec {
@@ -676,3 +679,29 @@ message TunedModelCheckpoint {
676679
// `projects/{project}/locations/{location}/endpoints/{endpoint}`.
677680
string endpoint = 4;
678681
}
682+
683+
// A pre-tuned model for continuous tuning.
684+
message PreTunedModel {
685+
// The resource name of the Model.
686+
// E.g., a model resource name with a specified version id or alias:
687+
//
688+
// `projects/{project}/locations/{location}/models/{model}@{version_id}`
689+
//
690+
// `projects/{project}/locations/{location}/models/{model}@{alias}`
691+
//
692+
// Or, omit the version id to use the default version:
693+
//
694+
// `projects/{project}/locations/{location}/models/{model}`
695+
string tuned_model_name = 1 [(google.api.resource_reference) = {
696+
type: "aiplatform.googleapis.com/Model"
697+
}];
698+
699+
// Optional. The source checkpoint id. If not specified, the default
700+
// checkpoint will be used.
701+
string checkpoint_id = 2 [(google.api.field_behavior) = OPTIONAL];
702+
703+
// Output only. The name of the base model this
704+
// [PreTunedModel][google.cloud.aiplatform.v1beta1.PreTunedModel] was tuned
705+
// from.
706+
string base_model = 3 [(google.api.field_behavior) = OUTPUT_ONLY];
707+
}

0 commit comments

Comments
 (0)