# Cloud Document AI v1beta3 API - Class TrainProcessorVersionRequest.Types.FoundationModelTuningOptions (2.0.0-beta30)

2.0.0-beta30 (latest) 2.0.0-beta29 1.0.0-beta04

    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 v1beta3 API class TrainProcessorVersionRequest.Types.FoundationModelTuningOptions.

Options to control foundation model tuning of the processor.

## Inheritance

[object](https://learn.microsoft.com/dotnet/api/system.object) \> TrainProcessorVersionRequest.Types.FoundationModelTuningOptions

## Implements

[IMessage](https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IMessage-1.html)[TrainProcessorVersionRequest](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.DocumentAI.V1Beta3/latest/Google.Cloud.DocumentAI.V1Beta3.TrainProcessorVersionRequest)[Types](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.DocumentAI.V1Beta3/latest/Google.Cloud.DocumentAI.V1Beta3.TrainProcessorVersionRequest.Types)[FoundationModelTuningOptions](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.DocumentAI.V1Beta3/latest/Google.Cloud.DocumentAI.V1Beta3.TrainProcessorVersionRequest.Types.FoundationModelTuningOptions), [IEquatable](https://learn.microsoft.com/dotnet/api/system.iequatable-1)[TrainProcessorVersionRequest](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.DocumentAI.V1Beta3/latest/Google.Cloud.DocumentAI.V1Beta3.TrainProcessorVersionRequest)[Types](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.DocumentAI.V1Beta3/latest/Google.Cloud.DocumentAI.V1Beta3.TrainProcessorVersionRequest.Types)[FoundationModelTuningOptions](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.DocumentAI.V1Beta3/latest/Google.Cloud.DocumentAI.V1Beta3.TrainProcessorVersionRequest.Types.FoundationModelTuningOptions), [IDeepCloneable](https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IDeepCloneable-1.html)[TrainProcessorVersionRequest](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.DocumentAI.V1Beta3/latest/Google.Cloud.DocumentAI.V1Beta3.TrainProcessorVersionRequest)[Types](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.DocumentAI.V1Beta3/latest/Google.Cloud.DocumentAI.V1Beta3.TrainProcessorVersionRequest.Types)[FoundationModelTuningOptions](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.DocumentAI.V1Beta3/latest/Google.Cloud.DocumentAI.V1Beta3.TrainProcessorVersionRequest.Types.FoundationModelTuningOptions), [IBufferMessage](https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IBufferMessage.html), [IMessage](https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IMessage.html)

## Inherited Members

[object.GetHashCode()](https://learn.microsoft.com/dotnet/api/system.object.gethashcode) [object.GetType()](https://learn.microsoft.com/dotnet/api/system.object.gettype) [object.ToString()](https://learn.microsoft.com/dotnet/api/system.object.tostring)

## Namespace

[Google.Cloud.DocumentAI.V1Beta3](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.DocumentAI.V1Beta3/latest/Google.Cloud.DocumentAI.V1Beta3)

## Assembly

Google.Cloud.DocumentAI.V1Beta3.dll

## Constructors

### FoundationModelTuningOptions()

    public FoundationModelTuningOptions()

### FoundationModelTuningOptions(FoundationModelTuningOptions)

    public FoundationModelTuningOptions(TrainProcessorVersionRequest.Types.FoundationModelTuningOptions other)

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `other` | `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.DocumentAI.V1Beta3/latest/Google.Cloud.DocumentAI.V1Beta3.TrainProcessorVersionRequesthttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.DocumentAI.V1Beta3/latest/Google.Cloud.DocumentAI.V1Beta3.TrainProcessorVersionRequest.Typeshttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.DocumentAI.V1Beta3/latest/Google.Cloud.DocumentAI.V1Beta3.TrainProcessorVersionRequest.Types.FoundationModelTuningOptions` |

## 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** |
| `https://learn.microsoft.com/dotnet/api/system.single` |   |

### PreviousFineTunedProcessorVersionName

    public string PreviousFineTunedProcessorVersionName { get; set; }

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}`.

| **Property Value** ||
|---|---|
| **Type** | **Description** |
| `https://learn.microsoft.com/dotnet/api/system.string` |   |

### 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** |
| `https://learn.microsoft.com/dotnet/api/system.int32` |   |