Class CustomizationConfig

    • Method Detail

      • distillationConfig

        public final DistillationConfig distillationConfig()

        The Distillation configuration for the custom model.

        Returns:
        The Distillation configuration for the custom model.
      • rftConfig

        public final RFTConfig rftConfig()

        Configuration settings for reinforcement fine-tuning (RFT) model customization, including grader configuration and hyperparameters.

        Returns:
        Configuration settings for reinforcement fine-tuning (RFT) model customization, including grader configuration and hyperparameters.
      • hashCode

        public final int hashCode()
        Overrides:
        hashCode in class Object
      • equals

        public final boolean equals​(Object obj)
        Overrides:
        equals in class Object
      • toString

        public final String toString()
        Returns a string representation of this object. This is useful for testing and debugging. Sensitive data will be redacted from this string using a placeholder value.
        Overrides:
        toString in class Object
      • getValueForField

        public final <T> Optional<T> getValueForField​(String fieldName,
                                                      Class<T> clazz)
      • fromDistillationConfig

        public static CustomizationConfig fromDistillationConfig​(DistillationConfig distillationConfig)
        Create an instance of this class with distillationConfig() initialized to the given value.

        The Distillation configuration for the custom model.

        Parameters:
        distillationConfig - The Distillation configuration for the custom model.
      • fromDistillationConfig

        public static CustomizationConfig fromDistillationConfig​(Consumer<DistillationConfig.Builder> distillationConfig)
        Create an instance of this class with distillationConfig() initialized to the given value.

        The Distillation configuration for the custom model.

        Parameters:
        distillationConfig - The Distillation configuration for the custom model.
      • fromRftConfig

        public static CustomizationConfig fromRftConfig​(RFTConfig rftConfig)
        Create an instance of this class with rftConfig() initialized to the given value.

        Configuration settings for reinforcement fine-tuning (RFT) model customization, including grader configuration and hyperparameters.

        Parameters:
        rftConfig - Configuration settings for reinforcement fine-tuning (RFT) model customization, including grader configuration and hyperparameters.
      • fromRftConfig

        public static CustomizationConfig fromRftConfig​(Consumer<RFTConfig.Builder> rftConfig)
        Create an instance of this class with rftConfig() initialized to the given value.

        Configuration settings for reinforcement fine-tuning (RFT) model customization, including grader configuration and hyperparameters.

        Parameters:
        rftConfig - Configuration settings for reinforcement fine-tuning (RFT) model customization, including grader configuration and hyperparameters.