java.lang.Object
java.lang.Enum<SentenceTransformersLoss>
de.uni_mannheim.informatik.dws.melt.matching_ml.python.nlptransformers.SentenceTransformersLoss
All Implemented Interfaces:
Serializable, Comparable<SentenceTransformersLoss>, java.lang.constant.Constable

public enum SentenceTransformersLoss extends Enum<SentenceTransformersLoss>
Enum which lists all possible types of loss for training sentence transformers.
See Also:
  • Enum Constant Details

  • Constructor Details

    • SentenceTransformersLoss

      private SentenceTransformersLoss()
  • Method Details

    • values

      public static SentenceTransformersLoss[] values()
      Returns an array containing the constants of this enum type, in the order they are declared.
      Returns:
      an array containing the constants of this enum type, in the order they are declared
    • valueOf

      public static SentenceTransformersLoss valueOf(String name)
      Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)
      Parameters:
      name - the name of the enum constant to be returned.
      Returns:
      the enum constant with the specified name
      Throws:
      IllegalArgumentException - if this enum type has no constant with the specified name
      NullPointerException - if the argument is null