Enum Class ModelFileType

java.lang.Object
java.lang.Enum<ModelFileType>
chat.octet.model.enums.ModelFileType
All Implemented Interfaces:
Serializable, Comparable<ModelFileType>, java.lang.constant.Constable

public enum ModelFileType extends Enum<ModelFileType>
Model file type define
Author:
William
  • Enum Constant Details

    • LLAMA_FTYPE_ALL_F32

      public static final ModelFileType LLAMA_FTYPE_ALL_F32
    • LLAMA_FTYPE_MOSTLY_F16

      public static final ModelFileType LLAMA_FTYPE_MOSTLY_F16
    • LLAMA_FTYPE_MOSTLY_Q4_0

      public static final ModelFileType LLAMA_FTYPE_MOSTLY_Q4_0
    • LLAMA_FTYPE_MOSTLY_Q4_1

      public static final ModelFileType LLAMA_FTYPE_MOSTLY_Q4_1
    • LLAMA_FTYPE_MOSTLY_Q4_1_SOME_F16

      public static final ModelFileType LLAMA_FTYPE_MOSTLY_Q4_1_SOME_F16
      tok_embeddings.weight and output.weight are F16
    • LLAMA_FTYPE_MOSTLY_Q8_0

      public static final ModelFileType LLAMA_FTYPE_MOSTLY_Q8_0
    • LLAMA_FTYPE_MOSTLY_Q5_0

      public static final ModelFileType LLAMA_FTYPE_MOSTLY_Q5_0
    • LLAMA_FTYPE_MOSTLY_Q5_1

      public static final ModelFileType LLAMA_FTYPE_MOSTLY_Q5_1
    • LLAMA_FTYPE_MOSTLY_Q2_K

      public static final ModelFileType LLAMA_FTYPE_MOSTLY_Q2_K
    • LLAMA_FTYPE_MOSTLY_Q3_K_S

      public static final ModelFileType LLAMA_FTYPE_MOSTLY_Q3_K_S
    • LLAMA_FTYPE_MOSTLY_Q3_K_M

      public static final ModelFileType LLAMA_FTYPE_MOSTLY_Q3_K_M
    • LLAMA_FTYPE_MOSTLY_Q3_K_L

      public static final ModelFileType LLAMA_FTYPE_MOSTLY_Q3_K_L
    • LLAMA_FTYPE_MOSTLY_Q4_K_S

      public static final ModelFileType LLAMA_FTYPE_MOSTLY_Q4_K_S
    • LLAMA_FTYPE_MOSTLY_Q4_K_M

      public static final ModelFileType LLAMA_FTYPE_MOSTLY_Q4_K_M
    • LLAMA_FTYPE_MOSTLY_Q5_K_S

      public static final ModelFileType LLAMA_FTYPE_MOSTLY_Q5_K_S
    • LLAMA_FTYPE_MOSTLY_Q5_K_M

      public static final ModelFileType LLAMA_FTYPE_MOSTLY_Q5_K_M
    • LLAMA_FTYPE_MOSTLY_Q6_K

      public static final ModelFileType LLAMA_FTYPE_MOSTLY_Q6_K
    • LLAMA_FTYPE_MOSTLY_IQ2_XXS

      public static final ModelFileType LLAMA_FTYPE_MOSTLY_IQ2_XXS
    • LLAMA_FTYPE_MOSTLY_IQ2_XS

      public static final ModelFileType LLAMA_FTYPE_MOSTLY_IQ2_XS
    • LLAMA_FTYPE_MOSTLY_Q2_K_S

      public static final ModelFileType LLAMA_FTYPE_MOSTLY_Q2_K_S
    • LLAMA_FTYPE_MOSTLY_Q3_K_XS

      public static final ModelFileType LLAMA_FTYPE_MOSTLY_Q3_K_XS
    • LLAMA_FTYPE_MOSTLY_IQ3_XXS

      public static final ModelFileType LLAMA_FTYPE_MOSTLY_IQ3_XXS
    • LLAMA_FTYPE_MOSTLY_IQ1_S

      public static final ModelFileType LLAMA_FTYPE_MOSTLY_IQ1_S
    • LLAMA_FTYPE_MOSTLY_IQ4_NL

      public static final ModelFileType LLAMA_FTYPE_MOSTLY_IQ4_NL
    • LLAMA_FTYPE_MOSTLY_IQ3_S

      public static final ModelFileType LLAMA_FTYPE_MOSTLY_IQ3_S
    • LLAMA_FTYPE_MOSTLY_IQ3_M

      public static final ModelFileType LLAMA_FTYPE_MOSTLY_IQ3_M
    • LLAMA_FTYPE_MOSTLY_IQ2_S

      public static final ModelFileType LLAMA_FTYPE_MOSTLY_IQ2_S
    • LLAMA_FTYPE_MOSTLY_IQ2_M

      public static final ModelFileType LLAMA_FTYPE_MOSTLY_IQ2_M
    • LLAMA_FTYPE_MOSTLY_IQ4_XS

      public static final ModelFileType LLAMA_FTYPE_MOSTLY_IQ4_XS
    • LLAMA_FTYPE_MOSTLY_IQ1_M

      public static final ModelFileType LLAMA_FTYPE_MOSTLY_IQ1_M
    • LLAMA_FTYPE_MOSTLY_BF16

      public static final ModelFileType LLAMA_FTYPE_MOSTLY_BF16
    • LLAMA_FTYPE_GUESSED

      public static final ModelFileType LLAMA_FTYPE_GUESSED
      not specified in the model file
  • Method Details

    • values

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

      public static ModelFileType valueOf(String name)
      Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (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 class has no constant with the specified name
      NullPointerException - if the argument is null
    • valueOfType

      public static ModelFileType valueOfType(int type)
    • toString

      public String toString()
      Overrides:
      toString in class Enum<ModelFileType>