Interface SaveWeightsConfig.Builder

  • Method Details

    • mergeWeights

      SaveWeightsConfig.Builder mergeWeights(Boolean mergeWeights)

      Specifies whether to merge LoRA adapter weights into the base model before saving. When true, the saved checkpoint contains the full merged model weights.

      Parameters:
      mergeWeights - Specifies whether to merge LoRA adapter weights into the base model before saving. When true, the saved checkpoint contains the full merged model weights.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • description

      SaveWeightsConfig.Builder description(String description)

      A human-readable description for the saved checkpoint.

      Parameters:
      description - A human-readable description for the saved checkpoint.
      Returns:
      Returns a reference to this object so that method calls can be chained together.