@alicloud/paimodelgallery20250630 1.0.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/LICENSE +13 -0
- package/README.md +25 -0
- package/dist/client.d.ts +243 -0
- package/dist/client.js +623 -0
- package/dist/client.js.map +1 -0
- package/dist/models/CreateJobPlanRequest.d.ts +118 -0
- package/dist/models/CreateJobPlanRequest.js +121 -0
- package/dist/models/CreateJobPlanRequest.js.map +1 -0
- package/dist/models/CreateJobPlanResponse.d.ts +19 -0
- package/dist/models/CreateJobPlanResponse.js +69 -0
- package/dist/models/CreateJobPlanResponse.js.map +1 -0
- package/dist/models/CreateJobPlanResponseBody.d.ts +29 -0
- package/dist/models/CreateJobPlanResponseBody.js +60 -0
- package/dist/models/CreateJobPlanResponseBody.js.map +1 -0
- package/dist/models/DeleteJobPlanRequest.d.ts +13 -0
- package/dist/models/DeleteJobPlanRequest.js +54 -0
- package/dist/models/DeleteJobPlanRequest.js.map +1 -0
- package/dist/models/DeleteJobPlanResponse.d.ts +19 -0
- package/dist/models/DeleteJobPlanResponse.js +69 -0
- package/dist/models/DeleteJobPlanResponse.js.map +1 -0
- package/dist/models/DeleteJobPlanResponseBody.d.ts +21 -0
- package/dist/models/DeleteJobPlanResponseBody.js +58 -0
- package/dist/models/DeleteJobPlanResponseBody.js.map +1 -0
- package/dist/models/DistillationTemplate.d.ts +301 -0
- package/dist/models/DistillationTemplate.js +231 -0
- package/dist/models/DistillationTemplate.js.map +1 -0
- package/dist/models/DistillationTemplateSummary.d.ts +142 -0
- package/dist/models/DistillationTemplateSummary.js +135 -0
- package/dist/models/DistillationTemplateSummary.js.map +1 -0
- package/dist/models/GetDistillationTemplateRequest.d.ts +13 -0
- package/dist/models/GetDistillationTemplateRequest.js +54 -0
- package/dist/models/GetDistillationTemplateRequest.js.map +1 -0
- package/dist/models/GetDistillationTemplateResponse.d.ts +19 -0
- package/dist/models/GetDistillationTemplateResponse.js +69 -0
- package/dist/models/GetDistillationTemplateResponse.js.map +1 -0
- package/dist/models/GetDistillationTemplateResponseBody.d.ts +27 -0
- package/dist/models/GetDistillationTemplateResponseBody.js +64 -0
- package/dist/models/GetDistillationTemplateResponseBody.js.map +1 -0
- package/dist/models/GetJobPlanRequest.d.ts +13 -0
- package/dist/models/GetJobPlanRequest.js +54 -0
- package/dist/models/GetJobPlanRequest.js.map +1 -0
- package/dist/models/GetJobPlanResponse.d.ts +19 -0
- package/dist/models/GetJobPlanResponse.js +69 -0
- package/dist/models/GetJobPlanResponse.js.map +1 -0
- package/dist/models/GetJobPlanResponseBody.d.ts +190 -0
- package/dist/models/GetJobPlanResponseBody.js +139 -0
- package/dist/models/GetJobPlanResponseBody.js.map +1 -0
- package/dist/models/JobPlan.d.ts +72 -0
- package/dist/models/JobPlan.js +137 -0
- package/dist/models/JobPlan.js.map +1 -0
- package/dist/models/ListDistillationTemplatesRequest.d.ts +53 -0
- package/dist/models/ListDistillationTemplatesRequest.js +66 -0
- package/dist/models/ListDistillationTemplatesRequest.js.map +1 -0
- package/dist/models/ListDistillationTemplatesResponse.d.ts +19 -0
- package/dist/models/ListDistillationTemplatesResponse.js +69 -0
- package/dist/models/ListDistillationTemplatesResponse.js.map +1 -0
- package/dist/models/ListDistillationTemplatesResponseBody.d.ts +51 -0
- package/dist/models/ListDistillationTemplatesResponseBody.js +70 -0
- package/dist/models/ListDistillationTemplatesResponseBody.js.map +1 -0
- package/dist/models/ListJobPlansRequest.d.ts +122 -0
- package/dist/models/ListJobPlansRequest.js +100 -0
- package/dist/models/ListJobPlansRequest.js.map +1 -0
- package/dist/models/ListJobPlansResponse.d.ts +19 -0
- package/dist/models/ListJobPlansResponse.js +69 -0
- package/dist/models/ListJobPlansResponse.js.map +1 -0
- package/dist/models/ListJobPlansResponseBody.d.ts +35 -0
- package/dist/models/ListJobPlansResponseBody.js +66 -0
- package/dist/models/ListJobPlansResponseBody.js.map +1 -0
- package/dist/models/ListJobPlansShrinkRequest.d.ts +94 -0
- package/dist/models/ListJobPlansShrinkRequest.js +76 -0
- package/dist/models/ListJobPlansShrinkRequest.js.map +1 -0
- package/dist/models/ListModelGalleryModelsRequest.d.ts +273 -0
- package/dist/models/ListModelGalleryModelsRequest.js +160 -0
- package/dist/models/ListModelGalleryModelsRequest.js.map +1 -0
- package/dist/models/ListModelGalleryModelsResponse.d.ts +19 -0
- package/dist/models/ListModelGalleryModelsResponse.js +69 -0
- package/dist/models/ListModelGalleryModelsResponse.js.map +1 -0
- package/dist/models/ListModelGalleryModelsResponseBody.d.ts +38 -0
- package/dist/models/ListModelGalleryModelsResponseBody.js +66 -0
- package/dist/models/ListModelGalleryModelsResponseBody.js.map +1 -0
- package/dist/models/ListModelGalleryModelsShrinkRequest.d.ts +209 -0
- package/dist/models/ListModelGalleryModelsShrinkRequest.js +110 -0
- package/dist/models/ListModelGalleryModelsShrinkRequest.js.map +1 -0
- package/dist/models/ModelGalleryModel.d.ts +375 -0
- package/dist/models/ModelGalleryModel.js +172 -0
- package/dist/models/ModelGalleryModel.js.map +1 -0
- package/dist/models/UpdateJobPlanRequest.d.ts +54 -0
- package/dist/models/UpdateJobPlanRequest.js +84 -0
- package/dist/models/UpdateJobPlanRequest.js.map +1 -0
- package/dist/models/UpdateJobPlanResponse.d.ts +19 -0
- package/dist/models/UpdateJobPlanResponse.js +69 -0
- package/dist/models/UpdateJobPlanResponse.js.map +1 -0
- package/dist/models/UpdateJobPlanResponseBody.d.ts +21 -0
- package/dist/models/UpdateJobPlanResponseBody.js +58 -0
- package/dist/models/UpdateJobPlanResponseBody.js.map +1 -0
- package/dist/models/model.d.ts +48 -0
- package/dist/models/model.js +100 -0
- package/dist/models/model.js.map +1 -0
- package/package.json +29 -0
- package/src/client.ts +658 -0
- package/src/models/CreateJobPlanRequest.ts +174 -0
- package/src/models/CreateJobPlanResponse.ts +40 -0
- package/src/models/CreateJobPlanResponseBody.ts +44 -0
- package/src/models/DeleteJobPlanRequest.ts +24 -0
- package/src/models/DeleteJobPlanResponse.ts +40 -0
- package/src/models/DeleteJobPlanResponseBody.ts +34 -0
- package/src/models/DistillationTemplate.ts +440 -0
- package/src/models/DistillationTemplateSummary.ts +214 -0
- package/src/models/GetDistillationTemplateRequest.ts +24 -0
- package/src/models/GetDistillationTemplateResponse.ts +40 -0
- package/src/models/GetDistillationTemplateResponseBody.ts +45 -0
- package/src/models/GetJobPlanRequest.ts +24 -0
- package/src/models/GetJobPlanResponse.ts +40 -0
- package/src/models/GetJobPlanResponseBody.ts +264 -0
- package/src/models/JobPlan.ts +144 -0
- package/src/models/ListDistillationTemplatesRequest.ts +74 -0
- package/src/models/ListDistillationTemplatesResponse.ts +40 -0
- package/src/models/ListDistillationTemplatesResponseBody.ts +75 -0
- package/src/models/ListJobPlansRequest.ts +168 -0
- package/src/models/ListJobPlansResponse.ts +40 -0
- package/src/models/ListJobPlansResponseBody.ts +55 -0
- package/src/models/ListJobPlansShrinkRequest.ts +125 -0
- package/src/models/ListModelGalleryModelsRequest.ts +370 -0
- package/src/models/ListModelGalleryModelsResponse.ts +40 -0
- package/src/models/ListModelGalleryModelsResponseBody.ts +58 -0
- package/src/models/ListModelGalleryModelsShrinkRequest.ts +274 -0
- package/src/models/ModelGalleryModel.ts +481 -0
- package/src/models/UpdateJobPlanRequest.ts +84 -0
- package/src/models/UpdateJobPlanResponse.ts +40 -0
- package/src/models/UpdateJobPlanResponseBody.ts +34 -0
- package/src/models/model.ts +48 -0
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"DeleteJobPlanResponseBody.js","sourceRoot":"","sources":["../../src/models/DeleteJobPlanResponseBody.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,6CAA6C;AAC7C,6DAA+C;AAG/C,MAAa,yBAA0B,SAAQ,KAAK,CAAC,KAAK;IASxD,MAAM,CAAC,KAAK;QACV,OAAO;YACL,SAAS,EAAE,WAAW;SACvB,CAAC;IACJ,CAAC;IAED,MAAM,CAAC,KAAK;QACV,OAAO;YACL,SAAS,EAAE,QAAQ;SACpB,CAAC;IACJ,CAAC;IAED,QAAQ;QACN,KAAK,CAAC,QAAQ,EAAE,CAAC;IACnB,CAAC;IAED,YAAY,GAA4B;QACtC,KAAK,CAAC,GAAG,CAAC,CAAC;IACb,CAAC;CACF;AA5BD,8DA4BC"}
|
|
@@ -0,0 +1,301 @@
|
|
|
1
|
+
import * as $dara from '@darabonba/typescript';
|
|
2
|
+
/**
|
|
3
|
+
*/
|
|
4
|
+
export declare class DistillationTemplateModelSlotsBackends extends $dara.Model {
|
|
5
|
+
/**
|
|
6
|
+
* @remarks
|
|
7
|
+
* The channel name of the PAI-Token gateway. The frontend uses this value to retrieve the list of available models for the channel. This value must be passed back as-is upon submission. This parameter is returned only when Type is pai_token.
|
|
8
|
+
*
|
|
9
|
+
* @example
|
|
10
|
+
* distillation
|
|
11
|
+
*/
|
|
12
|
+
channel?: string;
|
|
13
|
+
/**
|
|
14
|
+
* @remarks
|
|
15
|
+
* The model access method. pai_token indicates the PAI-Token gateway, where the user selects from the list of available models for the channel. pai_eas indicates the user\\"s own PAI-EAS service instance, which requires the service address and token.
|
|
16
|
+
*
|
|
17
|
+
* @example
|
|
18
|
+
* pai_token
|
|
19
|
+
*/
|
|
20
|
+
type?: string;
|
|
21
|
+
static names(): {
|
|
22
|
+
[key: string]: string;
|
|
23
|
+
};
|
|
24
|
+
static types(): {
|
|
25
|
+
[key: string]: any;
|
|
26
|
+
};
|
|
27
|
+
validate(): void;
|
|
28
|
+
constructor(map?: {
|
|
29
|
+
[key: string]: any;
|
|
30
|
+
});
|
|
31
|
+
}
|
|
32
|
+
export declare class DistillationTemplateModelSlots extends $dara.Model {
|
|
33
|
+
/**
|
|
34
|
+
* @remarks
|
|
35
|
+
* The list of model access methods supported by this slot.
|
|
36
|
+
*/
|
|
37
|
+
backends?: DistillationTemplateModelSlotsBackends[];
|
|
38
|
+
/**
|
|
39
|
+
* @remarks
|
|
40
|
+
* The slot description, localized based on the requested language.
|
|
41
|
+
*
|
|
42
|
+
* @example
|
|
43
|
+
* The teacher model used to generate distillation data. We recommend selecting a model with strong reasoning capabilities
|
|
44
|
+
*/
|
|
45
|
+
description?: string;
|
|
46
|
+
/**
|
|
47
|
+
* @remarks
|
|
48
|
+
* The slot identifier, which corresponds to the backend section name in the submitted configuration.
|
|
49
|
+
*
|
|
50
|
+
* @example
|
|
51
|
+
* backend
|
|
52
|
+
*/
|
|
53
|
+
key?: string;
|
|
54
|
+
/**
|
|
55
|
+
* @remarks
|
|
56
|
+
* The slot display name, localized based on the requested language.
|
|
57
|
+
*
|
|
58
|
+
* @example
|
|
59
|
+
* Teacher model
|
|
60
|
+
*/
|
|
61
|
+
name?: string;
|
|
62
|
+
/**
|
|
63
|
+
* @remarks
|
|
64
|
+
* Specifies whether this slot is required. If this parameter is set to false, the user can skip the selection, and the algorithm falls back to other slots.
|
|
65
|
+
*/
|
|
66
|
+
required?: boolean;
|
|
67
|
+
static names(): {
|
|
68
|
+
[key: string]: string;
|
|
69
|
+
};
|
|
70
|
+
static types(): {
|
|
71
|
+
[key: string]: any;
|
|
72
|
+
};
|
|
73
|
+
validate(): void;
|
|
74
|
+
constructor(map?: {
|
|
75
|
+
[key: string]: any;
|
|
76
|
+
});
|
|
77
|
+
}
|
|
78
|
+
export declare class DistillationTemplatePipelineStages extends $dara.Model {
|
|
79
|
+
/**
|
|
80
|
+
* @remarks
|
|
81
|
+
* The stage description, localized based on the requested language.
|
|
82
|
+
*
|
|
83
|
+
* @example
|
|
84
|
+
* The teacher model generates responses with reasoning processes for each question
|
|
85
|
+
*/
|
|
86
|
+
description?: string;
|
|
87
|
+
/**
|
|
88
|
+
* @remarks
|
|
89
|
+
* The stage identifier, which corresponds to the value of pipeline[].stage in the algorithm configuration.
|
|
90
|
+
*
|
|
91
|
+
* @example
|
|
92
|
+
* cot_distill
|
|
93
|
+
*/
|
|
94
|
+
key?: string;
|
|
95
|
+
/**
|
|
96
|
+
* @remarks
|
|
97
|
+
* The stage display name, localized based on the requested language.
|
|
98
|
+
*
|
|
99
|
+
* @example
|
|
100
|
+
* Generate chain of thought
|
|
101
|
+
*/
|
|
102
|
+
name?: string;
|
|
103
|
+
static names(): {
|
|
104
|
+
[key: string]: string;
|
|
105
|
+
};
|
|
106
|
+
static types(): {
|
|
107
|
+
[key: string]: any;
|
|
108
|
+
};
|
|
109
|
+
validate(): void;
|
|
110
|
+
constructor(map?: {
|
|
111
|
+
[key: string]: any;
|
|
112
|
+
});
|
|
113
|
+
}
|
|
114
|
+
export declare class DistillationTemplatePresetConfig extends $dara.Model {
|
|
115
|
+
/**
|
|
116
|
+
* @remarks
|
|
117
|
+
* The configuration item name, localized based on the requested language. Names are matched by position across languages, so the same row can have different names in different languages.
|
|
118
|
+
*
|
|
119
|
+
* @example
|
|
120
|
+
* Task type
|
|
121
|
+
*/
|
|
122
|
+
label?: string;
|
|
123
|
+
/**
|
|
124
|
+
* @remarks
|
|
125
|
+
* The configuration item value, localized based on the requested language.
|
|
126
|
+
*
|
|
127
|
+
* @example
|
|
128
|
+
* advanced_cot_distill
|
|
129
|
+
*/
|
|
130
|
+
value?: string;
|
|
131
|
+
static names(): {
|
|
132
|
+
[key: string]: string;
|
|
133
|
+
};
|
|
134
|
+
static types(): {
|
|
135
|
+
[key: string]: any;
|
|
136
|
+
};
|
|
137
|
+
validate(): void;
|
|
138
|
+
constructor(map?: {
|
|
139
|
+
[key: string]: any;
|
|
140
|
+
});
|
|
141
|
+
}
|
|
142
|
+
export declare class DistillationTemplateTrainingOptions extends $dara.Model {
|
|
143
|
+
/**
|
|
144
|
+
* @remarks
|
|
145
|
+
* The range of Model Gallery tasks available for the student model.
|
|
146
|
+
*/
|
|
147
|
+
modelTasks?: string[];
|
|
148
|
+
/**
|
|
149
|
+
* @remarks
|
|
150
|
+
* The list of supported training method families.
|
|
151
|
+
*/
|
|
152
|
+
trainingMethods?: string[];
|
|
153
|
+
/**
|
|
154
|
+
* @remarks
|
|
155
|
+
* The training type. The frontend uses this value to select the training workflow and display text.
|
|
156
|
+
*
|
|
157
|
+
* @example
|
|
158
|
+
* sft
|
|
159
|
+
*/
|
|
160
|
+
trainingType?: string;
|
|
161
|
+
static names(): {
|
|
162
|
+
[key: string]: string;
|
|
163
|
+
};
|
|
164
|
+
static types(): {
|
|
165
|
+
[key: string]: any;
|
|
166
|
+
};
|
|
167
|
+
validate(): void;
|
|
168
|
+
constructor(map?: {
|
|
169
|
+
[key: string]: any;
|
|
170
|
+
});
|
|
171
|
+
}
|
|
172
|
+
export declare class DistillationTemplate extends $dara.Model {
|
|
173
|
+
/**
|
|
174
|
+
* @remarks
|
|
175
|
+
* The algorithm name.
|
|
176
|
+
*
|
|
177
|
+
* @example
|
|
178
|
+
* easydistill
|
|
179
|
+
*/
|
|
180
|
+
algorithmName?: string;
|
|
181
|
+
/**
|
|
182
|
+
* @remarks
|
|
183
|
+
* The algorithm provider.
|
|
184
|
+
*
|
|
185
|
+
* @example
|
|
186
|
+
* pai
|
|
187
|
+
*/
|
|
188
|
+
algorithmProvider?: string;
|
|
189
|
+
/**
|
|
190
|
+
* @remarks
|
|
191
|
+
* The algorithm version.
|
|
192
|
+
*
|
|
193
|
+
* @example
|
|
194
|
+
* v2.0.0
|
|
195
|
+
*/
|
|
196
|
+
algorithmVersion?: string;
|
|
197
|
+
/**
|
|
198
|
+
* @remarks
|
|
199
|
+
* The list of capability tags used for displaying scenario cards.
|
|
200
|
+
*/
|
|
201
|
+
capabilityTags?: string[];
|
|
202
|
+
/**
|
|
203
|
+
* @remarks
|
|
204
|
+
* The template category. The frontend uses this value to filter scenario cards.
|
|
205
|
+
*
|
|
206
|
+
* @example
|
|
207
|
+
* reasoning
|
|
208
|
+
*/
|
|
209
|
+
category?: string;
|
|
210
|
+
/**
|
|
211
|
+
* @remarks
|
|
212
|
+
* The raw YAML content of the EasyDistill default configurations. The frontend uses this content for rendering the configuration form and supports recovering to default configurations. The model and credential fields are intentionally left empty and are populated by the user in the form upon commit.
|
|
213
|
+
*
|
|
214
|
+
* @example
|
|
215
|
+
* job_type: advanced_cot_distill
|
|
216
|
+
*/
|
|
217
|
+
defaultConfig?: string;
|
|
218
|
+
/**
|
|
219
|
+
* @remarks
|
|
220
|
+
* The template description, localized based on the requested language. The description specifies the applicable scenarios and outputs.
|
|
221
|
+
*
|
|
222
|
+
* @example
|
|
223
|
+
* Designed for scenarios that require multi-step reasoning such as math, logic, and code. Produces an SFT dataset
|
|
224
|
+
*/
|
|
225
|
+
description?: string;
|
|
226
|
+
/**
|
|
227
|
+
* @remarks
|
|
228
|
+
* Specifies whether the input data must be an entire directory. If this parameter is set to true, only a directory can be selected on the form, not a single file. If this parameter is absent or set to false, either a file or a directory can be selected. This value is true when seed files reference other files in the same directory by relative path.
|
|
229
|
+
*/
|
|
230
|
+
inputDatasetMustBeDirectory?: boolean;
|
|
231
|
+
/**
|
|
232
|
+
* @remarks
|
|
233
|
+
* The OSS address of the sample input data, rendered based on the region. Users can download the sample and prepare their own data in the same format. An empty value indicates that the template does not provide a sample.
|
|
234
|
+
*
|
|
235
|
+
* @example
|
|
236
|
+
* oss://pai-quickstart-cn-hangzhou.oss-cn-hangzhou-internal.aliyuncs.com/public_datasets/distillation_examples/advanced_cot_distill/input.jsonl
|
|
237
|
+
*/
|
|
238
|
+
inputExampleUri?: string;
|
|
239
|
+
/**
|
|
240
|
+
* @remarks
|
|
241
|
+
* The algorithm job type. The value is the same as TemplateId.
|
|
242
|
+
*
|
|
243
|
+
* @example
|
|
244
|
+
* advanced_cot_distill
|
|
245
|
+
*/
|
|
246
|
+
jobType?: string;
|
|
247
|
+
/**
|
|
248
|
+
* @remarks
|
|
249
|
+
* The list of model slots that require user selection. The frontend uses this list to render the model selection form.
|
|
250
|
+
*/
|
|
251
|
+
modelSlots?: DistillationTemplateModelSlots[];
|
|
252
|
+
/**
|
|
253
|
+
* @remarks
|
|
254
|
+
* The display order. A smaller value indicates a higher priority.
|
|
255
|
+
*
|
|
256
|
+
* @example
|
|
257
|
+
* 10
|
|
258
|
+
*/
|
|
259
|
+
orderNumber?: number;
|
|
260
|
+
/**
|
|
261
|
+
* @remarks
|
|
262
|
+
* The list of pipeline stages. The order of the stages represents the execution order.
|
|
263
|
+
*/
|
|
264
|
+
pipelineStages?: DistillationTemplatePipelineStages[];
|
|
265
|
+
/**
|
|
266
|
+
* @remarks
|
|
267
|
+
* The content of the preset configuration card, displayed in order to show the key default configurations of the template.
|
|
268
|
+
*/
|
|
269
|
+
presetConfig?: DistillationTemplatePresetConfig[];
|
|
270
|
+
/**
|
|
271
|
+
* @remarks
|
|
272
|
+
* The distillation template ID, which is the same as the algorithm job_type. Pass this value as TemplateId when creating a task plan.
|
|
273
|
+
*
|
|
274
|
+
* @example
|
|
275
|
+
* advanced_cot_distill
|
|
276
|
+
*/
|
|
277
|
+
templateId?: string;
|
|
278
|
+
/**
|
|
279
|
+
* @remarks
|
|
280
|
+
* The template display name, localized based on the requested language.
|
|
281
|
+
*
|
|
282
|
+
* @example
|
|
283
|
+
* Chain-of-thought reasoning distillation
|
|
284
|
+
*/
|
|
285
|
+
templateName?: string;
|
|
286
|
+
/**
|
|
287
|
+
* @remarks
|
|
288
|
+
* The capability declaration for the second stage (training the student model with the distilled data). An empty value indicates that the template supports only the distillation stage.
|
|
289
|
+
*/
|
|
290
|
+
trainingOptions?: DistillationTemplateTrainingOptions[];
|
|
291
|
+
static names(): {
|
|
292
|
+
[key: string]: string;
|
|
293
|
+
};
|
|
294
|
+
static types(): {
|
|
295
|
+
[key: string]: any;
|
|
296
|
+
};
|
|
297
|
+
validate(): void;
|
|
298
|
+
constructor(map?: {
|
|
299
|
+
[key: string]: any;
|
|
300
|
+
});
|
|
301
|
+
}
|
|
@@ -0,0 +1,231 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
3
|
+
if (k2 === undefined) k2 = k;
|
|
4
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
5
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
6
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
7
|
+
}
|
|
8
|
+
Object.defineProperty(o, k2, desc);
|
|
9
|
+
}) : (function(o, m, k, k2) {
|
|
10
|
+
if (k2 === undefined) k2 = k;
|
|
11
|
+
o[k2] = m[k];
|
|
12
|
+
}));
|
|
13
|
+
var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
|
|
14
|
+
Object.defineProperty(o, "default", { enumerable: true, value: v });
|
|
15
|
+
}) : function(o, v) {
|
|
16
|
+
o["default"] = v;
|
|
17
|
+
});
|
|
18
|
+
var __importStar = (this && this.__importStar) || (function () {
|
|
19
|
+
var ownKeys = function(o) {
|
|
20
|
+
ownKeys = Object.getOwnPropertyNames || function (o) {
|
|
21
|
+
var ar = [];
|
|
22
|
+
for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k;
|
|
23
|
+
return ar;
|
|
24
|
+
};
|
|
25
|
+
return ownKeys(o);
|
|
26
|
+
};
|
|
27
|
+
return function (mod) {
|
|
28
|
+
if (mod && mod.__esModule) return mod;
|
|
29
|
+
var result = {};
|
|
30
|
+
if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]);
|
|
31
|
+
__setModuleDefault(result, mod);
|
|
32
|
+
return result;
|
|
33
|
+
};
|
|
34
|
+
})();
|
|
35
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
36
|
+
exports.DistillationTemplate = exports.DistillationTemplateTrainingOptions = exports.DistillationTemplatePresetConfig = exports.DistillationTemplatePipelineStages = exports.DistillationTemplateModelSlots = exports.DistillationTemplateModelSlotsBackends = void 0;
|
|
37
|
+
// This file is auto-generated, don't edit it
|
|
38
|
+
const $dara = __importStar(require("@darabonba/typescript"));
|
|
39
|
+
/**
|
|
40
|
+
*/
|
|
41
|
+
class DistillationTemplateModelSlotsBackends extends $dara.Model {
|
|
42
|
+
static names() {
|
|
43
|
+
return {
|
|
44
|
+
channel: 'Channel',
|
|
45
|
+
type: 'Type',
|
|
46
|
+
};
|
|
47
|
+
}
|
|
48
|
+
static types() {
|
|
49
|
+
return {
|
|
50
|
+
channel: 'string',
|
|
51
|
+
type: 'string',
|
|
52
|
+
};
|
|
53
|
+
}
|
|
54
|
+
validate() {
|
|
55
|
+
super.validate();
|
|
56
|
+
}
|
|
57
|
+
constructor(map) {
|
|
58
|
+
super(map);
|
|
59
|
+
}
|
|
60
|
+
}
|
|
61
|
+
exports.DistillationTemplateModelSlotsBackends = DistillationTemplateModelSlotsBackends;
|
|
62
|
+
class DistillationTemplateModelSlots extends $dara.Model {
|
|
63
|
+
static names() {
|
|
64
|
+
return {
|
|
65
|
+
backends: 'Backends',
|
|
66
|
+
description: 'Description',
|
|
67
|
+
key: 'Key',
|
|
68
|
+
name: 'Name',
|
|
69
|
+
required: 'Required',
|
|
70
|
+
};
|
|
71
|
+
}
|
|
72
|
+
static types() {
|
|
73
|
+
return {
|
|
74
|
+
backends: { 'type': 'array', 'itemType': DistillationTemplateModelSlotsBackends },
|
|
75
|
+
description: 'string',
|
|
76
|
+
key: 'string',
|
|
77
|
+
name: 'string',
|
|
78
|
+
required: 'boolean',
|
|
79
|
+
};
|
|
80
|
+
}
|
|
81
|
+
validate() {
|
|
82
|
+
if (Array.isArray(this.backends)) {
|
|
83
|
+
$dara.Model.validateArray(this.backends);
|
|
84
|
+
}
|
|
85
|
+
super.validate();
|
|
86
|
+
}
|
|
87
|
+
constructor(map) {
|
|
88
|
+
super(map);
|
|
89
|
+
}
|
|
90
|
+
}
|
|
91
|
+
exports.DistillationTemplateModelSlots = DistillationTemplateModelSlots;
|
|
92
|
+
class DistillationTemplatePipelineStages extends $dara.Model {
|
|
93
|
+
static names() {
|
|
94
|
+
return {
|
|
95
|
+
description: 'Description',
|
|
96
|
+
key: 'Key',
|
|
97
|
+
name: 'Name',
|
|
98
|
+
};
|
|
99
|
+
}
|
|
100
|
+
static types() {
|
|
101
|
+
return {
|
|
102
|
+
description: 'string',
|
|
103
|
+
key: 'string',
|
|
104
|
+
name: 'string',
|
|
105
|
+
};
|
|
106
|
+
}
|
|
107
|
+
validate() {
|
|
108
|
+
super.validate();
|
|
109
|
+
}
|
|
110
|
+
constructor(map) {
|
|
111
|
+
super(map);
|
|
112
|
+
}
|
|
113
|
+
}
|
|
114
|
+
exports.DistillationTemplatePipelineStages = DistillationTemplatePipelineStages;
|
|
115
|
+
class DistillationTemplatePresetConfig extends $dara.Model {
|
|
116
|
+
static names() {
|
|
117
|
+
return {
|
|
118
|
+
label: 'Label',
|
|
119
|
+
value: 'Value',
|
|
120
|
+
};
|
|
121
|
+
}
|
|
122
|
+
static types() {
|
|
123
|
+
return {
|
|
124
|
+
label: 'string',
|
|
125
|
+
value: 'string',
|
|
126
|
+
};
|
|
127
|
+
}
|
|
128
|
+
validate() {
|
|
129
|
+
super.validate();
|
|
130
|
+
}
|
|
131
|
+
constructor(map) {
|
|
132
|
+
super(map);
|
|
133
|
+
}
|
|
134
|
+
}
|
|
135
|
+
exports.DistillationTemplatePresetConfig = DistillationTemplatePresetConfig;
|
|
136
|
+
class DistillationTemplateTrainingOptions extends $dara.Model {
|
|
137
|
+
static names() {
|
|
138
|
+
return {
|
|
139
|
+
modelTasks: 'ModelTasks',
|
|
140
|
+
trainingMethods: 'TrainingMethods',
|
|
141
|
+
trainingType: 'TrainingType',
|
|
142
|
+
};
|
|
143
|
+
}
|
|
144
|
+
static types() {
|
|
145
|
+
return {
|
|
146
|
+
modelTasks: { 'type': 'array', 'itemType': 'string' },
|
|
147
|
+
trainingMethods: { 'type': 'array', 'itemType': 'string' },
|
|
148
|
+
trainingType: 'string',
|
|
149
|
+
};
|
|
150
|
+
}
|
|
151
|
+
validate() {
|
|
152
|
+
if (Array.isArray(this.modelTasks)) {
|
|
153
|
+
$dara.Model.validateArray(this.modelTasks);
|
|
154
|
+
}
|
|
155
|
+
if (Array.isArray(this.trainingMethods)) {
|
|
156
|
+
$dara.Model.validateArray(this.trainingMethods);
|
|
157
|
+
}
|
|
158
|
+
super.validate();
|
|
159
|
+
}
|
|
160
|
+
constructor(map) {
|
|
161
|
+
super(map);
|
|
162
|
+
}
|
|
163
|
+
}
|
|
164
|
+
exports.DistillationTemplateTrainingOptions = DistillationTemplateTrainingOptions;
|
|
165
|
+
class DistillationTemplate extends $dara.Model {
|
|
166
|
+
static names() {
|
|
167
|
+
return {
|
|
168
|
+
algorithmName: 'AlgorithmName',
|
|
169
|
+
algorithmProvider: 'AlgorithmProvider',
|
|
170
|
+
algorithmVersion: 'AlgorithmVersion',
|
|
171
|
+
capabilityTags: 'CapabilityTags',
|
|
172
|
+
category: 'Category',
|
|
173
|
+
defaultConfig: 'DefaultConfig',
|
|
174
|
+
description: 'Description',
|
|
175
|
+
inputDatasetMustBeDirectory: 'InputDatasetMustBeDirectory',
|
|
176
|
+
inputExampleUri: 'InputExampleUri',
|
|
177
|
+
jobType: 'JobType',
|
|
178
|
+
modelSlots: 'ModelSlots',
|
|
179
|
+
orderNumber: 'OrderNumber',
|
|
180
|
+
pipelineStages: 'PipelineStages',
|
|
181
|
+
presetConfig: 'PresetConfig',
|
|
182
|
+
templateId: 'TemplateId',
|
|
183
|
+
templateName: 'TemplateName',
|
|
184
|
+
trainingOptions: 'TrainingOptions',
|
|
185
|
+
};
|
|
186
|
+
}
|
|
187
|
+
static types() {
|
|
188
|
+
return {
|
|
189
|
+
algorithmName: 'string',
|
|
190
|
+
algorithmProvider: 'string',
|
|
191
|
+
algorithmVersion: 'string',
|
|
192
|
+
capabilityTags: { 'type': 'array', 'itemType': 'string' },
|
|
193
|
+
category: 'string',
|
|
194
|
+
defaultConfig: 'string',
|
|
195
|
+
description: 'string',
|
|
196
|
+
inputDatasetMustBeDirectory: 'boolean',
|
|
197
|
+
inputExampleUri: 'string',
|
|
198
|
+
jobType: 'string',
|
|
199
|
+
modelSlots: { 'type': 'array', 'itemType': DistillationTemplateModelSlots },
|
|
200
|
+
orderNumber: 'number',
|
|
201
|
+
pipelineStages: { 'type': 'array', 'itemType': DistillationTemplatePipelineStages },
|
|
202
|
+
presetConfig: { 'type': 'array', 'itemType': DistillationTemplatePresetConfig },
|
|
203
|
+
templateId: 'string',
|
|
204
|
+
templateName: 'string',
|
|
205
|
+
trainingOptions: { 'type': 'array', 'itemType': DistillationTemplateTrainingOptions },
|
|
206
|
+
};
|
|
207
|
+
}
|
|
208
|
+
validate() {
|
|
209
|
+
if (Array.isArray(this.capabilityTags)) {
|
|
210
|
+
$dara.Model.validateArray(this.capabilityTags);
|
|
211
|
+
}
|
|
212
|
+
if (Array.isArray(this.modelSlots)) {
|
|
213
|
+
$dara.Model.validateArray(this.modelSlots);
|
|
214
|
+
}
|
|
215
|
+
if (Array.isArray(this.pipelineStages)) {
|
|
216
|
+
$dara.Model.validateArray(this.pipelineStages);
|
|
217
|
+
}
|
|
218
|
+
if (Array.isArray(this.presetConfig)) {
|
|
219
|
+
$dara.Model.validateArray(this.presetConfig);
|
|
220
|
+
}
|
|
221
|
+
if (Array.isArray(this.trainingOptions)) {
|
|
222
|
+
$dara.Model.validateArray(this.trainingOptions);
|
|
223
|
+
}
|
|
224
|
+
super.validate();
|
|
225
|
+
}
|
|
226
|
+
constructor(map) {
|
|
227
|
+
super(map);
|
|
228
|
+
}
|
|
229
|
+
}
|
|
230
|
+
exports.DistillationTemplate = DistillationTemplate;
|
|
231
|
+
//# sourceMappingURL=DistillationTemplate.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"DistillationTemplate.js","sourceRoot":"","sources":["../../src/models/DistillationTemplate.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,6CAA6C;AAC7C,6DAA+C;AAG/C;GACG;AACH,MAAa,sCAAuC,SAAQ,KAAK,CAAC,KAAK;IAiBrE,MAAM,CAAC,KAAK;QACV,OAA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,CAAC;IAED,YAAY,GAA4B;QACtC,KAAK,CAAC,GAAG,CAAC,CAAC;IACb,CAAC;CACF;AAzLD,oDAyLC"}
|
|
@@ -0,0 +1,142 @@
|
|
|
1
|
+
import * as $dara from '@darabonba/typescript';
|
|
2
|
+
export declare class DistillationTemplateSummaryPipelineStages extends $dara.Model {
|
|
3
|
+
/**
|
|
4
|
+
* @remarks
|
|
5
|
+
* The stage description, localized based on the language specified in the request.
|
|
6
|
+
*
|
|
7
|
+
* @example
|
|
8
|
+
* The teacher model generates reasoning-augmented responses for each question
|
|
9
|
+
*/
|
|
10
|
+
description?: string;
|
|
11
|
+
/**
|
|
12
|
+
* @remarks
|
|
13
|
+
* The stage identifier, which corresponds to the pipeline[].stage value in the algorithm configuration.
|
|
14
|
+
*
|
|
15
|
+
* @example
|
|
16
|
+
* cot_distill
|
|
17
|
+
*/
|
|
18
|
+
key?: string;
|
|
19
|
+
/**
|
|
20
|
+
* @remarks
|
|
21
|
+
* The stage display name, localized based on the language specified in the request.
|
|
22
|
+
*
|
|
23
|
+
* @example
|
|
24
|
+
* Generate Chain-of-Thought
|
|
25
|
+
*/
|
|
26
|
+
name?: string;
|
|
27
|
+
static names(): {
|
|
28
|
+
[key: string]: string;
|
|
29
|
+
};
|
|
30
|
+
static types(): {
|
|
31
|
+
[key: string]: any;
|
|
32
|
+
};
|
|
33
|
+
validate(): void;
|
|
34
|
+
constructor(map?: {
|
|
35
|
+
[key: string]: any;
|
|
36
|
+
});
|
|
37
|
+
}
|
|
38
|
+
export declare class DistillationTemplateSummaryTrainingOptions extends $dara.Model {
|
|
39
|
+
/**
|
|
40
|
+
* @remarks
|
|
41
|
+
* The available Model Gallery Task values for the student model.
|
|
42
|
+
*/
|
|
43
|
+
modelTasks?: string[];
|
|
44
|
+
/**
|
|
45
|
+
* @remarks
|
|
46
|
+
* The list of supported training method families.
|
|
47
|
+
*/
|
|
48
|
+
trainingMethods?: string[];
|
|
49
|
+
/**
|
|
50
|
+
* @remarks
|
|
51
|
+
* The training type. The frontend uses this value to select the training workflow and display text.
|
|
52
|
+
*
|
|
53
|
+
* @example
|
|
54
|
+
* sft
|
|
55
|
+
*/
|
|
56
|
+
trainingType?: string;
|
|
57
|
+
static names(): {
|
|
58
|
+
[key: string]: string;
|
|
59
|
+
};
|
|
60
|
+
static types(): {
|
|
61
|
+
[key: string]: any;
|
|
62
|
+
};
|
|
63
|
+
validate(): void;
|
|
64
|
+
constructor(map?: {
|
|
65
|
+
[key: string]: any;
|
|
66
|
+
});
|
|
67
|
+
}
|
|
68
|
+
export declare class DistillationTemplateSummary extends $dara.Model {
|
|
69
|
+
/**
|
|
70
|
+
* @remarks
|
|
71
|
+
* The list of capability tags, used for scenario card display.
|
|
72
|
+
*/
|
|
73
|
+
capabilityTags?: string[];
|
|
74
|
+
/**
|
|
75
|
+
* @remarks
|
|
76
|
+
* The template category. The frontend uses this value to filter scenario cards.
|
|
77
|
+
*
|
|
78
|
+
* @example
|
|
79
|
+
* reasoning
|
|
80
|
+
*/
|
|
81
|
+
category?: string;
|
|
82
|
+
/**
|
|
83
|
+
* @remarks
|
|
84
|
+
* The template description, localized based on the language specified in the request. The description specifies applicable scenarios and outputs.
|
|
85
|
+
*
|
|
86
|
+
* @example
|
|
87
|
+
* Designed for scenarios that require multi-step reasoning, such as math, logic, and code. Produces an SFT dataset
|
|
88
|
+
*/
|
|
89
|
+
description?: string;
|
|
90
|
+
/**
|
|
91
|
+
* @remarks
|
|
92
|
+
* The algorithm job type. The value is the same as TemplateId.
|
|
93
|
+
*
|
|
94
|
+
* @example
|
|
95
|
+
* advanced_cot_distill
|
|
96
|
+
*/
|
|
97
|
+
jobType?: string;
|
|
98
|
+
/**
|
|
99
|
+
* @remarks
|
|
100
|
+
* The display order. A smaller value indicates a higher position.
|
|
101
|
+
*
|
|
102
|
+
* @example
|
|
103
|
+
* 10
|
|
104
|
+
*/
|
|
105
|
+
orderNumber?: number;
|
|
106
|
+
/**
|
|
107
|
+
* @remarks
|
|
108
|
+
* The list of pipeline stages. The order of the stages represents the execution order.
|
|
109
|
+
*/
|
|
110
|
+
pipelineStages?: DistillationTemplateSummaryPipelineStages[];
|
|
111
|
+
/**
|
|
112
|
+
* @remarks
|
|
113
|
+
* The distillation template ID, which is the same as the algorithm job_type. Pass this value as TemplateId when creating a task plan.
|
|
114
|
+
*
|
|
115
|
+
* @example
|
|
116
|
+
* advanced_cot_distill
|
|
117
|
+
*/
|
|
118
|
+
templateId?: string;
|
|
119
|
+
/**
|
|
120
|
+
* @remarks
|
|
121
|
+
* The template display name, localized based on the language specified in the request.
|
|
122
|
+
*
|
|
123
|
+
* @example
|
|
124
|
+
* Chain-of-Thought Reasoning Distillation
|
|
125
|
+
*/
|
|
126
|
+
templateName?: string;
|
|
127
|
+
/**
|
|
128
|
+
* @remarks
|
|
129
|
+
* The capability declaration for the second stage, in which the distilled data is used to train the student model. An empty value indicates that the template supports only the distillation stage.
|
|
130
|
+
*/
|
|
131
|
+
trainingOptions?: DistillationTemplateSummaryTrainingOptions[];
|
|
132
|
+
static names(): {
|
|
133
|
+
[key: string]: string;
|
|
134
|
+
};
|
|
135
|
+
static types(): {
|
|
136
|
+
[key: string]: any;
|
|
137
|
+
};
|
|
138
|
+
validate(): void;
|
|
139
|
+
constructor(map?: {
|
|
140
|
+
[key: string]: any;
|
|
141
|
+
});
|
|
142
|
+
}
|