1.0.0-beta87 (latest) 1.0.0-beta86

    public sealed class SupervisedTuningSpec : IMessage<SupervisedTuningSpec>, IEquatable<SupervisedTuningSpec>, IDeepCloneable<SupervisedTuningSpec>, IBufferMessage, IMessage

Reference documentation and code samples for the Vertex AI v1beta1 API class SupervisedTuningSpec.

Tuning Spec for Supervised Tuning for first party models.

## Inheritance

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

## Implements

[IMessage](https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IMessage-1.html)[SupervisedTuningSpec](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.AIPlatform.V1Beta1/latest/Google.Cloud.AIPlatform.V1Beta1.SupervisedTuningSpec), [IEquatable](https://learn.microsoft.com/dotnet/api/system.iequatable-1)[SupervisedTuningSpec](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.AIPlatform.V1Beta1/latest/Google.Cloud.AIPlatform.V1Beta1.SupervisedTuningSpec), [IDeepCloneable](https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IDeepCloneable-1.html)[SupervisedTuningSpec](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.AIPlatform.V1Beta1/latest/Google.Cloud.AIPlatform.V1Beta1.SupervisedTuningSpec), [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.AIPlatform.V1Beta1](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.AIPlatform.V1Beta1/latest/Google.Cloud.AIPlatform.V1Beta1)

## Assembly

Google.Cloud.AIPlatform.V1Beta1.dll

## Constructors

### SupervisedTuningSpec()

    public SupervisedTuningSpec()

### SupervisedTuningSpec(SupervisedTuningSpec)

    public SupervisedTuningSpec(SupervisedTuningSpec other)

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `other` | `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.AIPlatform.V1Beta1/latest/Google.Cloud.AIPlatform.V1Beta1.SupervisedTuningSpec` |

## Properties

### EvaluationConfig

    public EvaluationConfig EvaluationConfig { get; set; }

Optional. Evaluation Config for Tuning Job.

| **Property Value** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.AIPlatform.V1Beta1/latest/Google.Cloud.AIPlatform.V1Beta1.EvaluationConfig` |   |

### ExportLastCheckpointOnly

    public bool ExportLastCheckpointOnly { get; set; }

Optional. If set to true, disable intermediate checkpoints for SFT and only
the last checkpoint will be exported. Otherwise, enable intermediate
checkpoints for SFT. Default is false.

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

### HyperParameters

    public SupervisedHyperParameters HyperParameters { get; set; }

Optional. Hyperparameters for SFT.

| **Property Value** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.AIPlatform.V1Beta1/latest/Google.Cloud.AIPlatform.V1Beta1.SupervisedHyperParameters` |   |

### TrainingDatasetUri

    public string TrainingDatasetUri { get; set; }

Required. Training dataset used for tuning. The dataset can be specified as
either a Cloud Storage path to a JSONL file or as the resource name of a
Vertex Multimodal Dataset.

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

### TuningMode

    public SupervisedTuningSpec.Types.TuningMode TuningMode { get; set; }

Tuning mode.

| **Property Value** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.AIPlatform.V1Beta1/latest/Google.Cloud.AIPlatform.V1Beta1.SupervisedTuningSpechttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.AIPlatform.V1Beta1/latest/Google.Cloud.AIPlatform.V1Beta1.SupervisedTuningSpec.Typeshttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.AIPlatform.V1Beta1/latest/Google.Cloud.AIPlatform.V1Beta1.SupervisedTuningSpec.Types.TuningMode` |   |

### ValidationDatasetUri

    public string ValidationDatasetUri { get; set; }

Optional. Validation dataset used for tuning. The dataset can be specified
as either a Cloud Storage path to a JSONL file or as the resource name of a
Vertex Multimodal Dataset.

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