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.



65198
65199
65200
# File 'lib/google/apis/aiplatform_v1beta1/classes.rb', line 65198

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



65181
65182
65183
# File 'lib/google/apis/aiplatform_v1beta1/classes.rb', line 65181

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



65186
65187
65188
# File 'lib/google/apis/aiplatform_v1beta1/classes.rb', line 65186

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



65191
65192
65193
# File 'lib/google/apis/aiplatform_v1beta1/classes.rb', line 65191

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



65196
65197
65198
# File 'lib/google/apis/aiplatform_v1beta1/classes.rb', line 65196

def supervised_tuning_data_stats
  @supervised_tuning_data_stats
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



65203
65204
65205
65206
65207
65208
# File 'lib/google/apis/aiplatform_v1beta1/classes.rb', line 65203

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