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:



281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
# File 'proto_docs/google/cloud/aiplatform/v1/tuning_job.rb', line 281

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 2.
    ADAPTER_SIZE_TWO = 6

    # Adapter size 4.
    ADAPTER_SIZE_FOUR = 2

    # Adapter size 8.
    ADAPTER_SIZE_EIGHT = 3

    # Adapter size 16.
    ADAPTER_SIZE_SIXTEEN = 4

    # Adapter size 32.
    ADAPTER_SIZE_THIRTY_TWO = 5
  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.



281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
# File 'proto_docs/google/cloud/aiplatform/v1/tuning_job.rb', line 281

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 2.
    ADAPTER_SIZE_TWO = 6

    # Adapter size 4.
    ADAPTER_SIZE_FOUR = 2

    # Adapter size 8.
    ADAPTER_SIZE_EIGHT = 3

    # Adapter size 16.
    ADAPTER_SIZE_SIXTEEN = 4

    # Adapter size 32.
    ADAPTER_SIZE_THIRTY_TWO = 5
  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.



281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
# File 'proto_docs/google/cloud/aiplatform/v1/tuning_job.rb', line 281

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 2.
    ADAPTER_SIZE_TWO = 6

    # Adapter size 4.
    ADAPTER_SIZE_FOUR = 2

    # Adapter size 8.
    ADAPTER_SIZE_EIGHT = 3

    # Adapter size 16.
    ADAPTER_SIZE_SIXTEEN = 4

    # Adapter size 32.
    ADAPTER_SIZE_THIRTY_TWO = 5
  end
end