Class FoundationModelTuningOptions (3.14.0)

FoundationModelTuningOptions(
    mapping=None, *, ignore_unknown_fields=False, **kwargs
)

Options to control foundation model tuning of the processor.

Attributes

Name Description
train_steps int
Optional. The number of steps to run for model tuning. Valid values are between 1 and 400. If not provided, recommended steps will be used.
learning_rate_multiplier float
Optional. The multiplier to apply to the recommended learning rate. Valid values are between 0.1 and 10. If not provided, recommended learning rate will be used.
previous_fine_tuned_processor_version_name str
Optional. Resource name of a previously fine tuned version id to copy the overwritten configs from. The base_processor_version should be newer than the base processor version used to fine tune this provided processor version. Format: projects/{project}/locations/{location}/processors/{processor}/processorVersions/{processorVersion}.