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.



64387
64388
64389
# File 'lib/google/apis/aiplatform_v1beta1/classes.rb', line 64387

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



64370
64371
64372
# File 'lib/google/apis/aiplatform_v1beta1/classes.rb', line 64370

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



64375
64376
64377
# File 'lib/google/apis/aiplatform_v1beta1/classes.rb', line 64375

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



64380
64381
64382
# File 'lib/google/apis/aiplatform_v1beta1/classes.rb', line 64380

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



64385
64386
64387
# File 'lib/google/apis/aiplatform_v1beta1/classes.rb', line 64385

def supervised_tuning_data_stats
  @supervised_tuning_data_stats
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



64392
64393
64394
64395
64396
64397
# File 'lib/google/apis/aiplatform_v1beta1/classes.rb', line 64392

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