Skip to content

Commit 77b69cd

Browse files
1 parent 02e335c commit 77b69cd

File tree

1 file changed

+30
-0
lines changed

1 file changed

+30
-0
lines changed

src/Document/GoogleCloudDocumentaiV1TrainProcessorVersionRequestFoundationModelTuningOptions.php

Lines changed: 30 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -27,6 +27,16 @@ class GoogleCloudDocumentaiV1TrainProcessorVersionRequestFoundationModelTuningOp
2727
* @var float
2828
*/
2929
public $learningRateMultiplier;
30+
/**
31+
* Optional. Resource name of a previously fine tuned version id to copy the
32+
* overwritten configs from. The base_processor_version should be newer than
33+
* the base processor version used to fine tune this provided processor
34+
* version. Format: `projects/{project}/locations/{location}/processors/{proce
35+
* ssor}/processorVersions/{processorVersion}`.
36+
*
37+
* @var string
38+
*/
39+
public $previousFineTunedProcessorVersionName;
3040
/**
3141
* Optional. The number of steps to run for model tuning. Valid values are
3242
* between 1 and 400. If not provided, recommended steps will be used.
@@ -53,6 +63,26 @@ public function getLearningRateMultiplier()
5363
{
5464
return $this->learningRateMultiplier;
5565
}
66+
/**
67+
* Optional. Resource name of a previously fine tuned version id to copy the
68+
* overwritten configs from. The base_processor_version should be newer than
69+
* the base processor version used to fine tune this provided processor
70+
* version. Format: `projects/{project}/locations/{location}/processors/{proce
71+
* ssor}/processorVersions/{processorVersion}`.
72+
*
73+
* @param string $previousFineTunedProcessorVersionName
74+
*/
75+
public function setPreviousFineTunedProcessorVersionName($previousFineTunedProcessorVersionName)
76+
{
77+
$this->previousFineTunedProcessorVersionName = $previousFineTunedProcessorVersionName;
78+
}
79+
/**
80+
* @return string
81+
*/
82+
public function getPreviousFineTunedProcessorVersionName()
83+
{
84+
return $this->previousFineTunedProcessorVersionName;
85+
}
5686
/**
5787
* Optional. The number of steps to run for model tuning. Valid values are
5888
* between 1 and 400. If not provided, recommended steps will be used.

0 commit comments

Comments
 (0)