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})
This class is used to represent the hyper-parameters used for fine-tuning.
const
OpenAIFineTuneHyperParamsModel.fromMap(Map<String, dynamic> json)
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
haveBatchSize bool
Weither the hyper-parameters have a batch size.
no setter
haveLearningRateMultiplier bool
Weither the hyper-parameters have a learning rate multiplier.
no setter
haveNEpochs bool
Weither the hyper-parameters have a number of epochs.
no setter
havePromptLossWeight bool
Weither the hyper-parameters have a prompt loss weight.
no setter
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