Documentation ¶
Index ¶
- Constants
- Variables
- func RegisterTuningServiceServer(s grpc.ServiceRegistrar, srv TuningServiceServer)
- type CancelTuningRequest
- func (*CancelTuningRequest) Descriptor() ([]byte, []int)deprecated
- func (x *CancelTuningRequest) GetTuningTaskId() string
- func (*CancelTuningRequest) ProtoMessage()
- func (x *CancelTuningRequest) ProtoReflect() protoreflect.Message
- func (x *CancelTuningRequest) Reset()
- func (m *CancelTuningRequest) SetTuningTaskId(v string)
- func (x *CancelTuningRequest) String() string
- type CancelTuningResponse
- func (*CancelTuningResponse) Descriptor() ([]byte, []int)deprecated
- func (x *CancelTuningResponse) GetTuningTaskId() string
- func (*CancelTuningResponse) ProtoMessage()
- func (x *CancelTuningResponse) ProtoReflect() protoreflect.Message
- func (x *CancelTuningResponse) Reset()
- func (m *CancelTuningResponse) SetTuningTaskId(v string)
- func (x *CancelTuningResponse) String() string
- type DescribeTuningRequest
- func (*DescribeTuningRequest) Descriptor() ([]byte, []int)deprecated
- func (x *DescribeTuningRequest) GetTuningTaskId() string
- func (*DescribeTuningRequest) ProtoMessage()
- func (x *DescribeTuningRequest) ProtoReflect() protoreflect.Message
- func (x *DescribeTuningRequest) Reset()
- func (m *DescribeTuningRequest) SetTuningTaskId(v string)
- func (x *DescribeTuningRequest) String() string
- type DescribeTuningResponse
- func (*DescribeTuningResponse) Descriptor() ([]byte, []int)deprecated
- func (x *DescribeTuningResponse) GetTuningTask() *TuningTask
- func (*DescribeTuningResponse) ProtoMessage()
- func (x *DescribeTuningResponse) ProtoReflect() protoreflect.Message
- func (x *DescribeTuningResponse) Reset()
- func (m *DescribeTuningResponse) SetTuningTask(v *TuningTask)
- func (x *DescribeTuningResponse) String() string
- type GetMetricsUrlRequest
- func (*GetMetricsUrlRequest) Descriptor() ([]byte, []int)deprecated
- func (x *GetMetricsUrlRequest) GetTaskId() string
- func (*GetMetricsUrlRequest) ProtoMessage()
- func (x *GetMetricsUrlRequest) ProtoReflect() protoreflect.Message
- func (x *GetMetricsUrlRequest) Reset()
- func (m *GetMetricsUrlRequest) SetTaskId(v string)
- func (x *GetMetricsUrlRequest) String() string
- type GetMetricsUrlResponse
- func (*GetMetricsUrlResponse) Descriptor() ([]byte, []int)deprecated
- func (x *GetMetricsUrlResponse) GetLoadUrl() string
- func (*GetMetricsUrlResponse) ProtoMessage()
- func (x *GetMetricsUrlResponse) ProtoReflect() protoreflect.Message
- func (x *GetMetricsUrlResponse) Reset()
- func (m *GetMetricsUrlResponse) SetLoadUrl(v string)
- func (x *GetMetricsUrlResponse) String() string
- type GetOptionsRequest
- func (*GetOptionsRequest) Descriptor() ([]byte, []int)deprecated
- func (x *GetOptionsRequest) GetTaskId() string
- func (*GetOptionsRequest) ProtoMessage()
- func (x *GetOptionsRequest) ProtoReflect() protoreflect.Message
- func (x *GetOptionsRequest) Reset()
- func (m *GetOptionsRequest) SetTaskId(v string)
- func (x *GetOptionsRequest) String() string
- type GetOptionsResponse
- func (*GetOptionsResponse) Descriptor() ([]byte, []int)deprecated
- func (x *GetOptionsResponse) GetBaseModelUri() string
- func (x *GetOptionsResponse) GetTaskId() string
- func (x *GetOptionsResponse) GetTextClassificationMulticlass() *TextClassificationMulticlassParams
- func (x *GetOptionsResponse) GetTextClassificationMultilabel() *TextClassificationMultilabelParams
- func (x *GetOptionsResponse) GetTextToTextCompletion() *TextToTextCompletionTuningParams
- func (x *GetOptionsResponse) GetTrainDatasets() []*TuningRequest_WeightedDataset
- func (m *GetOptionsResponse) GetTuningParams() isGetOptionsResponse_TuningParams
- func (x *GetOptionsResponse) GetValidationDatasets() []*TuningRequest_WeightedDataset
- func (*GetOptionsResponse) ProtoMessage()
- func (x *GetOptionsResponse) ProtoReflect() protoreflect.Message
- func (x *GetOptionsResponse) Reset()
- func (m *GetOptionsResponse) SetBaseModelUri(v string)
- func (m *GetOptionsResponse) SetTaskId(v string)
- func (m *GetOptionsResponse) SetTextClassificationMulticlass(v *TextClassificationMulticlassParams)
- func (m *GetOptionsResponse) SetTextClassificationMultilabel(v *TextClassificationMultilabelParams)
- func (m *GetOptionsResponse) SetTextToTextCompletion(v *TextToTextCompletionTuningParams)
- func (m *GetOptionsResponse) SetTrainDatasets(v []*TuningRequest_WeightedDataset)
- func (m *GetOptionsResponse) SetTuningParams(v GetOptionsResponse_TuningParams)
- func (m *GetOptionsResponse) SetValidationDatasets(v []*TuningRequest_WeightedDataset)
- func (x *GetOptionsResponse) String() string
- type GetOptionsResponse_TextClassificationMulticlass
- type GetOptionsResponse_TextClassificationMultilabel
- type GetOptionsResponse_TextToTextCompletion
- type GetOptionsResponse_TuningParams
- type ListTuningsRequest
- func (*ListTuningsRequest) Descriptor() ([]byte, []int)deprecated
- func (x *ListTuningsRequest) GetFolderId() string
- func (x *ListTuningsRequest) GetPageSize() int64
- func (x *ListTuningsRequest) GetPageToken() string
- func (x *ListTuningsRequest) GetStatus() TuningTask_Status
- func (*ListTuningsRequest) ProtoMessage()
- func (x *ListTuningsRequest) ProtoReflect() protoreflect.Message
- func (x *ListTuningsRequest) Reset()
- func (m *ListTuningsRequest) SetFolderId(v string)
- func (m *ListTuningsRequest) SetPageSize(v int64)
- func (m *ListTuningsRequest) SetPageToken(v string)
- func (m *ListTuningsRequest) SetStatus(v TuningTask_Status)
- func (x *ListTuningsRequest) String() string
- type ListTuningsResponse
- func (*ListTuningsResponse) Descriptor() ([]byte, []int)deprecated
- func (x *ListTuningsResponse) GetNextPageToken() string
- func (x *ListTuningsResponse) GetTuningTasks() []*TuningTask
- func (*ListTuningsResponse) ProtoMessage()
- func (x *ListTuningsResponse) ProtoReflect() protoreflect.Message
- func (x *ListTuningsResponse) Reset()
- func (m *ListTuningsResponse) SetNextPageToken(v string)
- func (m *ListTuningsResponse) SetTuningTasks(v []*TuningTask)
- func (x *ListTuningsResponse) String() string
- type OptimizerAdamw
- func (*OptimizerAdamw) Descriptor() ([]byte, []int)deprecated
- func (x *OptimizerAdamw) GetBeta1() float64
- func (x *OptimizerAdamw) GetBeta2() float64
- func (x *OptimizerAdamw) GetEps() float64
- func (x *OptimizerAdamw) GetWeightDecay() float64
- func (*OptimizerAdamw) ProtoMessage()
- func (x *OptimizerAdamw) ProtoReflect() protoreflect.Message
- func (x *OptimizerAdamw) Reset()
- func (m *OptimizerAdamw) SetBeta1(v float64)
- func (m *OptimizerAdamw) SetBeta2(v float64)
- func (m *OptimizerAdamw) SetEps(v float64)
- func (m *OptimizerAdamw) SetWeightDecay(v float64)
- func (x *OptimizerAdamw) String() string
- type SchedulerConstant
- type SchedulerCosine
- func (*SchedulerCosine) Descriptor() ([]byte, []int)deprecated
- func (x *SchedulerCosine) GetMinLr() float64
- func (*SchedulerCosine) ProtoMessage()
- func (x *SchedulerCosine) ProtoReflect() protoreflect.Message
- func (x *SchedulerCosine) Reset()
- func (m *SchedulerCosine) SetMinLr(v float64)
- func (x *SchedulerCosine) String() string
- type SchedulerLinear
- func (*SchedulerLinear) Descriptor() ([]byte, []int)deprecated
- func (x *SchedulerLinear) GetMinLr() float64
- func (*SchedulerLinear) ProtoMessage()
- func (x *SchedulerLinear) ProtoReflect() protoreflect.Message
- func (x *SchedulerLinear) Reset()
- func (m *SchedulerLinear) SetMinLr(v float64)
- func (x *SchedulerLinear) String() string
- type TextClassificationMulticlassParams
- func (*TextClassificationMulticlassParams) Descriptor() ([]byte, []int)deprecated
- func (x *TextClassificationMulticlassParams) GetAdditionalArguments() string
- func (x *TextClassificationMulticlassParams) GetLora() *TuningTypeLora
- func (x *TextClassificationMulticlassParams) GetLr() float64
- func (x *TextClassificationMulticlassParams) GetNSamples() int64
- func (x *TextClassificationMulticlassParams) GetOptimizer() *TextClassificationMulticlassParams_Optimizer
- func (x *TextClassificationMulticlassParams) GetPromptTune() *TuningTypePromptTune
- func (x *TextClassificationMulticlassParams) GetScheduler() *TextClassificationMulticlassParams_Scheduler
- func (x *TextClassificationMulticlassParams) GetSeed() int64
- func (m *TextClassificationMulticlassParams) GetTuningType() isTextClassificationMulticlassParams_TuningType
- func (*TextClassificationMulticlassParams) ProtoMessage()
- func (x *TextClassificationMulticlassParams) ProtoReflect() protoreflect.Message
- func (x *TextClassificationMulticlassParams) Reset()
- func (m *TextClassificationMulticlassParams) SetAdditionalArguments(v string)
- func (m *TextClassificationMulticlassParams) SetLora(v *TuningTypeLora)
- func (m *TextClassificationMulticlassParams) SetLr(v float64)
- func (m *TextClassificationMulticlassParams) SetNSamples(v int64)
- func (m *TextClassificationMulticlassParams) SetOptimizer(v *TextClassificationMulticlassParams_Optimizer)
- func (m *TextClassificationMulticlassParams) SetPromptTune(v *TuningTypePromptTune)
- func (m *TextClassificationMulticlassParams) SetScheduler(v *TextClassificationMulticlassParams_Scheduler)
- func (m *TextClassificationMulticlassParams) SetSeed(v int64)
- func (m *TextClassificationMulticlassParams) SetTuningType(v TextClassificationMulticlassParams_TuningType)
- func (x *TextClassificationMulticlassParams) String() string
- type TextClassificationMulticlassParams_Lora
- type TextClassificationMulticlassParams_Optimizer
- func (*TextClassificationMulticlassParams_Optimizer) Descriptor() ([]byte, []int)deprecated
- func (x *TextClassificationMulticlassParams_Optimizer) GetAdamw() *OptimizerAdamw
- func (m *TextClassificationMulticlassParams_Optimizer) GetType() isTextClassificationMulticlassParams_Optimizer_Type
- func (*TextClassificationMulticlassParams_Optimizer) ProtoMessage()
- func (x *TextClassificationMulticlassParams_Optimizer) ProtoReflect() protoreflect.Message
- func (x *TextClassificationMulticlassParams_Optimizer) Reset()
- func (m *TextClassificationMulticlassParams_Optimizer) SetAdamw(v *OptimizerAdamw)
- func (m *TextClassificationMulticlassParams_Optimizer) SetType(v TextClassificationMulticlassParams_Optimizer_Type)
- func (x *TextClassificationMulticlassParams_Optimizer) String() string
- type TextClassificationMulticlassParams_Optimizer_Adamw
- type TextClassificationMulticlassParams_Optimizer_Type
- type TextClassificationMulticlassParams_PromptTune
- type TextClassificationMulticlassParams_Scheduler
- func (*TextClassificationMulticlassParams_Scheduler) Descriptor() ([]byte, []int)deprecated
- func (x *TextClassificationMulticlassParams_Scheduler) GetConstant() *SchedulerConstant
- func (x *TextClassificationMulticlassParams_Scheduler) GetCosine() *SchedulerCosine
- func (x *TextClassificationMulticlassParams_Scheduler) GetLinear() *SchedulerLinear
- func (m *TextClassificationMulticlassParams_Scheduler) GetType() isTextClassificationMulticlassParams_Scheduler_Type
- func (x *TextClassificationMulticlassParams_Scheduler) GetWarmupRatio() float64
- func (*TextClassificationMulticlassParams_Scheduler) ProtoMessage()
- func (x *TextClassificationMulticlassParams_Scheduler) ProtoReflect() protoreflect.Message
- func (x *TextClassificationMulticlassParams_Scheduler) Reset()
- func (m *TextClassificationMulticlassParams_Scheduler) SetConstant(v *SchedulerConstant)
- func (m *TextClassificationMulticlassParams_Scheduler) SetCosine(v *SchedulerCosine)
- func (m *TextClassificationMulticlassParams_Scheduler) SetLinear(v *SchedulerLinear)
- func (m *TextClassificationMulticlassParams_Scheduler) SetType(v TextClassificationMulticlassParams_Scheduler_Type)
- func (m *TextClassificationMulticlassParams_Scheduler) SetWarmupRatio(v float64)
- func (x *TextClassificationMulticlassParams_Scheduler) String() string
- type TextClassificationMulticlassParams_Scheduler_Constant
- type TextClassificationMulticlassParams_Scheduler_Cosine
- type TextClassificationMulticlassParams_Scheduler_Linear
- type TextClassificationMulticlassParams_Scheduler_Type
- type TextClassificationMulticlassParams_TuningType
- type TextClassificationMultilabelParams
- func (*TextClassificationMultilabelParams) Descriptor() ([]byte, []int)deprecated
- func (x *TextClassificationMultilabelParams) GetAdditionalArguments() string
- func (x *TextClassificationMultilabelParams) GetLora() *TuningTypeLora
- func (x *TextClassificationMultilabelParams) GetLr() float64
- func (x *TextClassificationMultilabelParams) GetNSamples() int64
- func (x *TextClassificationMultilabelParams) GetOptimizer() *TextClassificationMultilabelParams_Optimizer
- func (x *TextClassificationMultilabelParams) GetPromptTune() *TuningTypePromptTune
- func (x *TextClassificationMultilabelParams) GetScheduler() *TextClassificationMultilabelParams_Scheduler
- func (x *TextClassificationMultilabelParams) GetSeed() int64
- func (m *TextClassificationMultilabelParams) GetTuningType() isTextClassificationMultilabelParams_TuningType
- func (*TextClassificationMultilabelParams) ProtoMessage()
- func (x *TextClassificationMultilabelParams) ProtoReflect() protoreflect.Message
- func (x *TextClassificationMultilabelParams) Reset()
- func (m *TextClassificationMultilabelParams) SetAdditionalArguments(v string)
- func (m *TextClassificationMultilabelParams) SetLora(v *TuningTypeLora)
- func (m *TextClassificationMultilabelParams) SetLr(v float64)
- func (m *TextClassificationMultilabelParams) SetNSamples(v int64)
- func (m *TextClassificationMultilabelParams) SetOptimizer(v *TextClassificationMultilabelParams_Optimizer)
- func (m *TextClassificationMultilabelParams) SetPromptTune(v *TuningTypePromptTune)
- func (m *TextClassificationMultilabelParams) SetScheduler(v *TextClassificationMultilabelParams_Scheduler)
- func (m *TextClassificationMultilabelParams) SetSeed(v int64)
- func (m *TextClassificationMultilabelParams) SetTuningType(v TextClassificationMultilabelParams_TuningType)
- func (x *TextClassificationMultilabelParams) String() string
- type TextClassificationMultilabelParams_Lora
- type TextClassificationMultilabelParams_Optimizer
- func (*TextClassificationMultilabelParams_Optimizer) Descriptor() ([]byte, []int)deprecated
- func (x *TextClassificationMultilabelParams_Optimizer) GetAdamw() *OptimizerAdamw
- func (m *TextClassificationMultilabelParams_Optimizer) GetType() isTextClassificationMultilabelParams_Optimizer_Type
- func (*TextClassificationMultilabelParams_Optimizer) ProtoMessage()
- func (x *TextClassificationMultilabelParams_Optimizer) ProtoReflect() protoreflect.Message
- func (x *TextClassificationMultilabelParams_Optimizer) Reset()
- func (m *TextClassificationMultilabelParams_Optimizer) SetAdamw(v *OptimizerAdamw)
- func (m *TextClassificationMultilabelParams_Optimizer) SetType(v TextClassificationMultilabelParams_Optimizer_Type)
- func (x *TextClassificationMultilabelParams_Optimizer) String() string
- type TextClassificationMultilabelParams_Optimizer_Adamw
- type TextClassificationMultilabelParams_Optimizer_Type
- type TextClassificationMultilabelParams_PromptTune
- type TextClassificationMultilabelParams_Scheduler
- func (*TextClassificationMultilabelParams_Scheduler) Descriptor() ([]byte, []int)deprecated
- func (x *TextClassificationMultilabelParams_Scheduler) GetConstant() *SchedulerConstant
- func (x *TextClassificationMultilabelParams_Scheduler) GetCosine() *SchedulerCosine
- func (x *TextClassificationMultilabelParams_Scheduler) GetLinear() *SchedulerLinear
- func (m *TextClassificationMultilabelParams_Scheduler) GetType() isTextClassificationMultilabelParams_Scheduler_Type
- func (x *TextClassificationMultilabelParams_Scheduler) GetWarmupRatio() float64
- func (*TextClassificationMultilabelParams_Scheduler) ProtoMessage()
- func (x *TextClassificationMultilabelParams_Scheduler) ProtoReflect() protoreflect.Message
- func (x *TextClassificationMultilabelParams_Scheduler) Reset()
- func (m *TextClassificationMultilabelParams_Scheduler) SetConstant(v *SchedulerConstant)
- func (m *TextClassificationMultilabelParams_Scheduler) SetCosine(v *SchedulerCosine)
- func (m *TextClassificationMultilabelParams_Scheduler) SetLinear(v *SchedulerLinear)
- func (m *TextClassificationMultilabelParams_Scheduler) SetType(v TextClassificationMultilabelParams_Scheduler_Type)
- func (m *TextClassificationMultilabelParams_Scheduler) SetWarmupRatio(v float64)
- func (x *TextClassificationMultilabelParams_Scheduler) String() string
- type TextClassificationMultilabelParams_Scheduler_Constant
- type TextClassificationMultilabelParams_Scheduler_Cosine
- type TextClassificationMultilabelParams_Scheduler_Linear
- type TextClassificationMultilabelParams_Scheduler_Type
- type TextClassificationMultilabelParams_TuningType
- type TextToTextCompletionTuningParams
- func (*TextToTextCompletionTuningParams) Descriptor() ([]byte, []int)deprecated
- func (x *TextToTextCompletionTuningParams) GetAdditionalArguments() string
- func (x *TextToTextCompletionTuningParams) GetLora() *TuningTypeLora
- func (x *TextToTextCompletionTuningParams) GetLr() float64
- func (x *TextToTextCompletionTuningParams) GetNSamples() int64
- func (x *TextToTextCompletionTuningParams) GetOptimizer() *TextToTextCompletionTuningParams_Optimizer
- func (x *TextToTextCompletionTuningParams) GetPromptTune() *TuningTypePromptTune
- func (x *TextToTextCompletionTuningParams) GetScheduler() *TextToTextCompletionTuningParams_Scheduler
- func (x *TextToTextCompletionTuningParams) GetSeed() int64
- func (m *TextToTextCompletionTuningParams) GetTuningType() isTextToTextCompletionTuningParams_TuningType
- func (*TextToTextCompletionTuningParams) ProtoMessage()
- func (x *TextToTextCompletionTuningParams) ProtoReflect() protoreflect.Message
- func (x *TextToTextCompletionTuningParams) Reset()
- func (m *TextToTextCompletionTuningParams) SetAdditionalArguments(v string)
- func (m *TextToTextCompletionTuningParams) SetLora(v *TuningTypeLora)
- func (m *TextToTextCompletionTuningParams) SetLr(v float64)
- func (m *TextToTextCompletionTuningParams) SetNSamples(v int64)
- func (m *TextToTextCompletionTuningParams) SetOptimizer(v *TextToTextCompletionTuningParams_Optimizer)
- func (m *TextToTextCompletionTuningParams) SetPromptTune(v *TuningTypePromptTune)
- func (m *TextToTextCompletionTuningParams) SetScheduler(v *TextToTextCompletionTuningParams_Scheduler)
- func (m *TextToTextCompletionTuningParams) SetSeed(v int64)
- func (m *TextToTextCompletionTuningParams) SetTuningType(v TextToTextCompletionTuningParams_TuningType)
- func (x *TextToTextCompletionTuningParams) String() string
- type TextToTextCompletionTuningParams_Lora
- type TextToTextCompletionTuningParams_Optimizer
- func (*TextToTextCompletionTuningParams_Optimizer) Descriptor() ([]byte, []int)deprecated
- func (x *TextToTextCompletionTuningParams_Optimizer) GetAdamw() *OptimizerAdamw
- func (m *TextToTextCompletionTuningParams_Optimizer) GetType() isTextToTextCompletionTuningParams_Optimizer_Type
- func (*TextToTextCompletionTuningParams_Optimizer) ProtoMessage()
- func (x *TextToTextCompletionTuningParams_Optimizer) ProtoReflect() protoreflect.Message
- func (x *TextToTextCompletionTuningParams_Optimizer) Reset()
- func (m *TextToTextCompletionTuningParams_Optimizer) SetAdamw(v *OptimizerAdamw)
- func (m *TextToTextCompletionTuningParams_Optimizer) SetType(v TextToTextCompletionTuningParams_Optimizer_Type)
- func (x *TextToTextCompletionTuningParams_Optimizer) String() string
- type TextToTextCompletionTuningParams_Optimizer_Adamw
- type TextToTextCompletionTuningParams_Optimizer_Type
- type TextToTextCompletionTuningParams_PromptTune
- type TextToTextCompletionTuningParams_Scheduler
- func (*TextToTextCompletionTuningParams_Scheduler) Descriptor() ([]byte, []int)deprecated
- func (x *TextToTextCompletionTuningParams_Scheduler) GetConstant() *SchedulerConstant
- func (x *TextToTextCompletionTuningParams_Scheduler) GetCosine() *SchedulerCosine
- func (x *TextToTextCompletionTuningParams_Scheduler) GetLinear() *SchedulerLinear
- func (m *TextToTextCompletionTuningParams_Scheduler) GetType() isTextToTextCompletionTuningParams_Scheduler_Type
- func (x *TextToTextCompletionTuningParams_Scheduler) GetWarmupRatio() float64
- func (*TextToTextCompletionTuningParams_Scheduler) ProtoMessage()
- func (x *TextToTextCompletionTuningParams_Scheduler) ProtoReflect() protoreflect.Message
- func (x *TextToTextCompletionTuningParams_Scheduler) Reset()
- func (m *TextToTextCompletionTuningParams_Scheduler) SetConstant(v *SchedulerConstant)
- func (m *TextToTextCompletionTuningParams_Scheduler) SetCosine(v *SchedulerCosine)
- func (m *TextToTextCompletionTuningParams_Scheduler) SetLinear(v *SchedulerLinear)
- func (m *TextToTextCompletionTuningParams_Scheduler) SetType(v TextToTextCompletionTuningParams_Scheduler_Type)
- func (m *TextToTextCompletionTuningParams_Scheduler) SetWarmupRatio(v float64)
- func (x *TextToTextCompletionTuningParams_Scheduler) String() string
- type TextToTextCompletionTuningParams_Scheduler_Constant
- type TextToTextCompletionTuningParams_Scheduler_Cosine
- type TextToTextCompletionTuningParams_Scheduler_Linear
- type TextToTextCompletionTuningParams_Scheduler_Type
- type TextToTextCompletionTuningParams_TuningType
- type TuningMetadata
- func (*TuningMetadata) Descriptor() ([]byte, []int)deprecated
- func (x *TuningMetadata) GetCurrentStep() int64
- func (x *TuningMetadata) GetStatus() TuningTask_Status
- func (x *TuningMetadata) GetTotalSteps() int64
- func (x *TuningMetadata) GetTuningTaskId() string
- func (*TuningMetadata) ProtoMessage()
- func (x *TuningMetadata) ProtoReflect() protoreflect.Message
- func (x *TuningMetadata) Reset()
- func (m *TuningMetadata) SetCurrentStep(v int64)
- func (m *TuningMetadata) SetStatus(v TuningTask_Status)
- func (m *TuningMetadata) SetTotalSteps(v int64)
- func (m *TuningMetadata) SetTuningTaskId(v string)
- func (x *TuningMetadata) String() string
- type TuningRequest
- func (*TuningRequest) Descriptor() ([]byte, []int)deprecated
- func (x *TuningRequest) GetBaseModelUri() string
- func (x *TuningRequest) GetDescription() string
- func (x *TuningRequest) GetLabels() map[string]string
- func (x *TuningRequest) GetName() string
- func (x *TuningRequest) GetTextClassificationMulticlass() *TextClassificationMulticlassParams
- func (x *TuningRequest) GetTextClassificationMultilabel() *TextClassificationMultilabelParams
- func (x *TuningRequest) GetTextToTextCompletion() *TextToTextCompletionTuningParams
- func (x *TuningRequest) GetTrainDatasets() []*TuningRequest_WeightedDataset
- func (m *TuningRequest) GetTuningParams() isTuningRequest_TuningParams
- func (x *TuningRequest) GetValidationDatasets() []*TuningRequest_WeightedDataset
- func (*TuningRequest) ProtoMessage()
- func (x *TuningRequest) ProtoReflect() protoreflect.Message
- func (x *TuningRequest) Reset()
- func (m *TuningRequest) SetBaseModelUri(v string)
- func (m *TuningRequest) SetDescription(v string)
- func (m *TuningRequest) SetLabels(v map[string]string)
- func (m *TuningRequest) SetName(v string)
- func (m *TuningRequest) SetTextClassificationMulticlass(v *TextClassificationMulticlassParams)
- func (m *TuningRequest) SetTextClassificationMultilabel(v *TextClassificationMultilabelParams)
- func (m *TuningRequest) SetTextToTextCompletion(v *TextToTextCompletionTuningParams)
- func (m *TuningRequest) SetTrainDatasets(v []*TuningRequest_WeightedDataset)
- func (m *TuningRequest) SetTuningParams(v TuningRequest_TuningParams)
- func (m *TuningRequest) SetValidationDatasets(v []*TuningRequest_WeightedDataset)
- func (x *TuningRequest) String() string
- type TuningRequest_TextClassificationMulticlass
- type TuningRequest_TextClassificationMultilabel
- type TuningRequest_TextToTextCompletion
- type TuningRequest_TuningParams
- type TuningRequest_WeightedDataset
- func (*TuningRequest_WeightedDataset) Descriptor() ([]byte, []int)deprecated
- func (x *TuningRequest_WeightedDataset) GetDatasetId() string
- func (x *TuningRequest_WeightedDataset) GetWeight() float64
- func (*TuningRequest_WeightedDataset) ProtoMessage()
- func (x *TuningRequest_WeightedDataset) ProtoReflect() protoreflect.Message
- func (x *TuningRequest_WeightedDataset) Reset()
- func (m *TuningRequest_WeightedDataset) SetDatasetId(v string)
- func (m *TuningRequest_WeightedDataset) SetWeight(v float64)
- func (x *TuningRequest_WeightedDataset) String() string
- type TuningResponse
- func (*TuningResponse) Descriptor() ([]byte, []int)deprecated
- func (x *TuningResponse) GetStatus() TuningTask_Status
- func (x *TuningResponse) GetTargetModelUri() string
- func (x *TuningResponse) GetTuningTaskId() string
- func (*TuningResponse) ProtoMessage()
- func (x *TuningResponse) ProtoReflect() protoreflect.Message
- func (x *TuningResponse) Reset()
- func (m *TuningResponse) SetStatus(v TuningTask_Status)
- func (m *TuningResponse) SetTargetModelUri(v string)
- func (m *TuningResponse) SetTuningTaskId(v string)
- func (x *TuningResponse) String() string
- type TuningServiceClient
- type TuningServiceServer
- type TuningTask
- func (*TuningTask) Descriptor() ([]byte, []int)deprecated
- func (x *TuningTask) GetCreatedAt() *timestamppb.Timestamp
- func (x *TuningTask) GetCreatedBy() string
- func (x *TuningTask) GetFinishedAt() *timestamppb.Timestamp
- func (x *TuningTask) GetFolderId() string
- func (x *TuningTask) GetOperationId() string
- func (x *TuningTask) GetSourceModelUri() string
- func (x *TuningTask) GetStartedAt() *timestamppb.Timestamp
- func (x *TuningTask) GetStatus() TuningTask_Status
- func (x *TuningTask) GetTargetModelUri() string
- func (x *TuningTask) GetTaskId() string
- func (*TuningTask) ProtoMessage()
- func (x *TuningTask) ProtoReflect() protoreflect.Message
- func (x *TuningTask) Reset()
- func (m *TuningTask) SetCreatedAt(v *timestamppb.Timestamp)
- func (m *TuningTask) SetCreatedBy(v string)
- func (m *TuningTask) SetFinishedAt(v *timestamppb.Timestamp)
- func (m *TuningTask) SetFolderId(v string)
- func (m *TuningTask) SetOperationId(v string)
- func (m *TuningTask) SetSourceModelUri(v string)
- func (m *TuningTask) SetStartedAt(v *timestamppb.Timestamp)
- func (m *TuningTask) SetStatus(v TuningTask_Status)
- func (m *TuningTask) SetTargetModelUri(v string)
- func (m *TuningTask) SetTaskId(v string)
- func (x *TuningTask) String() string
- type TuningTask_Status
- func (TuningTask_Status) Descriptor() protoreflect.EnumDescriptor
- func (x TuningTask_Status) Enum() *TuningTask_Status
- func (TuningTask_Status) EnumDescriptor() ([]byte, []int)deprecated
- func (x TuningTask_Status) Number() protoreflect.EnumNumber
- func (x TuningTask_Status) String() string
- func (TuningTask_Status) Type() protoreflect.EnumType
- type TuningTypeLora
- func (*TuningTypeLora) Descriptor() ([]byte, []int)deprecated
- func (x *TuningTypeLora) GetAlpha() float64
- func (x *TuningTypeLora) GetInitialization() string
- func (x *TuningTypeLora) GetRank() int64
- func (x *TuningTypeLora) GetType() string
- func (*TuningTypeLora) ProtoMessage()
- func (x *TuningTypeLora) ProtoReflect() protoreflect.Message
- func (x *TuningTypeLora) Reset()
- func (m *TuningTypeLora) SetAlpha(v float64)
- func (m *TuningTypeLora) SetInitialization(v string)
- func (m *TuningTypeLora) SetRank(v int64)
- func (m *TuningTypeLora) SetType(v string)
- func (x *TuningTypeLora) String() string
- type TuningTypePromptTune
- func (*TuningTypePromptTune) Descriptor() ([]byte, []int)deprecated
- func (x *TuningTypePromptTune) GetVirtualTokens() int64
- func (*TuningTypePromptTune) ProtoMessage()
- func (x *TuningTypePromptTune) ProtoReflect() protoreflect.Message
- func (x *TuningTypePromptTune) Reset()
- func (m *TuningTypePromptTune) SetVirtualTokens(v int64)
- func (x *TuningTypePromptTune) String() string
- type UnimplementedTuningServiceServer
- func (UnimplementedTuningServiceServer) Cancel(context.Context, *CancelTuningRequest) (*CancelTuningResponse, error)
- func (UnimplementedTuningServiceServer) Describe(context.Context, *DescribeTuningRequest) (*DescribeTuningResponse, error)
- func (UnimplementedTuningServiceServer) GetMetricsUrl(context.Context, *GetMetricsUrlRequest) (*GetMetricsUrlResponse, error)
- func (UnimplementedTuningServiceServer) GetOptions(context.Context, *GetOptionsRequest) (*GetOptionsResponse, error)
- func (UnimplementedTuningServiceServer) List(context.Context, *ListTuningsRequest) (*ListTuningsResponse, error)
- func (UnimplementedTuningServiceServer) Tune(context.Context, *TuningRequest) (*operation.Operation, error)
- type UnsafeTuningServiceServer
Constants ¶
const ( TuningService_Tune_FullMethodName = "/yandex.cloud.ai.tuning.v1.TuningService/Tune" TuningService_List_FullMethodName = "/yandex.cloud.ai.tuning.v1.TuningService/List" TuningService_Describe_FullMethodName = "/yandex.cloud.ai.tuning.v1.TuningService/Describe" TuningService_Cancel_FullMethodName = "/yandex.cloud.ai.tuning.v1.TuningService/Cancel" TuningService_GetMetricsUrl_FullMethodName = "/yandex.cloud.ai.tuning.v1.TuningService/GetMetricsUrl" TuningService_GetOptions_FullMethodName = "/yandex.cloud.ai.tuning.v1.TuningService/GetOptions" )
Variables ¶
var ( TuningTask_Status_name = map[int32]string{ 0: "STATUS_UNSPECIFIED", 1: "CREATED", 2: "PENDING", 3: "IN_PROGRESS", 4: "COMPLETED", 5: "FAILED", 6: "CANCELED", } TuningTask_Status_value = map[string]int32{ "STATUS_UNSPECIFIED": 0, "CREATED": 1, "PENDING": 2, "IN_PROGRESS": 3, "COMPLETED": 4, "FAILED": 5, "CANCELED": 6, } )
Enum value maps for TuningTask_Status.
var File_yandex_cloud_ai_tuning_v1_tuning_optimizers_proto protoreflect.FileDescriptor
var File_yandex_cloud_ai_tuning_v1_tuning_schedulers_proto protoreflect.FileDescriptor
var File_yandex_cloud_ai_tuning_v1_tuning_service_proto protoreflect.FileDescriptor
var File_yandex_cloud_ai_tuning_v1_tuning_task_proto protoreflect.FileDescriptor
var File_yandex_cloud_ai_tuning_v1_tuning_types_proto protoreflect.FileDescriptor
var TuningService_ServiceDesc = grpc.ServiceDesc{ ServiceName: "yandex.cloud.ai.tuning.v1.TuningService", HandlerType: (*TuningServiceServer)(nil), Methods: []grpc.MethodDesc{ { MethodName: "Tune", Handler: _TuningService_Tune_Handler, }, { MethodName: "List", Handler: _TuningService_List_Handler, }, { MethodName: "Describe", Handler: _TuningService_Describe_Handler, }, { MethodName: "Cancel", Handler: _TuningService_Cancel_Handler, }, { MethodName: "GetMetricsUrl", Handler: _TuningService_GetMetricsUrl_Handler, }, { MethodName: "GetOptions", Handler: _TuningService_GetOptions_Handler, }, }, Streams: []grpc.StreamDesc{}, Metadata: "yandex/cloud/ai/tuning/v1/tuning_service.proto", }
TuningService_ServiceDesc is the grpc.ServiceDesc for TuningService service. It's only intended for direct use with grpc.RegisterService, and not to be introspected or modified (even as a copy)
Functions ¶
func RegisterTuningServiceServer ¶
func RegisterTuningServiceServer(s grpc.ServiceRegistrar, srv TuningServiceServer)
Types ¶
type CancelTuningRequest ¶
type CancelTuningRequest struct { TuningTaskId string `protobuf:"bytes,1,opt,name=tuning_task_id,json=tuningTaskId,proto3" json:"tuning_task_id,omitempty"` // contains filtered or unexported fields }
func (*CancelTuningRequest) Descriptor
deprecated
func (*CancelTuningRequest) Descriptor() ([]byte, []int)
Deprecated: Use CancelTuningRequest.ProtoReflect.Descriptor instead.
func (*CancelTuningRequest) GetTuningTaskId ¶
func (x *CancelTuningRequest) GetTuningTaskId() string
func (*CancelTuningRequest) ProtoMessage ¶
func (*CancelTuningRequest) ProtoMessage()
func (*CancelTuningRequest) ProtoReflect ¶
func (x *CancelTuningRequest) ProtoReflect() protoreflect.Message
func (*CancelTuningRequest) Reset ¶
func (x *CancelTuningRequest) Reset()
func (*CancelTuningRequest) SetTuningTaskId ¶
func (m *CancelTuningRequest) SetTuningTaskId(v string)
func (*CancelTuningRequest) String ¶
func (x *CancelTuningRequest) String() string
type CancelTuningResponse ¶
type CancelTuningResponse struct { TuningTaskId string `protobuf:"bytes,1,opt,name=tuning_task_id,json=tuningTaskId,proto3" json:"tuning_task_id,omitempty"` // contains filtered or unexported fields }
func (*CancelTuningResponse) Descriptor
deprecated
func (*CancelTuningResponse) Descriptor() ([]byte, []int)
Deprecated: Use CancelTuningResponse.ProtoReflect.Descriptor instead.
func (*CancelTuningResponse) GetTuningTaskId ¶
func (x *CancelTuningResponse) GetTuningTaskId() string
func (*CancelTuningResponse) ProtoMessage ¶
func (*CancelTuningResponse) ProtoMessage()
func (*CancelTuningResponse) ProtoReflect ¶
func (x *CancelTuningResponse) ProtoReflect() protoreflect.Message
func (*CancelTuningResponse) Reset ¶
func (x *CancelTuningResponse) Reset()
func (*CancelTuningResponse) SetTuningTaskId ¶
func (m *CancelTuningResponse) SetTuningTaskId(v string)
func (*CancelTuningResponse) String ¶
func (x *CancelTuningResponse) String() string
type DescribeTuningRequest ¶
type DescribeTuningRequest struct { TuningTaskId string `protobuf:"bytes,1,opt,name=tuning_task_id,json=tuningTaskId,proto3" json:"tuning_task_id,omitempty"` // contains filtered or unexported fields }
func (*DescribeTuningRequest) Descriptor
deprecated
func (*DescribeTuningRequest) Descriptor() ([]byte, []int)
Deprecated: Use DescribeTuningRequest.ProtoReflect.Descriptor instead.
func (*DescribeTuningRequest) GetTuningTaskId ¶
func (x *DescribeTuningRequest) GetTuningTaskId() string
func (*DescribeTuningRequest) ProtoMessage ¶
func (*DescribeTuningRequest) ProtoMessage()
func (*DescribeTuningRequest) ProtoReflect ¶
func (x *DescribeTuningRequest) ProtoReflect() protoreflect.Message
func (*DescribeTuningRequest) Reset ¶
func (x *DescribeTuningRequest) Reset()
func (*DescribeTuningRequest) SetTuningTaskId ¶
func (m *DescribeTuningRequest) SetTuningTaskId(v string)
func (*DescribeTuningRequest) String ¶
func (x *DescribeTuningRequest) String() string
type DescribeTuningResponse ¶
type DescribeTuningResponse struct { TuningTask *TuningTask `protobuf:"bytes,1,opt,name=tuning_task,json=tuningTask,proto3" json:"tuning_task,omitempty"` // contains filtered or unexported fields }
func (*DescribeTuningResponse) Descriptor
deprecated
func (*DescribeTuningResponse) Descriptor() ([]byte, []int)
Deprecated: Use DescribeTuningResponse.ProtoReflect.Descriptor instead.
func (*DescribeTuningResponse) GetTuningTask ¶
func (x *DescribeTuningResponse) GetTuningTask() *TuningTask
func (*DescribeTuningResponse) ProtoMessage ¶
func (*DescribeTuningResponse) ProtoMessage()
func (*DescribeTuningResponse) ProtoReflect ¶
func (x *DescribeTuningResponse) ProtoReflect() protoreflect.Message
func (*DescribeTuningResponse) Reset ¶
func (x *DescribeTuningResponse) Reset()
func (*DescribeTuningResponse) SetTuningTask ¶
func (m *DescribeTuningResponse) SetTuningTask(v *TuningTask)
func (*DescribeTuningResponse) String ¶
func (x *DescribeTuningResponse) String() string
type GetMetricsUrlRequest ¶
type GetMetricsUrlRequest struct { TaskId string `protobuf:"bytes,1,opt,name=task_id,json=taskId,proto3" json:"task_id,omitempty"` // contains filtered or unexported fields }
func (*GetMetricsUrlRequest) Descriptor
deprecated
func (*GetMetricsUrlRequest) Descriptor() ([]byte, []int)
Deprecated: Use GetMetricsUrlRequest.ProtoReflect.Descriptor instead.
func (*GetMetricsUrlRequest) GetTaskId ¶
func (x *GetMetricsUrlRequest) GetTaskId() string
func (*GetMetricsUrlRequest) ProtoMessage ¶
func (*GetMetricsUrlRequest) ProtoMessage()
func (*GetMetricsUrlRequest) ProtoReflect ¶
func (x *GetMetricsUrlRequest) ProtoReflect() protoreflect.Message
func (*GetMetricsUrlRequest) Reset ¶
func (x *GetMetricsUrlRequest) Reset()
func (*GetMetricsUrlRequest) SetTaskId ¶
func (m *GetMetricsUrlRequest) SetTaskId(v string)
func (*GetMetricsUrlRequest) String ¶
func (x *GetMetricsUrlRequest) String() string
type GetMetricsUrlResponse ¶
type GetMetricsUrlResponse struct { LoadUrl string `protobuf:"bytes,1,opt,name=load_url,json=loadUrl,proto3" json:"load_url,omitempty"` // contains filtered or unexported fields }
func (*GetMetricsUrlResponse) Descriptor
deprecated
func (*GetMetricsUrlResponse) Descriptor() ([]byte, []int)
Deprecated: Use GetMetricsUrlResponse.ProtoReflect.Descriptor instead.
func (*GetMetricsUrlResponse) GetLoadUrl ¶
func (x *GetMetricsUrlResponse) GetLoadUrl() string
func (*GetMetricsUrlResponse) ProtoMessage ¶
func (*GetMetricsUrlResponse) ProtoMessage()
func (*GetMetricsUrlResponse) ProtoReflect ¶
func (x *GetMetricsUrlResponse) ProtoReflect() protoreflect.Message
func (*GetMetricsUrlResponse) Reset ¶
func (x *GetMetricsUrlResponse) Reset()
func (*GetMetricsUrlResponse) SetLoadUrl ¶
func (m *GetMetricsUrlResponse) SetLoadUrl(v string)
func (*GetMetricsUrlResponse) String ¶
func (x *GetMetricsUrlResponse) String() string
type GetOptionsRequest ¶
type GetOptionsRequest struct { TaskId string `protobuf:"bytes,1,opt,name=task_id,json=taskId,proto3" json:"task_id,omitempty"` // contains filtered or unexported fields }
func (*GetOptionsRequest) Descriptor
deprecated
func (*GetOptionsRequest) Descriptor() ([]byte, []int)
Deprecated: Use GetOptionsRequest.ProtoReflect.Descriptor instead.
func (*GetOptionsRequest) GetTaskId ¶
func (x *GetOptionsRequest) GetTaskId() string
func (*GetOptionsRequest) ProtoMessage ¶
func (*GetOptionsRequest) ProtoMessage()
func (*GetOptionsRequest) ProtoReflect ¶
func (x *GetOptionsRequest) ProtoReflect() protoreflect.Message
func (*GetOptionsRequest) Reset ¶
func (x *GetOptionsRequest) Reset()
func (*GetOptionsRequest) SetTaskId ¶
func (m *GetOptionsRequest) SetTaskId(v string)
func (*GetOptionsRequest) String ¶
func (x *GetOptionsRequest) String() string
type GetOptionsResponse ¶
type GetOptionsResponse struct { TaskId string `protobuf:"bytes,1,opt,name=task_id,json=taskId,proto3" json:"task_id,omitempty"` BaseModelUri string `protobuf:"bytes,2,opt,name=base_model_uri,json=baseModelUri,proto3" json:"base_model_uri,omitempty"` TrainDatasets []*TuningRequest_WeightedDataset `protobuf:"bytes,3,rep,name=train_datasets,json=trainDatasets,proto3" json:"train_datasets,omitempty"` ValidationDatasets []*TuningRequest_WeightedDataset `protobuf:"bytes,4,rep,name=validation_datasets,json=validationDatasets,proto3" json:"validation_datasets,omitempty"` // Types that are assignable to TuningParams: // // *GetOptionsResponse_TextToTextCompletion // *GetOptionsResponse_TextClassificationMultilabel // *GetOptionsResponse_TextClassificationMulticlass TuningParams isGetOptionsResponse_TuningParams `protobuf_oneof:"tuning_params"` // contains filtered or unexported fields }
func (*GetOptionsResponse) Descriptor
deprecated
func (*GetOptionsResponse) Descriptor() ([]byte, []int)
Deprecated: Use GetOptionsResponse.ProtoReflect.Descriptor instead.
func (*GetOptionsResponse) GetBaseModelUri ¶
func (x *GetOptionsResponse) GetBaseModelUri() string
func (*GetOptionsResponse) GetTaskId ¶
func (x *GetOptionsResponse) GetTaskId() string
func (*GetOptionsResponse) GetTextClassificationMulticlass ¶
func (x *GetOptionsResponse) GetTextClassificationMulticlass() *TextClassificationMulticlassParams
func (*GetOptionsResponse) GetTextClassificationMultilabel ¶
func (x *GetOptionsResponse) GetTextClassificationMultilabel() *TextClassificationMultilabelParams
func (*GetOptionsResponse) GetTextToTextCompletion ¶
func (x *GetOptionsResponse) GetTextToTextCompletion() *TextToTextCompletionTuningParams
func (*GetOptionsResponse) GetTrainDatasets ¶
func (x *GetOptionsResponse) GetTrainDatasets() []*TuningRequest_WeightedDataset
func (*GetOptionsResponse) GetTuningParams ¶
func (m *GetOptionsResponse) GetTuningParams() isGetOptionsResponse_TuningParams
func (*GetOptionsResponse) GetValidationDatasets ¶
func (x *GetOptionsResponse) GetValidationDatasets() []*TuningRequest_WeightedDataset
func (*GetOptionsResponse) ProtoMessage ¶
func (*GetOptionsResponse) ProtoMessage()
func (*GetOptionsResponse) ProtoReflect ¶
func (x *GetOptionsResponse) ProtoReflect() protoreflect.Message
func (*GetOptionsResponse) Reset ¶
func (x *GetOptionsResponse) Reset()
func (*GetOptionsResponse) SetBaseModelUri ¶
func (m *GetOptionsResponse) SetBaseModelUri(v string)
func (*GetOptionsResponse) SetTaskId ¶
func (m *GetOptionsResponse) SetTaskId(v string)
func (*GetOptionsResponse) SetTextClassificationMulticlass ¶
func (m *GetOptionsResponse) SetTextClassificationMulticlass(v *TextClassificationMulticlassParams)
func (*GetOptionsResponse) SetTextClassificationMultilabel ¶
func (m *GetOptionsResponse) SetTextClassificationMultilabel(v *TextClassificationMultilabelParams)
func (*GetOptionsResponse) SetTextToTextCompletion ¶
func (m *GetOptionsResponse) SetTextToTextCompletion(v *TextToTextCompletionTuningParams)
func (*GetOptionsResponse) SetTrainDatasets ¶
func (m *GetOptionsResponse) SetTrainDatasets(v []*TuningRequest_WeightedDataset)
func (*GetOptionsResponse) SetTuningParams ¶
func (m *GetOptionsResponse) SetTuningParams(v GetOptionsResponse_TuningParams)
func (*GetOptionsResponse) SetValidationDatasets ¶
func (m *GetOptionsResponse) SetValidationDatasets(v []*TuningRequest_WeightedDataset)
func (*GetOptionsResponse) String ¶
func (x *GetOptionsResponse) String() string
type GetOptionsResponse_TextClassificationMulticlass ¶
type GetOptionsResponse_TextClassificationMulticlass struct {
TextClassificationMulticlass *TextClassificationMulticlassParams `protobuf:"bytes,102,opt,name=text_classification_multiclass,json=textClassificationMulticlass,proto3,oneof"`
}
type GetOptionsResponse_TextClassificationMultilabel ¶
type GetOptionsResponse_TextClassificationMultilabel struct {
TextClassificationMultilabel *TextClassificationMultilabelParams `protobuf:"bytes,101,opt,name=text_classification_multilabel,json=textClassificationMultilabel,proto3,oneof"`
}
type GetOptionsResponse_TextToTextCompletion ¶
type GetOptionsResponse_TextToTextCompletion struct {
TextToTextCompletion *TextToTextCompletionTuningParams `protobuf:"bytes,100,opt,name=text_to_text_completion,json=textToTextCompletion,proto3,oneof"`
}
type GetOptionsResponse_TuningParams ¶
type GetOptionsResponse_TuningParams = isGetOptionsResponse_TuningParams
type ListTuningsRequest ¶
type ListTuningsRequest struct { // Required field. ID of the folder to list tunings in. FolderId string `protobuf:"bytes,1,opt,name=folder_id,json=folderId,proto3" json:"folder_id,omitempty"` // Maximum number of tuning tasks to return per page. PageSize int64 `protobuf:"varint,2,opt,name=page_size,json=pageSize,proto3" json:"page_size,omitempty"` // Token to retrieve the next page of results. PageToken string `protobuf:"bytes,3,opt,name=page_token,json=pageToken,proto3" json:"page_token,omitempty"` Status TuningTask_Status `protobuf:"varint,4,opt,name=status,proto3,enum=yandex.cloud.ai.tuning.v1.TuningTask_Status" json:"status,omitempty"` // contains filtered or unexported fields }
func (*ListTuningsRequest) Descriptor
deprecated
func (*ListTuningsRequest) Descriptor() ([]byte, []int)
Deprecated: Use ListTuningsRequest.ProtoReflect.Descriptor instead.
func (*ListTuningsRequest) GetFolderId ¶
func (x *ListTuningsRequest) GetFolderId() string
func (*ListTuningsRequest) GetPageSize ¶
func (x *ListTuningsRequest) GetPageSize() int64
func (*ListTuningsRequest) GetPageToken ¶
func (x *ListTuningsRequest) GetPageToken() string
func (*ListTuningsRequest) GetStatus ¶
func (x *ListTuningsRequest) GetStatus() TuningTask_Status
func (*ListTuningsRequest) ProtoMessage ¶
func (*ListTuningsRequest) ProtoMessage()
func (*ListTuningsRequest) ProtoReflect ¶
func (x *ListTuningsRequest) ProtoReflect() protoreflect.Message
func (*ListTuningsRequest) Reset ¶
func (x *ListTuningsRequest) Reset()
func (*ListTuningsRequest) SetFolderId ¶
func (m *ListTuningsRequest) SetFolderId(v string)
func (*ListTuningsRequest) SetPageSize ¶
func (m *ListTuningsRequest) SetPageSize(v int64)
func (*ListTuningsRequest) SetPageToken ¶
func (m *ListTuningsRequest) SetPageToken(v string)
func (*ListTuningsRequest) SetStatus ¶
func (m *ListTuningsRequest) SetStatus(v TuningTask_Status)
func (*ListTuningsRequest) String ¶
func (x *ListTuningsRequest) String() string
type ListTuningsResponse ¶
type ListTuningsResponse struct { // List of tuning tasks in the specified folder. TuningTasks []*TuningTask `protobuf:"bytes,1,rep,name=tuning_tasks,json=tuningTasks,proto3" json:"tuning_tasks,omitempty"` // Token to retrieve the next page of results. NextPageToken string `protobuf:"bytes,2,opt,name=next_page_token,json=nextPageToken,proto3" json:"next_page_token,omitempty"` // contains filtered or unexported fields }
func (*ListTuningsResponse) Descriptor
deprecated
func (*ListTuningsResponse) Descriptor() ([]byte, []int)
Deprecated: Use ListTuningsResponse.ProtoReflect.Descriptor instead.
func (*ListTuningsResponse) GetNextPageToken ¶
func (x *ListTuningsResponse) GetNextPageToken() string
func (*ListTuningsResponse) GetTuningTasks ¶
func (x *ListTuningsResponse) GetTuningTasks() []*TuningTask
func (*ListTuningsResponse) ProtoMessage ¶
func (*ListTuningsResponse) ProtoMessage()
func (*ListTuningsResponse) ProtoReflect ¶
func (x *ListTuningsResponse) ProtoReflect() protoreflect.Message
func (*ListTuningsResponse) Reset ¶
func (x *ListTuningsResponse) Reset()
func (*ListTuningsResponse) SetNextPageToken ¶
func (m *ListTuningsResponse) SetNextPageToken(v string)
func (*ListTuningsResponse) SetTuningTasks ¶
func (m *ListTuningsResponse) SetTuningTasks(v []*TuningTask)
func (*ListTuningsResponse) String ¶
func (x *ListTuningsResponse) String() string
type OptimizerAdamw ¶
type OptimizerAdamw struct { Beta1 float64 `protobuf:"fixed64,1,opt,name=beta1,proto3" json:"beta1,omitempty"` Beta2 float64 `protobuf:"fixed64,2,opt,name=beta2,proto3" json:"beta2,omitempty"` Eps float64 `protobuf:"fixed64,3,opt,name=eps,proto3" json:"eps,omitempty"` WeightDecay float64 `protobuf:"fixed64,4,opt,name=weight_decay,json=weightDecay,proto3" json:"weight_decay,omitempty"` // contains filtered or unexported fields }
func (*OptimizerAdamw) Descriptor
deprecated
func (*OptimizerAdamw) Descriptor() ([]byte, []int)
Deprecated: Use OptimizerAdamw.ProtoReflect.Descriptor instead.
func (*OptimizerAdamw) GetBeta1 ¶
func (x *OptimizerAdamw) GetBeta1() float64
func (*OptimizerAdamw) GetBeta2 ¶
func (x *OptimizerAdamw) GetBeta2() float64
func (*OptimizerAdamw) GetEps ¶
func (x *OptimizerAdamw) GetEps() float64
func (*OptimizerAdamw) GetWeightDecay ¶
func (x *OptimizerAdamw) GetWeightDecay() float64
func (*OptimizerAdamw) ProtoMessage ¶
func (*OptimizerAdamw) ProtoMessage()
func (*OptimizerAdamw) ProtoReflect ¶
func (x *OptimizerAdamw) ProtoReflect() protoreflect.Message
func (*OptimizerAdamw) Reset ¶
func (x *OptimizerAdamw) Reset()
func (*OptimizerAdamw) SetBeta1 ¶
func (m *OptimizerAdamw) SetBeta1(v float64)
func (*OptimizerAdamw) SetBeta2 ¶
func (m *OptimizerAdamw) SetBeta2(v float64)
func (*OptimizerAdamw) SetEps ¶
func (m *OptimizerAdamw) SetEps(v float64)
func (*OptimizerAdamw) SetWeightDecay ¶
func (m *OptimizerAdamw) SetWeightDecay(v float64)
func (*OptimizerAdamw) String ¶
func (x *OptimizerAdamw) String() string
type SchedulerConstant ¶
type SchedulerConstant struct {
// contains filtered or unexported fields
}
func (*SchedulerConstant) Descriptor
deprecated
func (*SchedulerConstant) Descriptor() ([]byte, []int)
Deprecated: Use SchedulerConstant.ProtoReflect.Descriptor instead.
func (*SchedulerConstant) ProtoMessage ¶
func (*SchedulerConstant) ProtoMessage()
func (*SchedulerConstant) ProtoReflect ¶
func (x *SchedulerConstant) ProtoReflect() protoreflect.Message
func (*SchedulerConstant) Reset ¶
func (x *SchedulerConstant) Reset()
func (*SchedulerConstant) String ¶
func (x *SchedulerConstant) String() string
type SchedulerCosine ¶
type SchedulerCosine struct { MinLr float64 `protobuf:"fixed64,1,opt,name=min_lr,json=minLr,proto3" json:"min_lr,omitempty"` // contains filtered or unexported fields }
func (*SchedulerCosine) Descriptor
deprecated
func (*SchedulerCosine) Descriptor() ([]byte, []int)
Deprecated: Use SchedulerCosine.ProtoReflect.Descriptor instead.
func (*SchedulerCosine) GetMinLr ¶
func (x *SchedulerCosine) GetMinLr() float64
func (*SchedulerCosine) ProtoMessage ¶
func (*SchedulerCosine) ProtoMessage()
func (*SchedulerCosine) ProtoReflect ¶
func (x *SchedulerCosine) ProtoReflect() protoreflect.Message
func (*SchedulerCosine) Reset ¶
func (x *SchedulerCosine) Reset()
func (*SchedulerCosine) SetMinLr ¶
func (m *SchedulerCosine) SetMinLr(v float64)
func (*SchedulerCosine) String ¶
func (x *SchedulerCosine) String() string
type SchedulerLinear ¶
type SchedulerLinear struct { MinLr float64 `protobuf:"fixed64,1,opt,name=min_lr,json=minLr,proto3" json:"min_lr,omitempty"` // contains filtered or unexported fields }
func (*SchedulerLinear) Descriptor
deprecated
func (*SchedulerLinear) Descriptor() ([]byte, []int)
Deprecated: Use SchedulerLinear.ProtoReflect.Descriptor instead.
func (*SchedulerLinear) GetMinLr ¶
func (x *SchedulerLinear) GetMinLr() float64
func (*SchedulerLinear) ProtoMessage ¶
func (*SchedulerLinear) ProtoMessage()
func (*SchedulerLinear) ProtoReflect ¶
func (x *SchedulerLinear) ProtoReflect() protoreflect.Message
func (*SchedulerLinear) Reset ¶
func (x *SchedulerLinear) Reset()
func (*SchedulerLinear) SetMinLr ¶
func (m *SchedulerLinear) SetMinLr(v float64)
func (*SchedulerLinear) String ¶
func (x *SchedulerLinear) String() string
type TextClassificationMulticlassParams ¶
type TextClassificationMulticlassParams struct { Seed int64 `protobuf:"varint,1,opt,name=seed,proto3" json:"seed,omitempty"` Lr float64 `protobuf:"fixed64,2,opt,name=lr,proto3" json:"lr,omitempty"` NSamples int64 `protobuf:"varint,3,opt,name=n_samples,json=nSamples,proto3" json:"n_samples,omitempty"` AdditionalArguments string `protobuf:"bytes,7,opt,name=additional_arguments,json=additionalArguments,proto3" json:"additional_arguments,omitempty"` // Types that are assignable to TuningType: // // *TextClassificationMulticlassParams_Lora // *TextClassificationMulticlassParams_PromptTune TuningType isTextClassificationMulticlassParams_TuningType `protobuf_oneof:"tuning_type"` Scheduler *TextClassificationMulticlassParams_Scheduler `protobuf:"bytes,200,opt,name=scheduler,proto3" json:"scheduler,omitempty"` Optimizer *TextClassificationMulticlassParams_Optimizer `protobuf:"bytes,201,opt,name=optimizer,proto3" json:"optimizer,omitempty"` // contains filtered or unexported fields }
func (*TextClassificationMulticlassParams) Descriptor
deprecated
func (*TextClassificationMulticlassParams) Descriptor() ([]byte, []int)
Deprecated: Use TextClassificationMulticlassParams.ProtoReflect.Descriptor instead.
func (*TextClassificationMulticlassParams) GetAdditionalArguments ¶
func (x *TextClassificationMulticlassParams) GetAdditionalArguments() string
func (*TextClassificationMulticlassParams) GetLora ¶
func (x *TextClassificationMulticlassParams) GetLora() *TuningTypeLora
func (*TextClassificationMulticlassParams) GetLr ¶
func (x *TextClassificationMulticlassParams) GetLr() float64
func (*TextClassificationMulticlassParams) GetNSamples ¶
func (x *TextClassificationMulticlassParams) GetNSamples() int64
func (*TextClassificationMulticlassParams) GetOptimizer ¶
func (x *TextClassificationMulticlassParams) GetOptimizer() *TextClassificationMulticlassParams_Optimizer
func (*TextClassificationMulticlassParams) GetPromptTune ¶
func (x *TextClassificationMulticlassParams) GetPromptTune() *TuningTypePromptTune
func (*TextClassificationMulticlassParams) GetScheduler ¶
func (x *TextClassificationMulticlassParams) GetScheduler() *TextClassificationMulticlassParams_Scheduler
func (*TextClassificationMulticlassParams) GetSeed ¶
func (x *TextClassificationMulticlassParams) GetSeed() int64
func (*TextClassificationMulticlassParams) GetTuningType ¶
func (m *TextClassificationMulticlassParams) GetTuningType() isTextClassificationMulticlassParams_TuningType
func (*TextClassificationMulticlassParams) ProtoMessage ¶
func (*TextClassificationMulticlassParams) ProtoMessage()
func (*TextClassificationMulticlassParams) ProtoReflect ¶
func (x *TextClassificationMulticlassParams) ProtoReflect() protoreflect.Message
func (*TextClassificationMulticlassParams) Reset ¶
func (x *TextClassificationMulticlassParams) Reset()
func (*TextClassificationMulticlassParams) SetAdditionalArguments ¶
func (m *TextClassificationMulticlassParams) SetAdditionalArguments(v string)
func (*TextClassificationMulticlassParams) SetLora ¶
func (m *TextClassificationMulticlassParams) SetLora(v *TuningTypeLora)
func (*TextClassificationMulticlassParams) SetLr ¶
func (m *TextClassificationMulticlassParams) SetLr(v float64)
func (*TextClassificationMulticlassParams) SetNSamples ¶
func (m *TextClassificationMulticlassParams) SetNSamples(v int64)
func (*TextClassificationMulticlassParams) SetOptimizer ¶
func (m *TextClassificationMulticlassParams) SetOptimizer(v *TextClassificationMulticlassParams_Optimizer)
func (*TextClassificationMulticlassParams) SetPromptTune ¶
func (m *TextClassificationMulticlassParams) SetPromptTune(v *TuningTypePromptTune)
func (*TextClassificationMulticlassParams) SetScheduler ¶
func (m *TextClassificationMulticlassParams) SetScheduler(v *TextClassificationMulticlassParams_Scheduler)
func (*TextClassificationMulticlassParams) SetSeed ¶
func (m *TextClassificationMulticlassParams) SetSeed(v int64)
func (*TextClassificationMulticlassParams) SetTuningType ¶
func (m *TextClassificationMulticlassParams) SetTuningType(v TextClassificationMulticlassParams_TuningType)
func (*TextClassificationMulticlassParams) String ¶
func (x *TextClassificationMulticlassParams) String() string
type TextClassificationMulticlassParams_Lora ¶
type TextClassificationMulticlassParams_Lora struct {
Lora *TuningTypeLora `protobuf:"bytes,100,opt,name=lora,proto3,oneof"`
}
type TextClassificationMulticlassParams_Optimizer ¶
type TextClassificationMulticlassParams_Optimizer struct { // Types that are assignable to Type: // // *TextClassificationMulticlassParams_Optimizer_Adamw Type isTextClassificationMulticlassParams_Optimizer_Type `protobuf_oneof:"type"` // contains filtered or unexported fields }
func (*TextClassificationMulticlassParams_Optimizer) Descriptor
deprecated
func (*TextClassificationMulticlassParams_Optimizer) Descriptor() ([]byte, []int)
Deprecated: Use TextClassificationMulticlassParams_Optimizer.ProtoReflect.Descriptor instead.
func (*TextClassificationMulticlassParams_Optimizer) GetAdamw ¶
func (x *TextClassificationMulticlassParams_Optimizer) GetAdamw() *OptimizerAdamw
func (*TextClassificationMulticlassParams_Optimizer) GetType ¶
func (m *TextClassificationMulticlassParams_Optimizer) GetType() isTextClassificationMulticlassParams_Optimizer_Type
func (*TextClassificationMulticlassParams_Optimizer) ProtoMessage ¶
func (*TextClassificationMulticlassParams_Optimizer) ProtoMessage()
func (*TextClassificationMulticlassParams_Optimizer) ProtoReflect ¶
func (x *TextClassificationMulticlassParams_Optimizer) ProtoReflect() protoreflect.Message
func (*TextClassificationMulticlassParams_Optimizer) Reset ¶
func (x *TextClassificationMulticlassParams_Optimizer) Reset()
func (*TextClassificationMulticlassParams_Optimizer) SetAdamw ¶
func (m *TextClassificationMulticlassParams_Optimizer) SetAdamw(v *OptimizerAdamw)
func (*TextClassificationMulticlassParams_Optimizer) String ¶
func (x *TextClassificationMulticlassParams_Optimizer) String() string
type TextClassificationMulticlassParams_Optimizer_Adamw ¶
type TextClassificationMulticlassParams_Optimizer_Adamw struct {
Adamw *OptimizerAdamw `protobuf:"bytes,1,opt,name=adamw,proto3,oneof"`
}
type TextClassificationMulticlassParams_Optimizer_Type ¶
type TextClassificationMulticlassParams_Optimizer_Type = isTextClassificationMulticlassParams_Optimizer_Type
type TextClassificationMulticlassParams_PromptTune ¶
type TextClassificationMulticlassParams_PromptTune struct {
PromptTune *TuningTypePromptTune `protobuf:"bytes,101,opt,name=prompt_tune,json=promptTune,proto3,oneof"`
}
type TextClassificationMulticlassParams_Scheduler ¶
type TextClassificationMulticlassParams_Scheduler struct { // Types that are assignable to Type: // // *TextClassificationMulticlassParams_Scheduler_Linear // *TextClassificationMulticlassParams_Scheduler_Constant // *TextClassificationMulticlassParams_Scheduler_Cosine Type isTextClassificationMulticlassParams_Scheduler_Type `protobuf_oneof:"type"` WarmupRatio float64 `protobuf:"fixed64,101,opt,name=warmup_ratio,json=warmupRatio,proto3" json:"warmup_ratio,omitempty"` // contains filtered or unexported fields }
func (*TextClassificationMulticlassParams_Scheduler) Descriptor
deprecated
func (*TextClassificationMulticlassParams_Scheduler) Descriptor() ([]byte, []int)
Deprecated: Use TextClassificationMulticlassParams_Scheduler.ProtoReflect.Descriptor instead.
func (*TextClassificationMulticlassParams_Scheduler) GetConstant ¶
func (x *TextClassificationMulticlassParams_Scheduler) GetConstant() *SchedulerConstant
func (*TextClassificationMulticlassParams_Scheduler) GetCosine ¶
func (x *TextClassificationMulticlassParams_Scheduler) GetCosine() *SchedulerCosine
func (*TextClassificationMulticlassParams_Scheduler) GetLinear ¶
func (x *TextClassificationMulticlassParams_Scheduler) GetLinear() *SchedulerLinear
func (*TextClassificationMulticlassParams_Scheduler) GetType ¶
func (m *TextClassificationMulticlassParams_Scheduler) GetType() isTextClassificationMulticlassParams_Scheduler_Type
func (*TextClassificationMulticlassParams_Scheduler) GetWarmupRatio ¶
func (x *TextClassificationMulticlassParams_Scheduler) GetWarmupRatio() float64
func (*TextClassificationMulticlassParams_Scheduler) ProtoMessage ¶
func (*TextClassificationMulticlassParams_Scheduler) ProtoMessage()
func (*TextClassificationMulticlassParams_Scheduler) ProtoReflect ¶
func (x *TextClassificationMulticlassParams_Scheduler) ProtoReflect() protoreflect.Message
func (*TextClassificationMulticlassParams_Scheduler) Reset ¶
func (x *TextClassificationMulticlassParams_Scheduler) Reset()
func (*TextClassificationMulticlassParams_Scheduler) SetConstant ¶
func (m *TextClassificationMulticlassParams_Scheduler) SetConstant(v *SchedulerConstant)
func (*TextClassificationMulticlassParams_Scheduler) SetCosine ¶
func (m *TextClassificationMulticlassParams_Scheduler) SetCosine(v *SchedulerCosine)
func (*TextClassificationMulticlassParams_Scheduler) SetLinear ¶
func (m *TextClassificationMulticlassParams_Scheduler) SetLinear(v *SchedulerLinear)
func (*TextClassificationMulticlassParams_Scheduler) SetWarmupRatio ¶
func (m *TextClassificationMulticlassParams_Scheduler) SetWarmupRatio(v float64)
func (*TextClassificationMulticlassParams_Scheduler) String ¶
func (x *TextClassificationMulticlassParams_Scheduler) String() string
type TextClassificationMulticlassParams_Scheduler_Constant ¶
type TextClassificationMulticlassParams_Scheduler_Constant struct {
Constant *SchedulerConstant `protobuf:"bytes,2,opt,name=constant,proto3,oneof"`
}
type TextClassificationMulticlassParams_Scheduler_Cosine ¶
type TextClassificationMulticlassParams_Scheduler_Cosine struct {
Cosine *SchedulerCosine `protobuf:"bytes,3,opt,name=cosine,proto3,oneof"`
}
type TextClassificationMulticlassParams_Scheduler_Linear ¶
type TextClassificationMulticlassParams_Scheduler_Linear struct {
Linear *SchedulerLinear `protobuf:"bytes,1,opt,name=linear,proto3,oneof"`
}
type TextClassificationMulticlassParams_Scheduler_Type ¶
type TextClassificationMulticlassParams_Scheduler_Type = isTextClassificationMulticlassParams_Scheduler_Type
type TextClassificationMulticlassParams_TuningType ¶
type TextClassificationMulticlassParams_TuningType = isTextClassificationMulticlassParams_TuningType
type TextClassificationMultilabelParams ¶
type TextClassificationMultilabelParams struct { Seed int64 `protobuf:"varint,1,opt,name=seed,proto3" json:"seed,omitempty"` Lr float64 `protobuf:"fixed64,2,opt,name=lr,proto3" json:"lr,omitempty"` NSamples int64 `protobuf:"varint,3,opt,name=n_samples,json=nSamples,proto3" json:"n_samples,omitempty"` AdditionalArguments string `protobuf:"bytes,7,opt,name=additional_arguments,json=additionalArguments,proto3" json:"additional_arguments,omitempty"` // Types that are assignable to TuningType: // // *TextClassificationMultilabelParams_Lora // *TextClassificationMultilabelParams_PromptTune TuningType isTextClassificationMultilabelParams_TuningType `protobuf_oneof:"tuning_type"` Scheduler *TextClassificationMultilabelParams_Scheduler `protobuf:"bytes,200,opt,name=scheduler,proto3" json:"scheduler,omitempty"` Optimizer *TextClassificationMultilabelParams_Optimizer `protobuf:"bytes,201,opt,name=optimizer,proto3" json:"optimizer,omitempty"` // contains filtered or unexported fields }
func (*TextClassificationMultilabelParams) Descriptor
deprecated
func (*TextClassificationMultilabelParams) Descriptor() ([]byte, []int)
Deprecated: Use TextClassificationMultilabelParams.ProtoReflect.Descriptor instead.
func (*TextClassificationMultilabelParams) GetAdditionalArguments ¶
func (x *TextClassificationMultilabelParams) GetAdditionalArguments() string
func (*TextClassificationMultilabelParams) GetLora ¶
func (x *TextClassificationMultilabelParams) GetLora() *TuningTypeLora
func (*TextClassificationMultilabelParams) GetLr ¶
func (x *TextClassificationMultilabelParams) GetLr() float64
func (*TextClassificationMultilabelParams) GetNSamples ¶
func (x *TextClassificationMultilabelParams) GetNSamples() int64
func (*TextClassificationMultilabelParams) GetOptimizer ¶
func (x *TextClassificationMultilabelParams) GetOptimizer() *TextClassificationMultilabelParams_Optimizer
func (*TextClassificationMultilabelParams) GetPromptTune ¶
func (x *TextClassificationMultilabelParams) GetPromptTune() *TuningTypePromptTune
func (*TextClassificationMultilabelParams) GetScheduler ¶
func (x *TextClassificationMultilabelParams) GetScheduler() *TextClassificationMultilabelParams_Scheduler
func (*TextClassificationMultilabelParams) GetSeed ¶
func (x *TextClassificationMultilabelParams) GetSeed() int64
func (*TextClassificationMultilabelParams) GetTuningType ¶
func (m *TextClassificationMultilabelParams) GetTuningType() isTextClassificationMultilabelParams_TuningType
func (*TextClassificationMultilabelParams) ProtoMessage ¶
func (*TextClassificationMultilabelParams) ProtoMessage()
func (*TextClassificationMultilabelParams) ProtoReflect ¶
func (x *TextClassificationMultilabelParams) ProtoReflect() protoreflect.Message
func (*TextClassificationMultilabelParams) Reset ¶
func (x *TextClassificationMultilabelParams) Reset()
func (*TextClassificationMultilabelParams) SetAdditionalArguments ¶
func (m *TextClassificationMultilabelParams) SetAdditionalArguments(v string)
func (*TextClassificationMultilabelParams) SetLora ¶
func (m *TextClassificationMultilabelParams) SetLora(v *TuningTypeLora)
func (*TextClassificationMultilabelParams) SetLr ¶
func (m *TextClassificationMultilabelParams) SetLr(v float64)
func (*TextClassificationMultilabelParams) SetNSamples ¶
func (m *TextClassificationMultilabelParams) SetNSamples(v int64)
func (*TextClassificationMultilabelParams) SetOptimizer ¶
func (m *TextClassificationMultilabelParams) SetOptimizer(v *TextClassificationMultilabelParams_Optimizer)
func (*TextClassificationMultilabelParams) SetPromptTune ¶
func (m *TextClassificationMultilabelParams) SetPromptTune(v *TuningTypePromptTune)
func (*TextClassificationMultilabelParams) SetScheduler ¶
func (m *TextClassificationMultilabelParams) SetScheduler(v *TextClassificationMultilabelParams_Scheduler)
func (*TextClassificationMultilabelParams) SetSeed ¶
func (m *TextClassificationMultilabelParams) SetSeed(v int64)
func (*TextClassificationMultilabelParams) SetTuningType ¶
func (m *TextClassificationMultilabelParams) SetTuningType(v TextClassificationMultilabelParams_TuningType)
func (*TextClassificationMultilabelParams) String ¶
func (x *TextClassificationMultilabelParams) String() string
type TextClassificationMultilabelParams_Lora ¶
type TextClassificationMultilabelParams_Lora struct {
Lora *TuningTypeLora `protobuf:"bytes,100,opt,name=lora,proto3,oneof"`
}
type TextClassificationMultilabelParams_Optimizer ¶
type TextClassificationMultilabelParams_Optimizer struct { // Types that are assignable to Type: // // *TextClassificationMultilabelParams_Optimizer_Adamw Type isTextClassificationMultilabelParams_Optimizer_Type `protobuf_oneof:"type"` // contains filtered or unexported fields }
func (*TextClassificationMultilabelParams_Optimizer) Descriptor
deprecated
func (*TextClassificationMultilabelParams_Optimizer) Descriptor() ([]byte, []int)
Deprecated: Use TextClassificationMultilabelParams_Optimizer.ProtoReflect.Descriptor instead.
func (*TextClassificationMultilabelParams_Optimizer) GetAdamw ¶
func (x *TextClassificationMultilabelParams_Optimizer) GetAdamw() *OptimizerAdamw
func (*TextClassificationMultilabelParams_Optimizer) GetType ¶
func (m *TextClassificationMultilabelParams_Optimizer) GetType() isTextClassificationMultilabelParams_Optimizer_Type
func (*TextClassificationMultilabelParams_Optimizer) ProtoMessage ¶
func (*TextClassificationMultilabelParams_Optimizer) ProtoMessage()
func (*TextClassificationMultilabelParams_Optimizer) ProtoReflect ¶
func (x *TextClassificationMultilabelParams_Optimizer) ProtoReflect() protoreflect.Message
func (*TextClassificationMultilabelParams_Optimizer) Reset ¶
func (x *TextClassificationMultilabelParams_Optimizer) Reset()
func (*TextClassificationMultilabelParams_Optimizer) SetAdamw ¶
func (m *TextClassificationMultilabelParams_Optimizer) SetAdamw(v *OptimizerAdamw)
func (*TextClassificationMultilabelParams_Optimizer) String ¶
func (x *TextClassificationMultilabelParams_Optimizer) String() string
type TextClassificationMultilabelParams_Optimizer_Adamw ¶
type TextClassificationMultilabelParams_Optimizer_Adamw struct {
Adamw *OptimizerAdamw `protobuf:"bytes,1,opt,name=adamw,proto3,oneof"`
}
type TextClassificationMultilabelParams_Optimizer_Type ¶
type TextClassificationMultilabelParams_Optimizer_Type = isTextClassificationMultilabelParams_Optimizer_Type
type TextClassificationMultilabelParams_PromptTune ¶
type TextClassificationMultilabelParams_PromptTune struct {
PromptTune *TuningTypePromptTune `protobuf:"bytes,101,opt,name=prompt_tune,json=promptTune,proto3,oneof"`
}
type TextClassificationMultilabelParams_Scheduler ¶
type TextClassificationMultilabelParams_Scheduler struct { // Types that are assignable to Type: // // *TextClassificationMultilabelParams_Scheduler_Linear // *TextClassificationMultilabelParams_Scheduler_Constant // *TextClassificationMultilabelParams_Scheduler_Cosine Type isTextClassificationMultilabelParams_Scheduler_Type `protobuf_oneof:"type"` WarmupRatio float64 `protobuf:"fixed64,101,opt,name=warmup_ratio,json=warmupRatio,proto3" json:"warmup_ratio,omitempty"` // contains filtered or unexported fields }
func (*TextClassificationMultilabelParams_Scheduler) Descriptor
deprecated
func (*TextClassificationMultilabelParams_Scheduler) Descriptor() ([]byte, []int)
Deprecated: Use TextClassificationMultilabelParams_Scheduler.ProtoReflect.Descriptor instead.
func (*TextClassificationMultilabelParams_Scheduler) GetConstant ¶
func (x *TextClassificationMultilabelParams_Scheduler) GetConstant() *SchedulerConstant
func (*TextClassificationMultilabelParams_Scheduler) GetCosine ¶
func (x *TextClassificationMultilabelParams_Scheduler) GetCosine() *SchedulerCosine
func (*TextClassificationMultilabelParams_Scheduler) GetLinear ¶
func (x *TextClassificationMultilabelParams_Scheduler) GetLinear() *SchedulerLinear
func (*TextClassificationMultilabelParams_Scheduler) GetType ¶
func (m *TextClassificationMultilabelParams_Scheduler) GetType() isTextClassificationMultilabelParams_Scheduler_Type
func (*TextClassificationMultilabelParams_Scheduler) GetWarmupRatio ¶
func (x *TextClassificationMultilabelParams_Scheduler) GetWarmupRatio() float64
func (*TextClassificationMultilabelParams_Scheduler) ProtoMessage ¶
func (*TextClassificationMultilabelParams_Scheduler) ProtoMessage()
func (*TextClassificationMultilabelParams_Scheduler) ProtoReflect ¶
func (x *TextClassificationMultilabelParams_Scheduler) ProtoReflect() protoreflect.Message
func (*TextClassificationMultilabelParams_Scheduler) Reset ¶
func (x *TextClassificationMultilabelParams_Scheduler) Reset()
func (*TextClassificationMultilabelParams_Scheduler) SetConstant ¶
func (m *TextClassificationMultilabelParams_Scheduler) SetConstant(v *SchedulerConstant)
func (*TextClassificationMultilabelParams_Scheduler) SetCosine ¶
func (m *TextClassificationMultilabelParams_Scheduler) SetCosine(v *SchedulerCosine)
func (*TextClassificationMultilabelParams_Scheduler) SetLinear ¶
func (m *TextClassificationMultilabelParams_Scheduler) SetLinear(v *SchedulerLinear)
func (*TextClassificationMultilabelParams_Scheduler) SetWarmupRatio ¶
func (m *TextClassificationMultilabelParams_Scheduler) SetWarmupRatio(v float64)
func (*TextClassificationMultilabelParams_Scheduler) String ¶
func (x *TextClassificationMultilabelParams_Scheduler) String() string
type TextClassificationMultilabelParams_Scheduler_Constant ¶
type TextClassificationMultilabelParams_Scheduler_Constant struct {
Constant *SchedulerConstant `protobuf:"bytes,2,opt,name=constant,proto3,oneof"`
}
type TextClassificationMultilabelParams_Scheduler_Cosine ¶
type TextClassificationMultilabelParams_Scheduler_Cosine struct {
Cosine *SchedulerCosine `protobuf:"bytes,3,opt,name=cosine,proto3,oneof"`
}
type TextClassificationMultilabelParams_Scheduler_Linear ¶
type TextClassificationMultilabelParams_Scheduler_Linear struct {
Linear *SchedulerLinear `protobuf:"bytes,1,opt,name=linear,proto3,oneof"`
}
type TextClassificationMultilabelParams_Scheduler_Type ¶
type TextClassificationMultilabelParams_Scheduler_Type = isTextClassificationMultilabelParams_Scheduler_Type
type TextClassificationMultilabelParams_TuningType ¶
type TextClassificationMultilabelParams_TuningType = isTextClassificationMultilabelParams_TuningType
type TextToTextCompletionTuningParams ¶
type TextToTextCompletionTuningParams struct { Seed int64 `protobuf:"varint,1,opt,name=seed,proto3" json:"seed,omitempty"` Lr float64 `protobuf:"fixed64,2,opt,name=lr,proto3" json:"lr,omitempty"` NSamples int64 `protobuf:"varint,3,opt,name=n_samples,json=nSamples,proto3" json:"n_samples,omitempty"` AdditionalArguments string `protobuf:"bytes,7,opt,name=additional_arguments,json=additionalArguments,proto3" json:"additional_arguments,omitempty"` // Types that are assignable to TuningType: // // *TextToTextCompletionTuningParams_Lora // *TextToTextCompletionTuningParams_PromptTune TuningType isTextToTextCompletionTuningParams_TuningType `protobuf_oneof:"tuning_type"` Scheduler *TextToTextCompletionTuningParams_Scheduler `protobuf:"bytes,200,opt,name=scheduler,proto3" json:"scheduler,omitempty"` Optimizer *TextToTextCompletionTuningParams_Optimizer `protobuf:"bytes,201,opt,name=optimizer,proto3" json:"optimizer,omitempty"` // contains filtered or unexported fields }
func (*TextToTextCompletionTuningParams) Descriptor
deprecated
func (*TextToTextCompletionTuningParams) Descriptor() ([]byte, []int)
Deprecated: Use TextToTextCompletionTuningParams.ProtoReflect.Descriptor instead.
func (*TextToTextCompletionTuningParams) GetAdditionalArguments ¶
func (x *TextToTextCompletionTuningParams) GetAdditionalArguments() string
func (*TextToTextCompletionTuningParams) GetLora ¶
func (x *TextToTextCompletionTuningParams) GetLora() *TuningTypeLora
func (*TextToTextCompletionTuningParams) GetLr ¶
func (x *TextToTextCompletionTuningParams) GetLr() float64
func (*TextToTextCompletionTuningParams) GetNSamples ¶
func (x *TextToTextCompletionTuningParams) GetNSamples() int64
func (*TextToTextCompletionTuningParams) GetOptimizer ¶
func (x *TextToTextCompletionTuningParams) GetOptimizer() *TextToTextCompletionTuningParams_Optimizer
func (*TextToTextCompletionTuningParams) GetPromptTune ¶
func (x *TextToTextCompletionTuningParams) GetPromptTune() *TuningTypePromptTune
func (*TextToTextCompletionTuningParams) GetScheduler ¶
func (x *TextToTextCompletionTuningParams) GetScheduler() *TextToTextCompletionTuningParams_Scheduler
func (*TextToTextCompletionTuningParams) GetSeed ¶
func (x *TextToTextCompletionTuningParams) GetSeed() int64
func (*TextToTextCompletionTuningParams) GetTuningType ¶
func (m *TextToTextCompletionTuningParams) GetTuningType() isTextToTextCompletionTuningParams_TuningType
func (*TextToTextCompletionTuningParams) ProtoMessage ¶
func (*TextToTextCompletionTuningParams) ProtoMessage()
func (*TextToTextCompletionTuningParams) ProtoReflect ¶
func (x *TextToTextCompletionTuningParams) ProtoReflect() protoreflect.Message
func (*TextToTextCompletionTuningParams) Reset ¶
func (x *TextToTextCompletionTuningParams) Reset()
func (*TextToTextCompletionTuningParams) SetAdditionalArguments ¶
func (m *TextToTextCompletionTuningParams) SetAdditionalArguments(v string)
func (*TextToTextCompletionTuningParams) SetLora ¶
func (m *TextToTextCompletionTuningParams) SetLora(v *TuningTypeLora)
func (*TextToTextCompletionTuningParams) SetLr ¶
func (m *TextToTextCompletionTuningParams) SetLr(v float64)
func (*TextToTextCompletionTuningParams) SetNSamples ¶
func (m *TextToTextCompletionTuningParams) SetNSamples(v int64)
func (*TextToTextCompletionTuningParams) SetOptimizer ¶
func (m *TextToTextCompletionTuningParams) SetOptimizer(v *TextToTextCompletionTuningParams_Optimizer)
func (*TextToTextCompletionTuningParams) SetPromptTune ¶
func (m *TextToTextCompletionTuningParams) SetPromptTune(v *TuningTypePromptTune)
func (*TextToTextCompletionTuningParams) SetScheduler ¶
func (m *TextToTextCompletionTuningParams) SetScheduler(v *TextToTextCompletionTuningParams_Scheduler)
func (*TextToTextCompletionTuningParams) SetSeed ¶
func (m *TextToTextCompletionTuningParams) SetSeed(v int64)
func (*TextToTextCompletionTuningParams) SetTuningType ¶
func (m *TextToTextCompletionTuningParams) SetTuningType(v TextToTextCompletionTuningParams_TuningType)
func (*TextToTextCompletionTuningParams) String ¶
func (x *TextToTextCompletionTuningParams) String() string
type TextToTextCompletionTuningParams_Lora ¶
type TextToTextCompletionTuningParams_Lora struct {
Lora *TuningTypeLora `protobuf:"bytes,100,opt,name=lora,proto3,oneof"`
}
type TextToTextCompletionTuningParams_Optimizer ¶
type TextToTextCompletionTuningParams_Optimizer struct { // Types that are assignable to Type: // // *TextToTextCompletionTuningParams_Optimizer_Adamw Type isTextToTextCompletionTuningParams_Optimizer_Type `protobuf_oneof:"type"` // contains filtered or unexported fields }
func (*TextToTextCompletionTuningParams_Optimizer) Descriptor
deprecated
func (*TextToTextCompletionTuningParams_Optimizer) Descriptor() ([]byte, []int)
Deprecated: Use TextToTextCompletionTuningParams_Optimizer.ProtoReflect.Descriptor instead.
func (*TextToTextCompletionTuningParams_Optimizer) GetAdamw ¶
func (x *TextToTextCompletionTuningParams_Optimizer) GetAdamw() *OptimizerAdamw
func (*TextToTextCompletionTuningParams_Optimizer) GetType ¶
func (m *TextToTextCompletionTuningParams_Optimizer) GetType() isTextToTextCompletionTuningParams_Optimizer_Type
func (*TextToTextCompletionTuningParams_Optimizer) ProtoMessage ¶
func (*TextToTextCompletionTuningParams_Optimizer) ProtoMessage()
func (*TextToTextCompletionTuningParams_Optimizer) ProtoReflect ¶
func (x *TextToTextCompletionTuningParams_Optimizer) ProtoReflect() protoreflect.Message
func (*TextToTextCompletionTuningParams_Optimizer) Reset ¶
func (x *TextToTextCompletionTuningParams_Optimizer) Reset()
func (*TextToTextCompletionTuningParams_Optimizer) SetAdamw ¶
func (m *TextToTextCompletionTuningParams_Optimizer) SetAdamw(v *OptimizerAdamw)
func (*TextToTextCompletionTuningParams_Optimizer) String ¶
func (x *TextToTextCompletionTuningParams_Optimizer) String() string
type TextToTextCompletionTuningParams_Optimizer_Adamw ¶
type TextToTextCompletionTuningParams_Optimizer_Adamw struct {
Adamw *OptimizerAdamw `protobuf:"bytes,1,opt,name=adamw,proto3,oneof"`
}
type TextToTextCompletionTuningParams_Optimizer_Type ¶
type TextToTextCompletionTuningParams_Optimizer_Type = isTextToTextCompletionTuningParams_Optimizer_Type
type TextToTextCompletionTuningParams_PromptTune ¶
type TextToTextCompletionTuningParams_PromptTune struct {
PromptTune *TuningTypePromptTune `protobuf:"bytes,101,opt,name=prompt_tune,json=promptTune,proto3,oneof"`
}
type TextToTextCompletionTuningParams_Scheduler ¶
type TextToTextCompletionTuningParams_Scheduler struct { // Types that are assignable to Type: // // *TextToTextCompletionTuningParams_Scheduler_Linear // *TextToTextCompletionTuningParams_Scheduler_Constant // *TextToTextCompletionTuningParams_Scheduler_Cosine Type isTextToTextCompletionTuningParams_Scheduler_Type `protobuf_oneof:"type"` WarmupRatio float64 `protobuf:"fixed64,101,opt,name=warmup_ratio,json=warmupRatio,proto3" json:"warmup_ratio,omitempty"` // contains filtered or unexported fields }
func (*TextToTextCompletionTuningParams_Scheduler) Descriptor
deprecated
func (*TextToTextCompletionTuningParams_Scheduler) Descriptor() ([]byte, []int)
Deprecated: Use TextToTextCompletionTuningParams_Scheduler.ProtoReflect.Descriptor instead.
func (*TextToTextCompletionTuningParams_Scheduler) GetConstant ¶
func (x *TextToTextCompletionTuningParams_Scheduler) GetConstant() *SchedulerConstant
func (*TextToTextCompletionTuningParams_Scheduler) GetCosine ¶
func (x *TextToTextCompletionTuningParams_Scheduler) GetCosine() *SchedulerCosine
func (*TextToTextCompletionTuningParams_Scheduler) GetLinear ¶
func (x *TextToTextCompletionTuningParams_Scheduler) GetLinear() *SchedulerLinear
func (*TextToTextCompletionTuningParams_Scheduler) GetType ¶
func (m *TextToTextCompletionTuningParams_Scheduler) GetType() isTextToTextCompletionTuningParams_Scheduler_Type
func (*TextToTextCompletionTuningParams_Scheduler) GetWarmupRatio ¶
func (x *TextToTextCompletionTuningParams_Scheduler) GetWarmupRatio() float64
func (*TextToTextCompletionTuningParams_Scheduler) ProtoMessage ¶
func (*TextToTextCompletionTuningParams_Scheduler) ProtoMessage()
func (*TextToTextCompletionTuningParams_Scheduler) ProtoReflect ¶
func (x *TextToTextCompletionTuningParams_Scheduler) ProtoReflect() protoreflect.Message
func (*TextToTextCompletionTuningParams_Scheduler) Reset ¶
func (x *TextToTextCompletionTuningParams_Scheduler) Reset()
func (*TextToTextCompletionTuningParams_Scheduler) SetConstant ¶
func (m *TextToTextCompletionTuningParams_Scheduler) SetConstant(v *SchedulerConstant)
func (*TextToTextCompletionTuningParams_Scheduler) SetCosine ¶
func (m *TextToTextCompletionTuningParams_Scheduler) SetCosine(v *SchedulerCosine)
func (*TextToTextCompletionTuningParams_Scheduler) SetLinear ¶
func (m *TextToTextCompletionTuningParams_Scheduler) SetLinear(v *SchedulerLinear)
func (*TextToTextCompletionTuningParams_Scheduler) SetWarmupRatio ¶
func (m *TextToTextCompletionTuningParams_Scheduler) SetWarmupRatio(v float64)
func (*TextToTextCompletionTuningParams_Scheduler) String ¶
func (x *TextToTextCompletionTuningParams_Scheduler) String() string
type TextToTextCompletionTuningParams_Scheduler_Constant ¶
type TextToTextCompletionTuningParams_Scheduler_Constant struct {
Constant *SchedulerConstant `protobuf:"bytes,2,opt,name=constant,proto3,oneof"`
}
type TextToTextCompletionTuningParams_Scheduler_Cosine ¶
type TextToTextCompletionTuningParams_Scheduler_Cosine struct {
Cosine *SchedulerCosine `protobuf:"bytes,3,opt,name=cosine,proto3,oneof"`
}
type TextToTextCompletionTuningParams_Scheduler_Linear ¶
type TextToTextCompletionTuningParams_Scheduler_Linear struct {
Linear *SchedulerLinear `protobuf:"bytes,1,opt,name=linear,proto3,oneof"`
}
type TextToTextCompletionTuningParams_Scheduler_Type ¶
type TextToTextCompletionTuningParams_Scheduler_Type = isTextToTextCompletionTuningParams_Scheduler_Type
type TextToTextCompletionTuningParams_TuningType ¶
type TextToTextCompletionTuningParams_TuningType = isTextToTextCompletionTuningParams_TuningType
type TuningMetadata ¶
type TuningMetadata struct { TuningTaskId string `protobuf:"bytes,1,opt,name=tuning_task_id,json=tuningTaskId,proto3" json:"tuning_task_id,omitempty"` Status TuningTask_Status `protobuf:"varint,2,opt,name=status,proto3,enum=yandex.cloud.ai.tuning.v1.TuningTask_Status" json:"status,omitempty"` TotalSteps int64 `protobuf:"varint,3,opt,name=total_steps,json=totalSteps,proto3" json:"total_steps,omitempty"` CurrentStep int64 `protobuf:"varint,4,opt,name=current_step,json=currentStep,proto3" json:"current_step,omitempty"` // contains filtered or unexported fields }
func (*TuningMetadata) Descriptor
deprecated
func (*TuningMetadata) Descriptor() ([]byte, []int)
Deprecated: Use TuningMetadata.ProtoReflect.Descriptor instead.
func (*TuningMetadata) GetCurrentStep ¶
func (x *TuningMetadata) GetCurrentStep() int64
func (*TuningMetadata) GetStatus ¶
func (x *TuningMetadata) GetStatus() TuningTask_Status
func (*TuningMetadata) GetTotalSteps ¶
func (x *TuningMetadata) GetTotalSteps() int64
func (*TuningMetadata) GetTuningTaskId ¶
func (x *TuningMetadata) GetTuningTaskId() string
func (*TuningMetadata) ProtoMessage ¶
func (*TuningMetadata) ProtoMessage()
func (*TuningMetadata) ProtoReflect ¶
func (x *TuningMetadata) ProtoReflect() protoreflect.Message
func (*TuningMetadata) Reset ¶
func (x *TuningMetadata) Reset()
func (*TuningMetadata) SetCurrentStep ¶
func (m *TuningMetadata) SetCurrentStep(v int64)
func (*TuningMetadata) SetStatus ¶
func (m *TuningMetadata) SetStatus(v TuningTask_Status)
func (*TuningMetadata) SetTotalSteps ¶
func (m *TuningMetadata) SetTotalSteps(v int64)
func (*TuningMetadata) SetTuningTaskId ¶
func (m *TuningMetadata) SetTuningTaskId(v string)
func (*TuningMetadata) String ¶
func (x *TuningMetadata) String() string
type TuningRequest ¶
type TuningRequest struct { // Format like a gpt://{folder_id}/yandex-gpt/latest BaseModelUri string `protobuf:"bytes,1,opt,name=base_model_uri,json=baseModelUri,proto3" json:"base_model_uri,omitempty"` TrainDatasets []*TuningRequest_WeightedDataset `protobuf:"bytes,2,rep,name=train_datasets,json=trainDatasets,proto3" json:"train_datasets,omitempty"` ValidationDatasets []*TuningRequest_WeightedDataset `protobuf:"bytes,3,rep,name=validation_datasets,json=validationDatasets,proto3" json:"validation_datasets,omitempty"` // Types that are assignable to TuningParams: // // *TuningRequest_TextToTextCompletion // *TuningRequest_TextClassificationMultilabel // *TuningRequest_TextClassificationMulticlass TuningParams isTuningRequest_TuningParams `protobuf_oneof:"tuning_params"` // common params Name string `protobuf:"bytes,200,opt,name=name,proto3" json:"name,omitempty"` Description string `protobuf:"bytes,201,opt,name=description,proto3" json:"description,omitempty"` Labels map[string]string `` /* 155-byte string literal not displayed */ // contains filtered or unexported fields }
func (*TuningRequest) Descriptor
deprecated
func (*TuningRequest) Descriptor() ([]byte, []int)
Deprecated: Use TuningRequest.ProtoReflect.Descriptor instead.
func (*TuningRequest) GetBaseModelUri ¶
func (x *TuningRequest) GetBaseModelUri() string
func (*TuningRequest) GetDescription ¶
func (x *TuningRequest) GetDescription() string
func (*TuningRequest) GetLabels ¶
func (x *TuningRequest) GetLabels() map[string]string
func (*TuningRequest) GetName ¶
func (x *TuningRequest) GetName() string
func (*TuningRequest) GetTextClassificationMulticlass ¶
func (x *TuningRequest) GetTextClassificationMulticlass() *TextClassificationMulticlassParams
func (*TuningRequest) GetTextClassificationMultilabel ¶
func (x *TuningRequest) GetTextClassificationMultilabel() *TextClassificationMultilabelParams
func (*TuningRequest) GetTextToTextCompletion ¶
func (x *TuningRequest) GetTextToTextCompletion() *TextToTextCompletionTuningParams
func (*TuningRequest) GetTrainDatasets ¶
func (x *TuningRequest) GetTrainDatasets() []*TuningRequest_WeightedDataset
func (*TuningRequest) GetTuningParams ¶
func (m *TuningRequest) GetTuningParams() isTuningRequest_TuningParams
func (*TuningRequest) GetValidationDatasets ¶
func (x *TuningRequest) GetValidationDatasets() []*TuningRequest_WeightedDataset
func (*TuningRequest) ProtoMessage ¶
func (*TuningRequest) ProtoMessage()
func (*TuningRequest) ProtoReflect ¶
func (x *TuningRequest) ProtoReflect() protoreflect.Message
func (*TuningRequest) Reset ¶
func (x *TuningRequest) Reset()
func (*TuningRequest) SetBaseModelUri ¶
func (m *TuningRequest) SetBaseModelUri(v string)
func (*TuningRequest) SetDescription ¶
func (m *TuningRequest) SetDescription(v string)
func (*TuningRequest) SetLabels ¶
func (m *TuningRequest) SetLabels(v map[string]string)
func (*TuningRequest) SetName ¶
func (m *TuningRequest) SetName(v string)
func (*TuningRequest) SetTextClassificationMulticlass ¶
func (m *TuningRequest) SetTextClassificationMulticlass(v *TextClassificationMulticlassParams)
func (*TuningRequest) SetTextClassificationMultilabel ¶
func (m *TuningRequest) SetTextClassificationMultilabel(v *TextClassificationMultilabelParams)
func (*TuningRequest) SetTextToTextCompletion ¶
func (m *TuningRequest) SetTextToTextCompletion(v *TextToTextCompletionTuningParams)
func (*TuningRequest) SetTrainDatasets ¶
func (m *TuningRequest) SetTrainDatasets(v []*TuningRequest_WeightedDataset)
func (*TuningRequest) SetTuningParams ¶
func (m *TuningRequest) SetTuningParams(v TuningRequest_TuningParams)
func (*TuningRequest) SetValidationDatasets ¶
func (m *TuningRequest) SetValidationDatasets(v []*TuningRequest_WeightedDataset)
func (*TuningRequest) String ¶
func (x *TuningRequest) String() string
type TuningRequest_TextClassificationMulticlass ¶
type TuningRequest_TextClassificationMulticlass struct {
TextClassificationMulticlass *TextClassificationMulticlassParams `protobuf:"bytes,102,opt,name=text_classification_multiclass,json=textClassificationMulticlass,proto3,oneof"`
}
type TuningRequest_TextClassificationMultilabel ¶
type TuningRequest_TextClassificationMultilabel struct {
TextClassificationMultilabel *TextClassificationMultilabelParams `protobuf:"bytes,101,opt,name=text_classification_multilabel,json=textClassificationMultilabel,proto3,oneof"`
}
type TuningRequest_TextToTextCompletion ¶
type TuningRequest_TextToTextCompletion struct {
TextToTextCompletion *TextToTextCompletionTuningParams `protobuf:"bytes,100,opt,name=text_to_text_completion,json=textToTextCompletion,proto3,oneof"`
}
type TuningRequest_TuningParams ¶
type TuningRequest_TuningParams = isTuningRequest_TuningParams
type TuningRequest_WeightedDataset ¶
type TuningRequest_WeightedDataset struct { DatasetId string `protobuf:"bytes,1,opt,name=dataset_id,json=datasetId,proto3" json:"dataset_id,omitempty"` Weight float64 `protobuf:"fixed64,2,opt,name=weight,proto3" json:"weight,omitempty"` // contains filtered or unexported fields }
func (*TuningRequest_WeightedDataset) Descriptor
deprecated
func (*TuningRequest_WeightedDataset) Descriptor() ([]byte, []int)
Deprecated: Use TuningRequest_WeightedDataset.ProtoReflect.Descriptor instead.
func (*TuningRequest_WeightedDataset) GetDatasetId ¶
func (x *TuningRequest_WeightedDataset) GetDatasetId() string
func (*TuningRequest_WeightedDataset) GetWeight ¶
func (x *TuningRequest_WeightedDataset) GetWeight() float64
func (*TuningRequest_WeightedDataset) ProtoMessage ¶
func (*TuningRequest_WeightedDataset) ProtoMessage()
func (*TuningRequest_WeightedDataset) ProtoReflect ¶
func (x *TuningRequest_WeightedDataset) ProtoReflect() protoreflect.Message
func (*TuningRequest_WeightedDataset) Reset ¶
func (x *TuningRequest_WeightedDataset) Reset()
func (*TuningRequest_WeightedDataset) SetDatasetId ¶
func (m *TuningRequest_WeightedDataset) SetDatasetId(v string)
func (*TuningRequest_WeightedDataset) SetWeight ¶
func (m *TuningRequest_WeightedDataset) SetWeight(v float64)
func (*TuningRequest_WeightedDataset) String ¶
func (x *TuningRequest_WeightedDataset) String() string
type TuningResponse ¶
type TuningResponse struct { TuningTaskId string `protobuf:"bytes,3,opt,name=tuning_task_id,json=tuningTaskId,proto3" json:"tuning_task_id,omitempty"` Status TuningTask_Status `protobuf:"varint,4,opt,name=status,proto3,enum=yandex.cloud.ai.tuning.v1.TuningTask_Status" json:"status,omitempty"` TargetModelUri string `protobuf:"bytes,5,opt,name=target_model_uri,json=targetModelUri,proto3" json:"target_model_uri,omitempty"` // contains filtered or unexported fields }
func (*TuningResponse) Descriptor
deprecated
func (*TuningResponse) Descriptor() ([]byte, []int)
Deprecated: Use TuningResponse.ProtoReflect.Descriptor instead.
func (*TuningResponse) GetStatus ¶
func (x *TuningResponse) GetStatus() TuningTask_Status
func (*TuningResponse) GetTargetModelUri ¶
func (x *TuningResponse) GetTargetModelUri() string
func (*TuningResponse) GetTuningTaskId ¶
func (x *TuningResponse) GetTuningTaskId() string
func (*TuningResponse) ProtoMessage ¶
func (*TuningResponse) ProtoMessage()
func (*TuningResponse) ProtoReflect ¶
func (x *TuningResponse) ProtoReflect() protoreflect.Message
func (*TuningResponse) Reset ¶
func (x *TuningResponse) Reset()
func (*TuningResponse) SetStatus ¶
func (m *TuningResponse) SetStatus(v TuningTask_Status)
func (*TuningResponse) SetTargetModelUri ¶
func (m *TuningResponse) SetTargetModelUri(v string)
func (*TuningResponse) SetTuningTaskId ¶
func (m *TuningResponse) SetTuningTaskId(v string)
func (*TuningResponse) String ¶
func (x *TuningResponse) String() string
type TuningServiceClient ¶
type TuningServiceClient interface { Tune(ctx context.Context, in *TuningRequest, opts ...grpc.CallOption) (*operation.Operation, error) List(ctx context.Context, in *ListTuningsRequest, opts ...grpc.CallOption) (*ListTuningsResponse, error) Describe(ctx context.Context, in *DescribeTuningRequest, opts ...grpc.CallOption) (*DescribeTuningResponse, error) Cancel(ctx context.Context, in *CancelTuningRequest, opts ...grpc.CallOption) (*CancelTuningResponse, error) GetMetricsUrl(ctx context.Context, in *GetMetricsUrlRequest, opts ...grpc.CallOption) (*GetMetricsUrlResponse, error) GetOptions(ctx context.Context, in *GetOptionsRequest, opts ...grpc.CallOption) (*GetOptionsResponse, error) }
TuningServiceClient is the client API for TuningService service.
For semantics around ctx use and closing/ending streaming RPCs, please refer to https://pkg.go.dev/google.golang.org/grpc/?tab=doc#ClientConn.NewStream.
func NewTuningServiceClient ¶
func NewTuningServiceClient(cc grpc.ClientConnInterface) TuningServiceClient
type TuningServiceServer ¶
type TuningServiceServer interface { Tune(context.Context, *TuningRequest) (*operation.Operation, error) List(context.Context, *ListTuningsRequest) (*ListTuningsResponse, error) Describe(context.Context, *DescribeTuningRequest) (*DescribeTuningResponse, error) Cancel(context.Context, *CancelTuningRequest) (*CancelTuningResponse, error) GetMetricsUrl(context.Context, *GetMetricsUrlRequest) (*GetMetricsUrlResponse, error) GetOptions(context.Context, *GetOptionsRequest) (*GetOptionsResponse, error) }
TuningServiceServer is the server API for TuningService service. All implementations should embed UnimplementedTuningServiceServer for forward compatibility.
type TuningTask ¶
type TuningTask struct { TaskId string `protobuf:"bytes,1,opt,name=task_id,json=taskId,proto3" json:"task_id,omitempty"` OperationId string `protobuf:"bytes,3,opt,name=operation_id,json=operationId,proto3" json:"operation_id,omitempty"` Status TuningTask_Status `protobuf:"varint,4,opt,name=status,proto3,enum=yandex.cloud.ai.tuning.v1.TuningTask_Status" json:"status,omitempty"` FolderId string `protobuf:"bytes,5,opt,name=folder_id,json=folderId,proto3" json:"folder_id,omitempty"` CreatedBy string `protobuf:"bytes,6,opt,name=created_by,json=createdBy,proto3" json:"created_by,omitempty"` CreatedAt *timestamppb.Timestamp `protobuf:"bytes,7,opt,name=created_at,json=createdAt,proto3" json:"created_at,omitempty"` StartedAt *timestamppb.Timestamp `protobuf:"bytes,8,opt,name=started_at,json=startedAt,proto3" json:"started_at,omitempty"` FinishedAt *timestamppb.Timestamp `protobuf:"bytes,9,opt,name=finished_at,json=finishedAt,proto3" json:"finished_at,omitempty"` SourceModelUri string `protobuf:"bytes,10,opt,name=source_model_uri,json=sourceModelUri,proto3" json:"source_model_uri,omitempty"` TargetModelUri string `protobuf:"bytes,11,opt,name=target_model_uri,json=targetModelUri,proto3" json:"target_model_uri,omitempty"` // contains filtered or unexported fields }
func (*TuningTask) Descriptor
deprecated
func (*TuningTask) Descriptor() ([]byte, []int)
Deprecated: Use TuningTask.ProtoReflect.Descriptor instead.
func (*TuningTask) GetCreatedAt ¶
func (x *TuningTask) GetCreatedAt() *timestamppb.Timestamp
func (*TuningTask) GetCreatedBy ¶
func (x *TuningTask) GetCreatedBy() string
func (*TuningTask) GetFinishedAt ¶
func (x *TuningTask) GetFinishedAt() *timestamppb.Timestamp
func (*TuningTask) GetFolderId ¶
func (x *TuningTask) GetFolderId() string
func (*TuningTask) GetOperationId ¶
func (x *TuningTask) GetOperationId() string
func (*TuningTask) GetSourceModelUri ¶
func (x *TuningTask) GetSourceModelUri() string
func (*TuningTask) GetStartedAt ¶
func (x *TuningTask) GetStartedAt() *timestamppb.Timestamp
func (*TuningTask) GetStatus ¶
func (x *TuningTask) GetStatus() TuningTask_Status
func (*TuningTask) GetTargetModelUri ¶
func (x *TuningTask) GetTargetModelUri() string
func (*TuningTask) GetTaskId ¶
func (x *TuningTask) GetTaskId() string
func (*TuningTask) ProtoMessage ¶
func (*TuningTask) ProtoMessage()
func (*TuningTask) ProtoReflect ¶
func (x *TuningTask) ProtoReflect() protoreflect.Message
func (*TuningTask) Reset ¶
func (x *TuningTask) Reset()
func (*TuningTask) SetCreatedAt ¶
func (m *TuningTask) SetCreatedAt(v *timestamppb.Timestamp)
func (*TuningTask) SetCreatedBy ¶
func (m *TuningTask) SetCreatedBy(v string)
func (*TuningTask) SetFinishedAt ¶
func (m *TuningTask) SetFinishedAt(v *timestamppb.Timestamp)
func (*TuningTask) SetFolderId ¶
func (m *TuningTask) SetFolderId(v string)
func (*TuningTask) SetOperationId ¶
func (m *TuningTask) SetOperationId(v string)
func (*TuningTask) SetSourceModelUri ¶
func (m *TuningTask) SetSourceModelUri(v string)
func (*TuningTask) SetStartedAt ¶
func (m *TuningTask) SetStartedAt(v *timestamppb.Timestamp)
func (*TuningTask) SetStatus ¶
func (m *TuningTask) SetStatus(v TuningTask_Status)
func (*TuningTask) SetTargetModelUri ¶
func (m *TuningTask) SetTargetModelUri(v string)
func (*TuningTask) SetTaskId ¶
func (m *TuningTask) SetTaskId(v string)
func (*TuningTask) String ¶
func (x *TuningTask) String() string
type TuningTask_Status ¶
type TuningTask_Status int32
const ( TuningTask_STATUS_UNSPECIFIED TuningTask_Status = 0 TuningTask_CREATED TuningTask_Status = 1 TuningTask_PENDING TuningTask_Status = 2 TuningTask_IN_PROGRESS TuningTask_Status = 3 TuningTask_COMPLETED TuningTask_Status = 4 TuningTask_FAILED TuningTask_Status = 5 TuningTask_CANCELED TuningTask_Status = 6 )
func (TuningTask_Status) Descriptor ¶
func (TuningTask_Status) Descriptor() protoreflect.EnumDescriptor
func (TuningTask_Status) Enum ¶
func (x TuningTask_Status) Enum() *TuningTask_Status
func (TuningTask_Status) EnumDescriptor
deprecated
func (TuningTask_Status) EnumDescriptor() ([]byte, []int)
Deprecated: Use TuningTask_Status.Descriptor instead.
func (TuningTask_Status) Number ¶
func (x TuningTask_Status) Number() protoreflect.EnumNumber
func (TuningTask_Status) String ¶
func (x TuningTask_Status) String() string
func (TuningTask_Status) Type ¶
func (TuningTask_Status) Type() protoreflect.EnumType
type TuningTypeLora ¶
type TuningTypeLora struct { Rank int64 `protobuf:"varint,1,opt,name=rank,proto3" json:"rank,omitempty"` Alpha float64 `protobuf:"fixed64,2,opt,name=alpha,proto3" json:"alpha,omitempty"` Initialization string `protobuf:"bytes,3,opt,name=initialization,proto3" json:"initialization,omitempty"` Type string `protobuf:"bytes,4,opt,name=type,proto3" json:"type,omitempty"` // contains filtered or unexported fields }
func (*TuningTypeLora) Descriptor
deprecated
func (*TuningTypeLora) Descriptor() ([]byte, []int)
Deprecated: Use TuningTypeLora.ProtoReflect.Descriptor instead.
func (*TuningTypeLora) GetAlpha ¶
func (x *TuningTypeLora) GetAlpha() float64
func (*TuningTypeLora) GetInitialization ¶
func (x *TuningTypeLora) GetInitialization() string
func (*TuningTypeLora) GetRank ¶
func (x *TuningTypeLora) GetRank() int64
func (*TuningTypeLora) GetType ¶
func (x *TuningTypeLora) GetType() string
func (*TuningTypeLora) ProtoMessage ¶
func (*TuningTypeLora) ProtoMessage()
func (*TuningTypeLora) ProtoReflect ¶
func (x *TuningTypeLora) ProtoReflect() protoreflect.Message
func (*TuningTypeLora) Reset ¶
func (x *TuningTypeLora) Reset()
func (*TuningTypeLora) SetAlpha ¶
func (m *TuningTypeLora) SetAlpha(v float64)
func (*TuningTypeLora) SetInitialization ¶
func (m *TuningTypeLora) SetInitialization(v string)
func (*TuningTypeLora) SetRank ¶
func (m *TuningTypeLora) SetRank(v int64)
func (*TuningTypeLora) SetType ¶
func (m *TuningTypeLora) SetType(v string)
func (*TuningTypeLora) String ¶
func (x *TuningTypeLora) String() string
type TuningTypePromptTune ¶
type TuningTypePromptTune struct { VirtualTokens int64 `protobuf:"varint,1,opt,name=virtual_tokens,json=virtualTokens,proto3" json:"virtual_tokens,omitempty"` // contains filtered or unexported fields }
func (*TuningTypePromptTune) Descriptor
deprecated
func (*TuningTypePromptTune) Descriptor() ([]byte, []int)
Deprecated: Use TuningTypePromptTune.ProtoReflect.Descriptor instead.
func (*TuningTypePromptTune) GetVirtualTokens ¶
func (x *TuningTypePromptTune) GetVirtualTokens() int64
func (*TuningTypePromptTune) ProtoMessage ¶
func (*TuningTypePromptTune) ProtoMessage()
func (*TuningTypePromptTune) ProtoReflect ¶
func (x *TuningTypePromptTune) ProtoReflect() protoreflect.Message
func (*TuningTypePromptTune) Reset ¶
func (x *TuningTypePromptTune) Reset()
func (*TuningTypePromptTune) SetVirtualTokens ¶
func (m *TuningTypePromptTune) SetVirtualTokens(v int64)
func (*TuningTypePromptTune) String ¶
func (x *TuningTypePromptTune) String() string
type UnimplementedTuningServiceServer ¶
type UnimplementedTuningServiceServer struct{}
UnimplementedTuningServiceServer should be embedded to have forward compatible implementations.
NOTE: this should be embedded by value instead of pointer to avoid a nil pointer dereference when methods are called.
func (UnimplementedTuningServiceServer) Cancel ¶
func (UnimplementedTuningServiceServer) Cancel(context.Context, *CancelTuningRequest) (*CancelTuningResponse, error)
func (UnimplementedTuningServiceServer) Describe ¶
func (UnimplementedTuningServiceServer) Describe(context.Context, *DescribeTuningRequest) (*DescribeTuningResponse, error)
func (UnimplementedTuningServiceServer) GetMetricsUrl ¶
func (UnimplementedTuningServiceServer) GetMetricsUrl(context.Context, *GetMetricsUrlRequest) (*GetMetricsUrlResponse, error)
func (UnimplementedTuningServiceServer) GetOptions ¶
func (UnimplementedTuningServiceServer) GetOptions(context.Context, *GetOptionsRequest) (*GetOptionsResponse, error)
func (UnimplementedTuningServiceServer) List ¶
func (UnimplementedTuningServiceServer) List(context.Context, *ListTuningsRequest) (*ListTuningsResponse, error)
func (UnimplementedTuningServiceServer) Tune ¶
func (UnimplementedTuningServiceServer) Tune(context.Context, *TuningRequest) (*operation.Operation, error)
type UnsafeTuningServiceServer ¶
type UnsafeTuningServiceServer interface {
// contains filtered or unexported methods
}
UnsafeTuningServiceServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to TuningServiceServer will result in compilation errors.