Cloud Document AI v1 API - Class TrainProcessorVersionRequest.Types.FoundationModelTuningOptions (3.16.0)

public sealed class TrainProcessorVersionRequest.Types.FoundationModelTuningOptions : IMessage<TrainProcessorVersionRequest.Types.FoundationModelTuningOptions>, IEquatable<TrainProcessorVersionRequest.Types.FoundationModelTuningOptions>, IDeepCloneable<TrainProcessorVersionRequest.Types.FoundationModelTuningOptions>, IBufferMessage, IMessage

Reference documentation and code samples for the Cloud Document AI v1 API class TrainProcessorVersionRequest.Types.FoundationModelTuningOptions.

Options to control foundation model tuning of the processor.

Inheritance

object > TrainProcessorVersionRequest.Types.FoundationModelTuningOptions

Namespace

Google.Cloud.DocumentAI.V1

Assembly

Google.Cloud.DocumentAI.V1.dll

Constructors

FoundationModelTuningOptions()

public FoundationModelTuningOptions()

FoundationModelTuningOptions(FoundationModelTuningOptions)

public FoundationModelTuningOptions(TrainProcessorVersionRequest.Types.FoundationModelTuningOptions other)
Parameter
Name Description
other TrainProcessorVersionRequestTypesFoundationModelTuningOptions

Properties

LearningRateMultiplier

public float LearningRateMultiplier { get; set; }

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.

Property Value
Type Description
float

TrainSteps

public int TrainSteps { get; set; }

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.

Property Value
Type Description
int