Class: Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1TuningDataStats

Inherits:
Object
  • Object
show all
Includes:
Core::Hashable, Core::JsonObjectSupport
Defined in:
lib/google/apis/aiplatform_v1beta1/classes.rb,
lib/google/apis/aiplatform_v1beta1/representations.rb,
lib/google/apis/aiplatform_v1beta1/representations.rb

Overview

The tuning data statistic values for TuningJob.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ GoogleCloudAiplatformV1beta1TuningDataStats

Returns a new instance of GoogleCloudAiplatformV1beta1TuningDataStats.



66513
66514
66515
# File 'lib/google/apis/aiplatform_v1beta1/classes.rb', line 66513

def initialize(**args)
   update!(**args)
end

Instance Attribute Details

#distillation_data_statsGoogle::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1DistillationDataStats

Statistics for distillation prompt dataset. These statistics do not include the responses sampled from the teacher model. Corresponds to the JSON property distillationDataStats



66496
66497
66498
# File 'lib/google/apis/aiplatform_v1beta1/classes.rb', line 66496

def distillation_data_stats
  @distillation_data_stats
end

#preference_optimization_data_statsGoogle::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1PreferenceOptimizationDataStats

Statistics computed for datasets used for preference optimization. Corresponds to the JSON property preferenceOptimizationDataStats



66501
66502
66503
# File 'lib/google/apis/aiplatform_v1beta1/classes.rb', line 66501

def preference_optimization_data_stats
  @preference_optimization_data_stats
end

#reinforcement_tuning_data_statsGoogle::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1DatasetStats

Statistics computed over a tuning dataset. Corresponds to the JSON property reinforcementTuningDataStats



66506
66507
66508
# File 'lib/google/apis/aiplatform_v1beta1/classes.rb', line 66506

def reinforcement_tuning_data_stats
  @reinforcement_tuning_data_stats
end

#supervised_tuning_data_statsGoogle::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1SupervisedTuningDataStats

Tuning data statistics for Supervised Tuning. Corresponds to the JSON property supervisedTuningDataStats



66511
66512
66513
# File 'lib/google/apis/aiplatform_v1beta1/classes.rb', line 66511

def supervised_tuning_data_stats
  @supervised_tuning_data_stats
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



66518
66519
66520
66521
66522
66523
# File 'lib/google/apis/aiplatform_v1beta1/classes.rb', line 66518

def update!(**args)
  @distillation_data_stats = args[:distillation_data_stats] if args.key?(:distillation_data_stats)
  @preference_optimization_data_stats = args[:preference_optimization_data_stats] if args.key?(:preference_optimization_data_stats)
  @reinforcement_tuning_data_stats = args[:reinforcement_tuning_data_stats] if args.key?(:reinforcement_tuning_data_stats)
  @supervised_tuning_data_stats = args[:supervised_tuning_data_stats] if args.key?(:supervised_tuning_data_stats)
end