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.
Implements
IMessageSupervisedTuningSpec, IEquatableSupervisedTuningSpec, IDeepCloneableSupervisedTuningSpec, IBufferMessage, IMessageNamespace
Google.Cloud.AIPlatform.V1Beta1Assembly
Google.Cloud.AIPlatform.V1Beta1.dll
Constructors
SupervisedTuningSpec()
public SupervisedTuningSpec()
SupervisedTuningSpec(SupervisedTuningSpec)
public SupervisedTuningSpec(SupervisedTuningSpec other)
Parameter | |
---|---|
Name | Description |
other |
SupervisedTuningSpec |
Properties
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 |
bool |
HyperParameters
public SupervisedHyperParameters HyperParameters { get; set; }
Optional. Hyperparameters for SFT.
Property Value | |
---|---|
Type | Description |
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 |
string |
TuningMode
public SupervisedTuningSpec.Types.TuningMode TuningMode { get; set; }
Tuning mode.
Property Value | |
---|---|
Type | Description |
SupervisedTuningSpecTypesTuningMode |
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 |
string |