Class: Google::Apis::DocumentaiV1::GoogleCloudDocumentaiV1ProcessorVersionGenAiModelInfoFoundationGenAiModelInfo
- Inherits:
-
Object
- Object
- Google::Apis::DocumentaiV1::GoogleCloudDocumentaiV1ProcessorVersionGenAiModelInfoFoundationGenAiModelInfo
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- lib/google/apis/documentai_v1/classes.rb,
lib/google/apis/documentai_v1/representations.rb,
lib/google/apis/documentai_v1/representations.rb
Overview
Information for a pretrained Google-managed foundation model.
Instance Attribute Summary collapse
-
#finetuning_allowed ⇒ Boolean
(also: #finetuning_allowed?)
Whether finetuning is allowed for this base processor version.
-
#min_train_labeled_documents ⇒ Fixnum
The minimum number of labeled documents in the training dataset required for finetuning.
Instance Method Summary collapse
-
#initialize(**args) ⇒ GoogleCloudDocumentaiV1ProcessorVersionGenAiModelInfoFoundationGenAiModelInfo
constructor
A new instance of GoogleCloudDocumentaiV1ProcessorVersionGenAiModelInfoFoundationGenAiModelInfo.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ GoogleCloudDocumentaiV1ProcessorVersionGenAiModelInfoFoundationGenAiModelInfo
Returns a new instance of GoogleCloudDocumentaiV1ProcessorVersionGenAiModelInfoFoundationGenAiModelInfo.
5685 5686 5687 |
# File 'lib/google/apis/documentai_v1/classes.rb', line 5685 def initialize(**args) update!(**args) end |
Instance Attribute Details
#finetuning_allowed ⇒ Boolean Also known as: finetuning_allowed?
Whether finetuning is allowed for this base processor version.
Corresponds to the JSON property finetuningAllowed
5676 5677 5678 |
# File 'lib/google/apis/documentai_v1/classes.rb', line 5676 def finetuning_allowed @finetuning_allowed end |
#min_train_labeled_documents ⇒ Fixnum
The minimum number of labeled documents in the training dataset required for
finetuning.
Corresponds to the JSON property minTrainLabeledDocuments
5683 5684 5685 |
# File 'lib/google/apis/documentai_v1/classes.rb', line 5683 def min_train_labeled_documents @min_train_labeled_documents end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
5690 5691 5692 5693 |
# File 'lib/google/apis/documentai_v1/classes.rb', line 5690 def update!(**args) @finetuning_allowed = args[:finetuning_allowed] if args.key?(:finetuning_allowed) @min_train_labeled_documents = args[:min_train_labeled_documents] if args.key?(:min_train_labeled_documents) end |