fomo

package
v0.0.0-...-aeb3b05 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Dec 20, 2024 License: MIT Imports: 12 Imported by: 0

Documentation

Index

Constants

View Source
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

View Source
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.

View Source
var File_yandex_cloud_ai_tuning_v1_tuning_optimizers_proto protoreflect.FileDescriptor
View Source
var File_yandex_cloud_ai_tuning_v1_tuning_schedulers_proto protoreflect.FileDescriptor
View Source
var File_yandex_cloud_ai_tuning_v1_tuning_service_proto protoreflect.FileDescriptor
View Source
var File_yandex_cloud_ai_tuning_v1_tuning_task_proto protoreflect.FileDescriptor
View Source
var File_yandex_cloud_ai_tuning_v1_tuning_types_proto protoreflect.FileDescriptor
View Source
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 (*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 (*TextClassificationMulticlassParams) GetLr

func (*TextClassificationMulticlassParams) GetNSamples

func (x *TextClassificationMulticlassParams) GetNSamples() int64

func (*TextClassificationMulticlassParams) GetOptimizer

func (*TextClassificationMulticlassParams) GetPromptTune

func (*TextClassificationMulticlassParams) GetScheduler

func (*TextClassificationMulticlassParams) GetSeed

func (*TextClassificationMulticlassParams) GetTuningType

func (m *TextClassificationMulticlassParams) GetTuningType() isTextClassificationMulticlassParams_TuningType

func (*TextClassificationMulticlassParams) ProtoMessage

func (*TextClassificationMulticlassParams) ProtoMessage()

func (*TextClassificationMulticlassParams) ProtoReflect

func (*TextClassificationMulticlassParams) Reset

func (*TextClassificationMulticlassParams) SetAdditionalArguments

func (m *TextClassificationMulticlassParams) SetAdditionalArguments(v string)

func (*TextClassificationMulticlassParams) SetLora

func (*TextClassificationMulticlassParams) SetLr

func (*TextClassificationMulticlassParams) SetNSamples

func (m *TextClassificationMulticlassParams) SetNSamples(v int64)

func (*TextClassificationMulticlassParams) SetOptimizer

func (*TextClassificationMulticlassParams) SetPromptTune

func (*TextClassificationMulticlassParams) SetScheduler

func (*TextClassificationMulticlassParams) SetSeed

func (*TextClassificationMulticlassParams) SetTuningType

func (*TextClassificationMulticlassParams) 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

Deprecated: Use TextClassificationMulticlassParams_Optimizer.ProtoReflect.Descriptor instead.

func (*TextClassificationMulticlassParams_Optimizer) GetAdamw

func (*TextClassificationMulticlassParams_Optimizer) GetType

func (m *TextClassificationMulticlassParams_Optimizer) GetType() isTextClassificationMulticlassParams_Optimizer_Type

func (*TextClassificationMulticlassParams_Optimizer) ProtoMessage

func (*TextClassificationMulticlassParams_Optimizer) ProtoReflect

func (*TextClassificationMulticlassParams_Optimizer) Reset

func (*TextClassificationMulticlassParams_Optimizer) SetAdamw

func (*TextClassificationMulticlassParams_Optimizer) SetType

func (*TextClassificationMulticlassParams_Optimizer) 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

Deprecated: Use TextClassificationMulticlassParams_Scheduler.ProtoReflect.Descriptor instead.

func (*TextClassificationMulticlassParams_Scheduler) GetConstant

func (*TextClassificationMulticlassParams_Scheduler) GetCosine

func (*TextClassificationMulticlassParams_Scheduler) GetLinear

func (*TextClassificationMulticlassParams_Scheduler) GetType

func (m *TextClassificationMulticlassParams_Scheduler) GetType() isTextClassificationMulticlassParams_Scheduler_Type

func (*TextClassificationMulticlassParams_Scheduler) GetWarmupRatio

func (*TextClassificationMulticlassParams_Scheduler) ProtoMessage

func (*TextClassificationMulticlassParams_Scheduler) ProtoReflect

func (*TextClassificationMulticlassParams_Scheduler) Reset

func (*TextClassificationMulticlassParams_Scheduler) SetConstant

func (*TextClassificationMulticlassParams_Scheduler) SetCosine

func (*TextClassificationMulticlassParams_Scheduler) SetLinear

func (*TextClassificationMulticlassParams_Scheduler) SetType

func (*TextClassificationMulticlassParams_Scheduler) SetWarmupRatio

func (*TextClassificationMulticlassParams_Scheduler) 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 (*TextClassificationMultilabelParams) GetLr

func (*TextClassificationMultilabelParams) GetNSamples

func (x *TextClassificationMultilabelParams) GetNSamples() int64

func (*TextClassificationMultilabelParams) GetOptimizer

func (*TextClassificationMultilabelParams) GetPromptTune

func (*TextClassificationMultilabelParams) GetScheduler

func (*TextClassificationMultilabelParams) GetSeed

func (*TextClassificationMultilabelParams) GetTuningType

func (m *TextClassificationMultilabelParams) GetTuningType() isTextClassificationMultilabelParams_TuningType

func (*TextClassificationMultilabelParams) ProtoMessage

func (*TextClassificationMultilabelParams) ProtoMessage()

func (*TextClassificationMultilabelParams) ProtoReflect

func (*TextClassificationMultilabelParams) Reset

func (*TextClassificationMultilabelParams) SetAdditionalArguments

func (m *TextClassificationMultilabelParams) SetAdditionalArguments(v string)

func (*TextClassificationMultilabelParams) SetLora

func (*TextClassificationMultilabelParams) SetLr

func (*TextClassificationMultilabelParams) SetNSamples

func (m *TextClassificationMultilabelParams) SetNSamples(v int64)

func (*TextClassificationMultilabelParams) SetOptimizer

func (*TextClassificationMultilabelParams) SetPromptTune

func (*TextClassificationMultilabelParams) SetScheduler

func (*TextClassificationMultilabelParams) SetSeed

func (*TextClassificationMultilabelParams) SetTuningType

func (*TextClassificationMultilabelParams) 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

Deprecated: Use TextClassificationMultilabelParams_Optimizer.ProtoReflect.Descriptor instead.

func (*TextClassificationMultilabelParams_Optimizer) GetAdamw

func (*TextClassificationMultilabelParams_Optimizer) GetType

func (m *TextClassificationMultilabelParams_Optimizer) GetType() isTextClassificationMultilabelParams_Optimizer_Type

func (*TextClassificationMultilabelParams_Optimizer) ProtoMessage

func (*TextClassificationMultilabelParams_Optimizer) ProtoReflect

func (*TextClassificationMultilabelParams_Optimizer) Reset

func (*TextClassificationMultilabelParams_Optimizer) SetAdamw

func (*TextClassificationMultilabelParams_Optimizer) SetType

func (*TextClassificationMultilabelParams_Optimizer) 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

Deprecated: Use TextClassificationMultilabelParams_Scheduler.ProtoReflect.Descriptor instead.

func (*TextClassificationMultilabelParams_Scheduler) GetConstant

func (*TextClassificationMultilabelParams_Scheduler) GetCosine

func (*TextClassificationMultilabelParams_Scheduler) GetLinear

func (*TextClassificationMultilabelParams_Scheduler) GetType

func (m *TextClassificationMultilabelParams_Scheduler) GetType() isTextClassificationMultilabelParams_Scheduler_Type

func (*TextClassificationMultilabelParams_Scheduler) GetWarmupRatio

func (*TextClassificationMultilabelParams_Scheduler) ProtoMessage

func (*TextClassificationMultilabelParams_Scheduler) ProtoReflect

func (*TextClassificationMultilabelParams_Scheduler) Reset

func (*TextClassificationMultilabelParams_Scheduler) SetConstant

func (*TextClassificationMultilabelParams_Scheduler) SetCosine

func (*TextClassificationMultilabelParams_Scheduler) SetLinear

func (*TextClassificationMultilabelParams_Scheduler) SetType

func (*TextClassificationMultilabelParams_Scheduler) SetWarmupRatio

func (*TextClassificationMultilabelParams_Scheduler) 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 (*TextToTextCompletionTuningParams) GetLr

func (*TextToTextCompletionTuningParams) GetNSamples

func (x *TextToTextCompletionTuningParams) GetNSamples() int64

func (*TextToTextCompletionTuningParams) GetOptimizer

func (*TextToTextCompletionTuningParams) GetPromptTune

func (*TextToTextCompletionTuningParams) GetScheduler

func (*TextToTextCompletionTuningParams) GetSeed

func (*TextToTextCompletionTuningParams) GetTuningType

func (m *TextToTextCompletionTuningParams) GetTuningType() isTextToTextCompletionTuningParams_TuningType

func (*TextToTextCompletionTuningParams) ProtoMessage

func (*TextToTextCompletionTuningParams) ProtoMessage()

func (*TextToTextCompletionTuningParams) ProtoReflect

func (*TextToTextCompletionTuningParams) Reset

func (*TextToTextCompletionTuningParams) SetAdditionalArguments

func (m *TextToTextCompletionTuningParams) SetAdditionalArguments(v string)

func (*TextToTextCompletionTuningParams) SetLora

func (*TextToTextCompletionTuningParams) SetLr

func (*TextToTextCompletionTuningParams) SetNSamples

func (m *TextToTextCompletionTuningParams) SetNSamples(v int64)

func (*TextToTextCompletionTuningParams) SetOptimizer

func (*TextToTextCompletionTuningParams) SetPromptTune

func (*TextToTextCompletionTuningParams) SetScheduler

func (*TextToTextCompletionTuningParams) SetSeed

func (*TextToTextCompletionTuningParams) SetTuningType

func (*TextToTextCompletionTuningParams) 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

Deprecated: Use TextToTextCompletionTuningParams_Optimizer.ProtoReflect.Descriptor instead.

func (*TextToTextCompletionTuningParams_Optimizer) GetAdamw

func (*TextToTextCompletionTuningParams_Optimizer) GetType

func (m *TextToTextCompletionTuningParams_Optimizer) GetType() isTextToTextCompletionTuningParams_Optimizer_Type

func (*TextToTextCompletionTuningParams_Optimizer) ProtoMessage

func (*TextToTextCompletionTuningParams_Optimizer) ProtoReflect

func (*TextToTextCompletionTuningParams_Optimizer) Reset

func (*TextToTextCompletionTuningParams_Optimizer) SetAdamw

func (*TextToTextCompletionTuningParams_Optimizer) SetType

func (*TextToTextCompletionTuningParams_Optimizer) 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

Deprecated: Use TextToTextCompletionTuningParams_Scheduler.ProtoReflect.Descriptor instead.

func (*TextToTextCompletionTuningParams_Scheduler) GetConstant

func (*TextToTextCompletionTuningParams_Scheduler) GetCosine

func (*TextToTextCompletionTuningParams_Scheduler) GetLinear

func (*TextToTextCompletionTuningParams_Scheduler) GetType

func (m *TextToTextCompletionTuningParams_Scheduler) GetType() isTextToTextCompletionTuningParams_Scheduler_Type

func (*TextToTextCompletionTuningParams_Scheduler) GetWarmupRatio

func (*TextToTextCompletionTuningParams_Scheduler) ProtoMessage

func (*TextToTextCompletionTuningParams_Scheduler) ProtoReflect

func (*TextToTextCompletionTuningParams_Scheduler) Reset

func (*TextToTextCompletionTuningParams_Scheduler) SetConstant

func (*TextToTextCompletionTuningParams_Scheduler) SetCosine

func (*TextToTextCompletionTuningParams_Scheduler) SetLinear

func (*TextToTextCompletionTuningParams_Scheduler) SetType

func (*TextToTextCompletionTuningParams_Scheduler) SetWarmupRatio

func (*TextToTextCompletionTuningParams_Scheduler) 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 (*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

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

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.

type TuningServiceServer

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) Enum

func (TuningTask_Status) EnumDescriptor deprecated

func (TuningTask_Status) EnumDescriptor() ([]byte, []int)

Deprecated: Use TuningTask_Status.Descriptor instead.

func (TuningTask_Status) Number

func (TuningTask_Status) String

func (x TuningTask_Status) String() string

func (TuningTask_Status) Type

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) Describe

func (UnimplementedTuningServiceServer) GetMetricsUrl

func (UnimplementedTuningServiceServer) GetOptions

func (UnimplementedTuningServiceServer) List

func (UnimplementedTuningServiceServer) Tune

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.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL