Full name: projects.locations.tuningJobs.rebaseTunedModel
Rebase a TunedModel.
Endpoint
posthttps://{service-endpoint}/v1beta1/{parent}/tuningJobs:rebaseTunedModel
Where {service-endpoint} is one of the supported service endpoints.
Path parameters
parentstring
Required. The resource name of the Location into which to rebase the Model. Format: projects/{project}/locations/{location}
Request body
The request body contains data with the following structure:
Required. TunedModel reference to retrieve the legacy model information.
Optional. The TuningJob to be updated. Users can use this TuningJob field to overwrite tuning configs.
Optional. The Google Cloud Storage location to write the artifacts.
deployToSameEndpointboolean
Optional. By default, bison to gemini migration will always create new model/endpoint, but for gemini-1.0 to gemini-1.5 migration, we default deploy to the same endpoint. See details in this Section.
Response body
If successful, the response body contains an instance of Operation.
TunedModelRef
TunedModel Reference for legacy model migration.
tuned_model_refUnion type
tuned_model_ref can be only one of the following:tunedModelstring
Support migration from model registry.
tuningJobstring
Support migration from tuning job list page, from gemini-1.0-pro-002 to 1.5 and above.
pipelineJobstring
Support migration from tuning job list page, from bison model to gemini model.
| JSON representation |
|---|
{ // tuned_model_ref "tunedModel": string, "tuningJob": string, "pipelineJob": string // Union type } |