Class FineTune

java.lang.Object
com.alibaba.dashscope.types.common.ResponseBase
com.alibaba.dashscope.types.finetunes.FineTune

public final class FineTune extends ResponseBase
One fine-tune job (Python v2 parity). The same type comes back from create / get and is nested in FineTuneList.getJobs(), so there is one shape to learn. The server reports a failure code per job, so the envelope is meaningful in both roles: a failed job in a list flags itself through ResponseBase.isError() as well.
  • Field Details

  • Constructor Details

    • FineTune

      public FineTune()
  • Method Details

    • getJobId

      public String getJobId()
    • getJobName

      public String getJobName()
    • getStatus

      public String getStatus()
    • getModel

      public String getModel()
    • getBaseModel

      public String getBaseModel()
    • getFinetunedModel

      public String getFinetunedModel()
    • getTrainingFileIds

      public List<String> getTrainingFileIds()
    • getValidationFileIds

      public List<String> getValidationFileIds()
    • getHyperParameters

      public Map<String,Object> getHyperParameters()
    • getTrainingType

      public String getTrainingType()
    • getCreatedAt

      public String getCreatedAt()
    • getFinishedAt

      public String getFinishedAt()
    • getUserIdentity

      public String getUserIdentity()
    • getModifier

      public String getModifier()
    • getCreator

      public String getCreator()
    • getGroup

      public String getGroup()
    • getUsage

      public Usage getUsage()
    • getTaskId

      public String getTaskId()
      Job spells the same identifier taskId.
    • isSucceeded

      public boolean isSucceeded()
    • isFinished

      public boolean isFinished()
      Terminal: SUCCEEDED / FAILED / CANCELED — deliberately narrower than Job.isFinished (UNKNOWN is not terminal on this plane; Python v2 fine_tunes._TERMINAL parity).