OpenAIFineTuneHyperParamsModel class final

This class is used to represent the hyper-parameters used for fine-tuning.

Annotations
  • @immutable

Constructors

OpenAIFineTuneHyperParamsModel({required int? batchSize, required double? learningRateMultiplier, required int? nEpochs, required double? promptLossWeight})
{@template openai_fine_tune_hyper_params_model}
const
OpenAIFineTuneHyperParamsModel.fromMap(Map<String, dynamic> json)
{@template openai_fine_tune_hyper_params_model} This method is used to convert a Map<String, dynamic> object to a OpenAIFineTuneHyperParamsModel object.
factory

Properties

batchSize int?
The batch size used for fine-tuning.
final
hashCode int
The hash code for this object.
no setteroverride
learningRateMultiplier double?
The learning rate multiplier used for fine-tuning.
final
nEpochs int?
The number of epochs used for fine-tuning.
final
promptLossWeight double?
The prompt loss weight used for fine-tuning.
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
override

Operators

operator ==(covariant OpenAIFineTuneHyperParamsModel other) bool
The equality operator.
override