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.



67085
67086
67087
# File 'lib/google/apis/aiplatform_v1beta1/classes.rb', line 67085

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



67068
67069
67070
# File 'lib/google/apis/aiplatform_v1beta1/classes.rb', line 67068

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



67073
67074
67075
# File 'lib/google/apis/aiplatform_v1beta1/classes.rb', line 67073

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



67078
67079
67080
# File 'lib/google/apis/aiplatform_v1beta1/classes.rb', line 67078

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



67083
67084
67085
# File 'lib/google/apis/aiplatform_v1beta1/classes.rb', line 67083

def supervised_tuning_data_stats
  @supervised_tuning_data_stats
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



67090
67091
67092
67093
67094
67095
# File 'lib/google/apis/aiplatform_v1beta1/classes.rb', line 67090

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