public sealed class SupervisedHyperParameters : IMessage<SupervisedHyperParameters>, IEquatable<SupervisedHyperParameters>, IDeepCloneable<SupervisedHyperParameters>, IBufferMessage, IMessage
Reference documentation and code samples for the Vertex AI v1beta1 API class SupervisedHyperParameters.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Missing the information I need","missingTheInformationINeed","thumb-down"],["Too complicated / too many steps","tooComplicatedTooManySteps","thumb-down"],["Out of date","outOfDate","thumb-down"],["Samples / code issue","samplesCodeIssue","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-08-14 UTC."],[[["\u003cp\u003eThe \u003ccode\u003eSupervisedHyperParameters\u003c/code\u003e class in the Vertex AI v1beta1 API is used for specifying hyperparameters for Supervised Fine-Tuning (SFT).\u003c/p\u003e\n"],["\u003cp\u003eThis class inherits from \u003ccode\u003eobject\u003c/code\u003e and implements \u003ccode\u003eIMessage\u003c/code\u003e, \u003ccode\u003eIEquatable\u003c/code\u003e, \u003ccode\u003eIDeepCloneable\u003c/code\u003e, and \u003ccode\u003eIBufferMessage\u003c/code\u003e interfaces for functionality such as message handling, equality checks, deep cloning, and buffered message capabilities.\u003c/p\u003e\n"],["\u003cp\u003eThe class offers constructors for creating new instances and for copying existing \u003ccode\u003eSupervisedHyperParameters\u003c/code\u003e objects.\u003c/p\u003e\n"],["\u003cp\u003eKey properties include \u003ccode\u003eAdapterSize\u003c/code\u003e to set the adapter size for tuning, \u003ccode\u003eEpochCount\u003c/code\u003e to control the number of training passes, and \u003ccode\u003eLearningRateMultiplier\u003c/code\u003e to adjust the default learning rate.\u003c/p\u003e\n"],["\u003cp\u003eThis class is a part of the \u003ccode\u003eGoogle.Cloud.AIPlatform.V1Beta1\u003c/code\u003e namespace and is contained in the \u003ccode\u003eGoogle.Cloud.AIPlatform.V1Beta1.dll\u003c/code\u003e assembly.\u003c/p\u003e\n"]]],[],null,["# Vertex AI v1beta1 API - Class SupervisedHyperParameters (1.0.0-beta47)\n\nVersion latestkeyboard_arrow_down\n\n- [1.0.0-beta47 (latest)](/dotnet/docs/reference/Google.Cloud.AIPlatform.V1Beta1/latest/Google.Cloud.AIPlatform.V1Beta1.SupervisedHyperParameters)\n- [1.0.0-beta46](/dotnet/docs/reference/Google.Cloud.AIPlatform.V1Beta1/1.0.0-beta46/Google.Cloud.AIPlatform.V1Beta1.SupervisedHyperParameters) \n\n public sealed class SupervisedHyperParameters : IMessage\u003cSupervisedHyperParameters\u003e, IEquatable\u003cSupervisedHyperParameters\u003e, IDeepCloneable\u003cSupervisedHyperParameters\u003e, IBufferMessage, IMessage\n\nReference documentation and code samples for the Vertex AI v1beta1 API class SupervisedHyperParameters.\n\nHyperparameters for SFT. \n\nInheritance\n-----------\n\n[object](https://learn.microsoft.com/dotnet/api/system.object) \\\u003e SupervisedHyperParameters \n\nImplements\n----------\n\n[IMessage](https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IMessage-1.html)[SupervisedHyperParameters](/dotnet/docs/reference/Google.Cloud.AIPlatform.V1Beta1/latest/Google.Cloud.AIPlatform.V1Beta1.SupervisedHyperParameters), [IEquatable](https://learn.microsoft.com/dotnet/api/system.iequatable-1)[SupervisedHyperParameters](/dotnet/docs/reference/Google.Cloud.AIPlatform.V1Beta1/latest/Google.Cloud.AIPlatform.V1Beta1.SupervisedHyperParameters), [IDeepCloneable](https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IDeepCloneable-1.html)[SupervisedHyperParameters](/dotnet/docs/reference/Google.Cloud.AIPlatform.V1Beta1/latest/Google.Cloud.AIPlatform.V1Beta1.SupervisedHyperParameters), [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) \n\nInherited Members\n-----------------\n\n[object.GetHashCode()](https://learn.microsoft.com/dotnet/api/system.object.gethashcode) \n[object.GetType()](https://learn.microsoft.com/dotnet/api/system.object.gettype) \n[object.ToString()](https://learn.microsoft.com/dotnet/api/system.object.tostring)\n\nNamespace\n---------\n\n[Google.Cloud.AIPlatform.V1Beta1](/dotnet/docs/reference/Google.Cloud.AIPlatform.V1Beta1/latest/Google.Cloud.AIPlatform.V1Beta1)\n\nAssembly\n--------\n\nGoogle.Cloud.AIPlatform.V1Beta1.dll\n\nConstructors\n------------\n\n### SupervisedHyperParameters()\n\n public SupervisedHyperParameters()\n\n### SupervisedHyperParameters(SupervisedHyperParameters)\n\n public SupervisedHyperParameters(SupervisedHyperParameters other)\n\nProperties\n----------\n\n### AdapterSize\n\n public SupervisedHyperParameters.Types.AdapterSize AdapterSize { get; set; }\n\nOptional. Adapter size for tuning.\n\n### BatchSize\n\n public long BatchSize { get; set; }\n\nOptional. Batch size for tuning.\nThis feature is only available for open source models.\n\n### EpochCount\n\n public long EpochCount { get; set; }\n\nOptional. Number of complete passes the model makes over the entire\ntraining dataset during training.\n\n### LearningRate\n\n public double LearningRate { get; set; }\n\nOptional. Learning rate for tuning.\nMutually exclusive with `learning_rate_multiplier`.\nThis feature is only available for open source models.\n\n### LearningRateMultiplier\n\n public double LearningRateMultiplier { get; set; }\n\nOptional. Multiplier for adjusting the default learning rate.\nMutually exclusive with `learning_rate`."]]