Class: Google::Cloud::AIPlatform::V1::SupervisedHyperParameters

Inherits:
Object
  • Object
show all
Extended by:
Protobuf::MessageExts::ClassMethods
Includes:
Protobuf::MessageExts
Defined in:
proto_docs/google/cloud/aiplatform/v1/tuning_job.rb

Overview

Hyperparameters for SFT.

Defined Under Namespace

Modules: AdapterSize

Instance Attribute Summary collapse

Instance Attribute Details

#adapter_size::Google::Cloud::AIPlatform::V1::SupervisedHyperParameters::AdapterSize

Returns Optional. Adapter size for tuning.

Returns:



240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
# File 'proto_docs/google/cloud/aiplatform/v1/tuning_job.rb', line 240

class SupervisedHyperParameters
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods

  # Supported adapter sizes for tuning.
  module AdapterSize
    # Adapter size is unspecified.
    ADAPTER_SIZE_UNSPECIFIED = 0

    # Adapter size 1.
    ADAPTER_SIZE_ONE = 1

    # Adapter size 4.
    ADAPTER_SIZE_FOUR = 2

    # Adapter size 8.
    ADAPTER_SIZE_EIGHT = 3

    # Adapter size 16.
    ADAPTER_SIZE_SIXTEEN = 4
  end
end

#epoch_count::Integer

Returns Optional. Number of complete passes the model makes over the entire training dataset during training.

Returns:

  • (::Integer)

    Optional. Number of complete passes the model makes over the entire training dataset during training.



240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
# File 'proto_docs/google/cloud/aiplatform/v1/tuning_job.rb', line 240

class SupervisedHyperParameters
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods

  # Supported adapter sizes for tuning.
  module AdapterSize
    # Adapter size is unspecified.
    ADAPTER_SIZE_UNSPECIFIED = 0

    # Adapter size 1.
    ADAPTER_SIZE_ONE = 1

    # Adapter size 4.
    ADAPTER_SIZE_FOUR = 2

    # Adapter size 8.
    ADAPTER_SIZE_EIGHT = 3

    # Adapter size 16.
    ADAPTER_SIZE_SIXTEEN = 4
  end
end

#learning_rate_multiplier::Float

Returns Optional. Multiplier for adjusting the default learning rate.

Returns:

  • (::Float)

    Optional. Multiplier for adjusting the default learning rate.



240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
# File 'proto_docs/google/cloud/aiplatform/v1/tuning_job.rb', line 240

class SupervisedHyperParameters
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods

  # Supported adapter sizes for tuning.
  module AdapterSize
    # Adapter size is unspecified.
    ADAPTER_SIZE_UNSPECIFIED = 0

    # Adapter size 1.
    ADAPTER_SIZE_ONE = 1

    # Adapter size 4.
    ADAPTER_SIZE_FOUR = 2

    # Adapter size 8.
    ADAPTER_SIZE_EIGHT = 3

    # Adapter size 16.
    ADAPTER_SIZE_SIXTEEN = 4
  end
end