Class: Google::Apis::AiplatformV1::GoogleCloudAiplatformV1SupervisedTuningDataStats
- Inherits:
-
Object
- Object
- Google::Apis::AiplatformV1::GoogleCloudAiplatformV1SupervisedTuningDataStats
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- lib/google/apis/aiplatform_v1/classes.rb,
lib/google/apis/aiplatform_v1/representations.rb,
lib/google/apis/aiplatform_v1/representations.rb
Overview
Tuning data statistics for Supervised Tuning.
Instance Attribute Summary collapse
-
#dropped_example_reasons ⇒ Array<String>
Output only.
-
#total_billable_character_count ⇒ Fixnum
Output only.
-
#total_billable_token_count ⇒ Fixnum
Output only.
-
#total_truncated_example_count ⇒ Fixnum
Output only.
-
#total_tuning_character_count ⇒ Fixnum
Output only.
-
#truncated_example_indices ⇒ Array<Fixnum>
Output only.
-
#tuning_dataset_example_count ⇒ Fixnum
Output only.
-
#tuning_step_count ⇒ Fixnum
Output only.
-
#user_dataset_examples ⇒ Array<Google::Apis::AiplatformV1::GoogleCloudAiplatformV1Content>
Output only.
-
#user_input_token_distribution ⇒ Google::Apis::AiplatformV1::GoogleCloudAiplatformV1SupervisedTuningDatasetDistribution
Dataset distribution for Supervised Tuning.
-
#user_message_per_example_distribution ⇒ Google::Apis::AiplatformV1::GoogleCloudAiplatformV1SupervisedTuningDatasetDistribution
Dataset distribution for Supervised Tuning.
-
#user_output_token_distribution ⇒ Google::Apis::AiplatformV1::GoogleCloudAiplatformV1SupervisedTuningDatasetDistribution
Dataset distribution for Supervised Tuning.
Instance Method Summary collapse
-
#initialize(**args) ⇒ GoogleCloudAiplatformV1SupervisedTuningDataStats
constructor
A new instance of GoogleCloudAiplatformV1SupervisedTuningDataStats.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ GoogleCloudAiplatformV1SupervisedTuningDataStats
Returns a new instance of GoogleCloudAiplatformV1SupervisedTuningDataStats.
35329 35330 35331 |
# File 'lib/google/apis/aiplatform_v1/classes.rb', line 35329 def initialize(**args) update!(**args) end |
Instance Attribute Details
#dropped_example_reasons ⇒ Array<String>
Output only. For each index in truncated_example_indices, the user-facing
reason why the example was dropped. Must not include example itself.
Corresponds to the JSON property droppedExampleReasons
35269 35270 35271 |
# File 'lib/google/apis/aiplatform_v1/classes.rb', line 35269 def dropped_example_reasons @dropped_example_reasons end |
#total_billable_character_count ⇒ Fixnum
Output only. Number of billable characters in the tuning dataset.
Corresponds to the JSON property totalBillableCharacterCount
35274 35275 35276 |
# File 'lib/google/apis/aiplatform_v1/classes.rb', line 35274 def total_billable_character_count @total_billable_character_count end |
#total_billable_token_count ⇒ Fixnum
Output only. Number of billable tokens in the tuning dataset.
Corresponds to the JSON property totalBillableTokenCount
35279 35280 35281 |
# File 'lib/google/apis/aiplatform_v1/classes.rb', line 35279 def total_billable_token_count @total_billable_token_count end |
#total_truncated_example_count ⇒ Fixnum
Output only. The number of examples in the dataset that have been dropped. An
example can be dropped for reasons including: too many tokens, contains an
invalid image, contains too many images, etc.
Corresponds to the JSON property totalTruncatedExampleCount
35286 35287 35288 |
# File 'lib/google/apis/aiplatform_v1/classes.rb', line 35286 def total_truncated_example_count @total_truncated_example_count end |
#total_tuning_character_count ⇒ Fixnum
Output only. Number of tuning characters in the tuning dataset.
Corresponds to the JSON property totalTuningCharacterCount
35291 35292 35293 |
# File 'lib/google/apis/aiplatform_v1/classes.rb', line 35291 def total_tuning_character_count @total_tuning_character_count end |
#truncated_example_indices ⇒ Array<Fixnum>
Output only. A partial sample of the indices (starting from 1) of the dropped
examples.
Corresponds to the JSON property truncatedExampleIndices
35297 35298 35299 |
# File 'lib/google/apis/aiplatform_v1/classes.rb', line 35297 def truncated_example_indices @truncated_example_indices end |
#tuning_dataset_example_count ⇒ Fixnum
Output only. Number of examples in the tuning dataset.
Corresponds to the JSON property tuningDatasetExampleCount
35302 35303 35304 |
# File 'lib/google/apis/aiplatform_v1/classes.rb', line 35302 def tuning_dataset_example_count @tuning_dataset_example_count end |
#tuning_step_count ⇒ Fixnum
Output only. Number of tuning steps for this Tuning Job.
Corresponds to the JSON property tuningStepCount
35307 35308 35309 |
# File 'lib/google/apis/aiplatform_v1/classes.rb', line 35307 def tuning_step_count @tuning_step_count end |
#user_dataset_examples ⇒ Array<Google::Apis::AiplatformV1::GoogleCloudAiplatformV1Content>
Output only. Sample user messages in the training dataset uri.
Corresponds to the JSON property userDatasetExamples
35312 35313 35314 |
# File 'lib/google/apis/aiplatform_v1/classes.rb', line 35312 def user_dataset_examples @user_dataset_examples end |
#user_input_token_distribution ⇒ Google::Apis::AiplatformV1::GoogleCloudAiplatformV1SupervisedTuningDatasetDistribution
Dataset distribution for Supervised Tuning.
Corresponds to the JSON property userInputTokenDistribution
35317 35318 35319 |
# File 'lib/google/apis/aiplatform_v1/classes.rb', line 35317 def user_input_token_distribution @user_input_token_distribution end |
#user_message_per_example_distribution ⇒ Google::Apis::AiplatformV1::GoogleCloudAiplatformV1SupervisedTuningDatasetDistribution
Dataset distribution for Supervised Tuning.
Corresponds to the JSON property userMessagePerExampleDistribution
35322 35323 35324 |
# File 'lib/google/apis/aiplatform_v1/classes.rb', line 35322 def @user_message_per_example_distribution end |
#user_output_token_distribution ⇒ Google::Apis::AiplatformV1::GoogleCloudAiplatformV1SupervisedTuningDatasetDistribution
Dataset distribution for Supervised Tuning.
Corresponds to the JSON property userOutputTokenDistribution
35327 35328 35329 |
# File 'lib/google/apis/aiplatform_v1/classes.rb', line 35327 def user_output_token_distribution @user_output_token_distribution end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
35334 35335 35336 35337 35338 35339 35340 35341 35342 35343 35344 35345 35346 35347 |
# File 'lib/google/apis/aiplatform_v1/classes.rb', line 35334 def update!(**args) @dropped_example_reasons = args[:dropped_example_reasons] if args.key?(:dropped_example_reasons) @total_billable_character_count = args[:total_billable_character_count] if args.key?(:total_billable_character_count) @total_billable_token_count = args[:total_billable_token_count] if args.key?(:total_billable_token_count) @total_truncated_example_count = args[:total_truncated_example_count] if args.key?(:total_truncated_example_count) @total_tuning_character_count = args[:total_tuning_character_count] if args.key?(:total_tuning_character_count) @truncated_example_indices = args[:truncated_example_indices] if args.key?(:truncated_example_indices) @tuning_dataset_example_count = args[:tuning_dataset_example_count] if args.key?(:tuning_dataset_example_count) @tuning_step_count = args[:tuning_step_count] if args.key?(:tuning_step_count) @user_dataset_examples = args[:user_dataset_examples] if args.key?(:user_dataset_examples) @user_input_token_distribution = args[:user_input_token_distribution] if args.key?(:user_input_token_distribution) @user_message_per_example_distribution = args[:user_message_per_example_distribution] if args.key?(:user_message_per_example_distribution) @user_output_token_distribution = args[:user_output_token_distribution] if args.key?(:user_output_token_distribution) end |