Class FineTune
java.lang.Object
com.alibaba.dashscope.types.common.ResponseBase
com.alibaba.dashscope.types.finetunes.FineTune
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 Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Methods inherited from class com.alibaba.dashscope.types.common.ResponseBase
fillEnvelope, getCode, getHeaders, getMessage, getRequestId, getStatusCode, isError
-
Field Details
-
SUCCEEDED
- See Also:
-
FAILED
- See Also:
-
CANCELED
- See Also:
-
-
Constructor Details
-
FineTune
public FineTune()
-
-
Method Details
-
getJobId
-
getJobName
-
getStatus
-
getModel
-
getBaseModel
-
getFinetunedModel
-
getTrainingFileIds
-
getValidationFileIds
-
getHyperParameters
-
getTrainingType
-
getCreatedAt
-
getFinishedAt
-
getUserIdentity
-
getModifier
-
getCreator
-
getGroup
-
getUsage
-
getTaskId
Jobspells the same identifiertaskId. -
isSucceeded
public boolean isSucceeded() -
isFinished
public boolean isFinished()Terminal: SUCCEEDED / FAILED / CANCELED — deliberately narrower thanJob.isFinished(UNKNOWN is not terminal on this plane; Python v2 fine_tunes._TERMINAL parity).
-