Hyperparameters

@Serializable
data class Hyperparameters(val nEpochs: Hyperparameters.NEpochs)

A data class representing hyperparameters used during the fine-tuning of a model.

This class holds configuration options that guide the training process, and it supports serialization to allow for easy storage and retrieval of the settings.

Constructors

Link copied to clipboard
constructor(nEpochs: Int)
constructor(nEpochs: String)
constructor(nEpochs: Hyperparameters.NEpochs)

Types

Link copied to clipboard
@Serializable(with = NEpochsSerializer::class)
sealed interface NEpochs

A sealed interface representing a flexible parameter for the number of epochs.

Properties

Link copied to clipboard
@SerialName(value = "n_epochs")
val nEpochs: Hyperparameters.NEpochs

The number of training epochs.