Class: Google::Apis::AiplatformV1::GoogleCloudAiplatformV1PreTunedModel
- Inherits:
-
Object
- Object
- Google::Apis::AiplatformV1::GoogleCloudAiplatformV1PreTunedModel
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- lib/google/apis/aiplatform_v1/classes.rb,
lib/google/apis/aiplatform_v1/representations.rb,
lib/google/apis/aiplatform_v1/representations.rb
Overview
A pre-tuned model for continuous tuning.
Instance Attribute Summary collapse
-
#base_model ⇒ String
Output only.
-
#checkpoint_id ⇒ String
Optional.
-
#tuned_model_name ⇒ String
The resource name of the Model.
Instance Method Summary collapse
-
#initialize(**args) ⇒ GoogleCloudAiplatformV1PreTunedModel
constructor
A new instance of GoogleCloudAiplatformV1PreTunedModel.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ GoogleCloudAiplatformV1PreTunedModel
Returns a new instance of GoogleCloudAiplatformV1PreTunedModel.
26852 26853 26854 |
# File 'lib/google/apis/aiplatform_v1/classes.rb', line 26852 def initialize(**args) update!(**args) end |
Instance Attribute Details
#base_model ⇒ String
Output only. The name of the base model this PreTunedModel was tuned from.
Corresponds to the JSON property baseModel
26835 26836 26837 |
# File 'lib/google/apis/aiplatform_v1/classes.rb', line 26835 def base_model @base_model end |
#checkpoint_id ⇒ String
Optional. The source checkpoint id. If not specified, the default checkpoint
will be used.
Corresponds to the JSON property checkpointId
26841 26842 26843 |
# File 'lib/google/apis/aiplatform_v1/classes.rb', line 26841 def checkpoint_id @checkpoint_id end |
#tuned_model_name ⇒ String
The resource name of the Model. E.g., a model resource name with a specified
version id or alias: projects/project/locations/location/models/model@
version_id`projects/`project`/locations/`location`/models/`model`@`alias
Or, omit the version id to use the default version: projects/project/
locations/location/models/model`
Corresponds to the JSON propertytunedModelName`
26850 26851 26852 |
# File 'lib/google/apis/aiplatform_v1/classes.rb', line 26850 def tuned_model_name @tuned_model_name end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
26857 26858 26859 26860 26861 |
# File 'lib/google/apis/aiplatform_v1/classes.rb', line 26857 def update!(**args) @base_model = args[:base_model] if args.key?(:base_model) @checkpoint_id = args[:checkpoint_id] if args.key?(:checkpoint_id) @tuned_model_name = args[:tuned_model_name] if args.key?(:tuned_model_name) end |