Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ( TrainingStatusFailed = trainingStatus("Failed") TrainingStatusPending = trainingStatus("Pending") TrainingStatusRunning = trainingStatus("Running") TrainingStatusCreating = trainingStatus("Creating") TrainingStatusAbnormal = trainingStatus("Abnormal") TrainingStatusCompleted = trainingStatus("Completed") TrainingStatusTerminated = trainingStatus("Terminated") TrainingStatusTerminating = trainingStatus("Terminating") )
Functions ¶
This section is empty.
Types ¶
type AICCFinetune ¶
type AICCFinetune struct { Id string User Account Model ModelName Task string AICCFinetuneConfig Job JobInfo JobDetail JobDetail }
func (*AICCFinetune) DefaultCommand ¶
func (t *AICCFinetune) DefaultCommand() string
func (*AICCFinetune) DefaultInferenceCommand ¶
func (t *AICCFinetune) DefaultInferenceCommand() string
type AICCFinetuneConfig ¶
type AICCFinetuneConfig struct { Name FinetuneName Desc FinetuneDesc Hyperparameters []KeyValue Env []KeyValue }
type AICCFinetuneIndex ¶
type CustomizedKey ¶
type CustomizedKey interface {
CustomizedKey() string
}
CustomizedKey
func NewCustomizedKey ¶
func NewCustomizedKey(v string) (CustomizedKey, error)
type CustomizedValue ¶
type CustomizedValue interface {
CustomizedValue() string
}
CustomizedValue
func NewCustomizedValue ¶
func NewCustomizedValue(v string) (CustomizedValue, error)
type FinetuneDesc ¶
type FinetuneDesc interface {
FinetuneDesc() string
}
FinetuneDesc
func NewFinetuneDesc ¶
func NewFinetuneDesc(v string) (FinetuneDesc, error)
type FinetuneName ¶
type FinetuneName interface {
FinetuneName() string
}
FinetuneName
func NewFinetuneName ¶
func NewFinetuneName(v string) (FinetuneName, error)
type Input ¶
type Input struct { Key CustomizedKey User Account File string }
type JobDetail ¶
type JobDetail struct { Status TrainingStatus Error string LogPath string OutputPath string Duration int }
type KeyValue ¶
type KeyValue struct { Key CustomizedKey Value CustomizedValue }
type TrainingStatus ¶
TrainingStatus
Click to show internal directories.
Click to hide internal directories.