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.



64565
64566
64567
# File 'lib/google/apis/aiplatform_v1beta1/classes.rb', line 64565

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



64548
64549
64550
# File 'lib/google/apis/aiplatform_v1beta1/classes.rb', line 64548

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



64553
64554
64555
# File 'lib/google/apis/aiplatform_v1beta1/classes.rb', line 64553

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



64558
64559
64560
# File 'lib/google/apis/aiplatform_v1beta1/classes.rb', line 64558

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



64563
64564
64565
# File 'lib/google/apis/aiplatform_v1beta1/classes.rb', line 64563

def supervised_tuning_data_stats
  @supervised_tuning_data_stats
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



64570
64571
64572
64573
64574
64575
# File 'lib/google/apis/aiplatform_v1beta1/classes.rb', line 64570

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