Enum Class LlamaRoPEScalingType

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

public enum LlamaRoPEScalingType extends Enum<LlamaRoPEScalingType>
Llama RoPE scaling type define
Author:
William
  • Enum Constant Details

    • LLAMA_ROPE_SCALING_UNSPECIFIED

      public static final LlamaRoPEScalingType LLAMA_ROPE_SCALING_UNSPECIFIED
      unspecified type.
    • LLAMA_ROPE_SCALING_NONE

      public static final LlamaRoPEScalingType LLAMA_ROPE_SCALING_NONE
      Scaling none type.
    • LLAMA_ROPE_SCALING_LINEAR

      public static final LlamaRoPEScalingType LLAMA_ROPE_SCALING_LINEAR
      Scaling linear type.
    • LLAMA_ROPE_SCALING_YARN

      public static final LlamaRoPEScalingType LLAMA_ROPE_SCALING_YARN
      Scaling YaRN type.
  • Method Details

    • values

      public static LlamaRoPEScalingType[] 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 LlamaRoPEScalingType 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 LlamaRoPEScalingType valueOfType(int type)
    • toString

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