Packages

final case class Hyperparams(batchSize: Int, classificationNClasses: Optional[Int] = Optional.Absent, classificationPositiveClass: Optional[String] = Optional.Absent, computeClassificationMetrics: Optional[Boolean] = Optional.Absent, learningRateMultiplier: Double, nEpochs: Int, promptLossWeight: Double) extends Product with Serializable

hyperparams model

The hyperparameters used for the fine-tuning job. See the [fine-tuning guide](/docs/guides/legacy-fine-tuning/hyperparameters) for more details.

batchSize

The batch size to use for training. The batch size is the number of training examples used to train a single forward and backward pass.

classificationNClasses

The number of classes to use for computing classification metrics.

classificationPositiveClass

The positive class to use for computing classification metrics.

computeClassificationMetrics

The classification metrics to compute using the validation dataset at the end of every epoch.

learningRateMultiplier

The learning rate multiplier to use for training.

nEpochs

The number of epochs to train the model for. An epoch refers to one full cycle through the training dataset.

promptLossWeight

The weight to use for loss on the prompt tokens.

Linear Supertypes
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. Hyperparams
  2. Serializable
  3. Product
  4. Equals
  5. AnyRef
  6. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. Protected

Instance Constructors

  1. new Hyperparams(batchSize: Int, classificationNClasses: Optional[Int] = Optional.Absent, classificationPositiveClass: Optional[String] = Optional.Absent, computeClassificationMetrics: Optional[Boolean] = Optional.Absent, learningRateMultiplier: Double, nEpochs: Int, promptLossWeight: Double)

    batchSize

    The batch size to use for training. The batch size is the number of training examples used to train a single forward and backward pass.

    classificationNClasses

    The number of classes to use for computing classification metrics.

    classificationPositiveClass

    The positive class to use for computing classification metrics.

    computeClassificationMetrics

    The classification metrics to compute using the validation dataset at the end of every epoch.

    learningRateMultiplier

    The learning rate multiplier to use for training.

    nEpochs

    The number of epochs to train the model for. An epoch refers to one full cycle through the training dataset.

    promptLossWeight

    The weight to use for loss on the prompt tokens.

Value Members

  1. final def !=(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  2. final def ##: Int
    Definition Classes
    AnyRef → Any
  3. final def ==(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  4. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  5. val batchSize: Int
  6. val classificationNClasses: Optional[Int]
  7. val classificationPositiveClass: Optional[String]
  8. def clone(): AnyRef
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.CloneNotSupportedException]) @native()
  9. val computeClassificationMetrics: Optional[Boolean]
  10. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  11. def finalize(): Unit
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.Throwable])
  12. final def getClass(): Class[_ <: AnyRef]
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  13. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  14. val learningRateMultiplier: Double
  15. val nEpochs: Int
  16. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  17. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  18. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  19. def productElementNames: Iterator[String]
    Definition Classes
    Product
  20. val promptLossWeight: Double
  21. final def synchronized[T0](arg0: => T0): T0
    Definition Classes
    AnyRef
  22. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  23. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  24. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException]) @native()

Inherited from Serializable

Inherited from Product

Inherited from Equals

Inherited from AnyRef

Inherited from Any

Ungrouped