@qvac/sdk 0.9.1 → 0.9.2
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/dist/schemas/common.d.ts
CHANGED
|
@@ -4208,23 +4208,23 @@ export declare const responseSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
4208
4208
|
}>;
|
|
4209
4209
|
stats: z.ZodOptional<z.ZodObject<{
|
|
4210
4210
|
train_loss: z.ZodOptional<z.ZodNumber>;
|
|
4211
|
-
train_loss_uncertainty: z.ZodOptional<z.ZodNullable<z.
|
|
4211
|
+
train_loss_uncertainty: z.ZodOptional<z.ZodNullable<z.ZodUnion<readonly [z.ZodNumber, z.ZodNaN]>>>;
|
|
4212
4212
|
val_loss: z.ZodOptional<z.ZodNumber>;
|
|
4213
|
-
val_loss_uncertainty: z.ZodOptional<z.ZodNullable<z.
|
|
4213
|
+
val_loss_uncertainty: z.ZodOptional<z.ZodNullable<z.ZodUnion<readonly [z.ZodNumber, z.ZodNaN]>>>;
|
|
4214
4214
|
train_accuracy: z.ZodOptional<z.ZodNumber>;
|
|
4215
|
-
train_accuracy_uncertainty: z.ZodOptional<z.ZodNullable<z.
|
|
4215
|
+
train_accuracy_uncertainty: z.ZodOptional<z.ZodNullable<z.ZodUnion<readonly [z.ZodNumber, z.ZodNaN]>>>;
|
|
4216
4216
|
val_accuracy: z.ZodOptional<z.ZodNumber>;
|
|
4217
|
-
val_accuracy_uncertainty: z.ZodOptional<z.ZodNullable<z.
|
|
4217
|
+
val_accuracy_uncertainty: z.ZodOptional<z.ZodNullable<z.ZodUnion<readonly [z.ZodNumber, z.ZodNaN]>>>;
|
|
4218
4218
|
learning_rate: z.ZodOptional<z.ZodNumber>;
|
|
4219
4219
|
global_steps: z.ZodNumber;
|
|
4220
4220
|
epochs_completed: z.ZodNumber;
|
|
4221
4221
|
}, z.core.$strict>>;
|
|
4222
4222
|
}, z.core.$strict>, z.ZodObject<{
|
|
4223
4223
|
is_train: z.ZodBoolean;
|
|
4224
|
-
loss: z.ZodNullable<z.
|
|
4225
|
-
loss_uncertainty: z.ZodNullable<z.
|
|
4226
|
-
accuracy: z.ZodNullable<z.
|
|
4227
|
-
accuracy_uncertainty: z.ZodNullable<z.
|
|
4224
|
+
loss: z.ZodNullable<z.ZodUnion<readonly [z.ZodNumber, z.ZodNaN]>>;
|
|
4225
|
+
loss_uncertainty: z.ZodNullable<z.ZodUnion<readonly [z.ZodNumber, z.ZodNaN]>>;
|
|
4226
|
+
accuracy: z.ZodNullable<z.ZodUnion<readonly [z.ZodNumber, z.ZodNaN]>>;
|
|
4227
|
+
accuracy_uncertainty: z.ZodNullable<z.ZodUnion<readonly [z.ZodNumber, z.ZodNaN]>>;
|
|
4228
4228
|
global_steps: z.ZodNumber;
|
|
4229
4229
|
current_epoch: z.ZodNumber;
|
|
4230
4230
|
current_batch: z.ZodNumber;
|
|
@@ -541,10 +541,10 @@ export declare const finetuneStatusSchema: z.ZodEnum<{
|
|
|
541
541
|
}>;
|
|
542
542
|
export declare const finetuneProgressSchema: z.ZodObject<{
|
|
543
543
|
is_train: z.ZodBoolean;
|
|
544
|
-
loss: z.ZodNullable<z.
|
|
545
|
-
loss_uncertainty: z.ZodNullable<z.
|
|
546
|
-
accuracy: z.ZodNullable<z.
|
|
547
|
-
accuracy_uncertainty: z.ZodNullable<z.
|
|
544
|
+
loss: z.ZodNullable<z.ZodUnion<readonly [z.ZodNumber, z.ZodNaN]>>;
|
|
545
|
+
loss_uncertainty: z.ZodNullable<z.ZodUnion<readonly [z.ZodNumber, z.ZodNaN]>>;
|
|
546
|
+
accuracy: z.ZodNullable<z.ZodUnion<readonly [z.ZodNumber, z.ZodNaN]>>;
|
|
547
|
+
accuracy_uncertainty: z.ZodNullable<z.ZodUnion<readonly [z.ZodNumber, z.ZodNaN]>>;
|
|
548
548
|
global_steps: z.ZodNumber;
|
|
549
549
|
current_epoch: z.ZodNumber;
|
|
550
550
|
current_batch: z.ZodNumber;
|
|
@@ -554,13 +554,13 @@ export declare const finetuneProgressSchema: z.ZodObject<{
|
|
|
554
554
|
}, z.core.$strict>;
|
|
555
555
|
export declare const finetuneStatsSchema: z.ZodObject<{
|
|
556
556
|
train_loss: z.ZodOptional<z.ZodNumber>;
|
|
557
|
-
train_loss_uncertainty: z.ZodOptional<z.ZodNullable<z.
|
|
557
|
+
train_loss_uncertainty: z.ZodOptional<z.ZodNullable<z.ZodUnion<readonly [z.ZodNumber, z.ZodNaN]>>>;
|
|
558
558
|
val_loss: z.ZodOptional<z.ZodNumber>;
|
|
559
|
-
val_loss_uncertainty: z.ZodOptional<z.ZodNullable<z.
|
|
559
|
+
val_loss_uncertainty: z.ZodOptional<z.ZodNullable<z.ZodUnion<readonly [z.ZodNumber, z.ZodNaN]>>>;
|
|
560
560
|
train_accuracy: z.ZodOptional<z.ZodNumber>;
|
|
561
|
-
train_accuracy_uncertainty: z.ZodOptional<z.ZodNullable<z.
|
|
561
|
+
train_accuracy_uncertainty: z.ZodOptional<z.ZodNullable<z.ZodUnion<readonly [z.ZodNumber, z.ZodNaN]>>>;
|
|
562
562
|
val_accuracy: z.ZodOptional<z.ZodNumber>;
|
|
563
|
-
val_accuracy_uncertainty: z.ZodOptional<z.ZodNullable<z.
|
|
563
|
+
val_accuracy_uncertainty: z.ZodOptional<z.ZodNullable<z.ZodUnion<readonly [z.ZodNumber, z.ZodNaN]>>>;
|
|
564
564
|
learning_rate: z.ZodOptional<z.ZodNumber>;
|
|
565
565
|
global_steps: z.ZodNumber;
|
|
566
566
|
epochs_completed: z.ZodNumber;
|
|
@@ -576,13 +576,13 @@ export declare const finetuneResponseSchema: z.ZodObject<{
|
|
|
576
576
|
}>;
|
|
577
577
|
stats: z.ZodOptional<z.ZodObject<{
|
|
578
578
|
train_loss: z.ZodOptional<z.ZodNumber>;
|
|
579
|
-
train_loss_uncertainty: z.ZodOptional<z.ZodNullable<z.
|
|
579
|
+
train_loss_uncertainty: z.ZodOptional<z.ZodNullable<z.ZodUnion<readonly [z.ZodNumber, z.ZodNaN]>>>;
|
|
580
580
|
val_loss: z.ZodOptional<z.ZodNumber>;
|
|
581
|
-
val_loss_uncertainty: z.ZodOptional<z.ZodNullable<z.
|
|
581
|
+
val_loss_uncertainty: z.ZodOptional<z.ZodNullable<z.ZodUnion<readonly [z.ZodNumber, z.ZodNaN]>>>;
|
|
582
582
|
train_accuracy: z.ZodOptional<z.ZodNumber>;
|
|
583
|
-
train_accuracy_uncertainty: z.ZodOptional<z.ZodNullable<z.
|
|
583
|
+
train_accuracy_uncertainty: z.ZodOptional<z.ZodNullable<z.ZodUnion<readonly [z.ZodNumber, z.ZodNaN]>>>;
|
|
584
584
|
val_accuracy: z.ZodOptional<z.ZodNumber>;
|
|
585
|
-
val_accuracy_uncertainty: z.ZodOptional<z.ZodNullable<z.
|
|
585
|
+
val_accuracy_uncertainty: z.ZodOptional<z.ZodNullable<z.ZodUnion<readonly [z.ZodNumber, z.ZodNaN]>>>;
|
|
586
586
|
learning_rate: z.ZodOptional<z.ZodNumber>;
|
|
587
587
|
global_steps: z.ZodNumber;
|
|
588
588
|
epochs_completed: z.ZodNumber;
|
|
@@ -590,10 +590,10 @@ export declare const finetuneResponseSchema: z.ZodObject<{
|
|
|
590
590
|
}, z.core.$strict>;
|
|
591
591
|
export declare const finetuneProgressResponseSchema: z.ZodObject<{
|
|
592
592
|
is_train: z.ZodBoolean;
|
|
593
|
-
loss: z.ZodNullable<z.
|
|
594
|
-
loss_uncertainty: z.ZodNullable<z.
|
|
595
|
-
accuracy: z.ZodNullable<z.
|
|
596
|
-
accuracy_uncertainty: z.ZodNullable<z.
|
|
593
|
+
loss: z.ZodNullable<z.ZodUnion<readonly [z.ZodNumber, z.ZodNaN]>>;
|
|
594
|
+
loss_uncertainty: z.ZodNullable<z.ZodUnion<readonly [z.ZodNumber, z.ZodNaN]>>;
|
|
595
|
+
accuracy: z.ZodNullable<z.ZodUnion<readonly [z.ZodNumber, z.ZodNaN]>>;
|
|
596
|
+
accuracy_uncertainty: z.ZodNullable<z.ZodUnion<readonly [z.ZodNumber, z.ZodNaN]>>;
|
|
597
597
|
global_steps: z.ZodNumber;
|
|
598
598
|
current_epoch: z.ZodNumber;
|
|
599
599
|
current_batch: z.ZodNumber;
|
package/dist/schemas/finetune.js
CHANGED
|
@@ -119,10 +119,10 @@ export const finetuneStatusSchema = z.enum(finetuneStatusValues);
|
|
|
119
119
|
export const finetuneProgressSchema = z
|
|
120
120
|
.object({
|
|
121
121
|
is_train: z.boolean(),
|
|
122
|
-
loss: z.
|
|
123
|
-
loss_uncertainty: z.
|
|
124
|
-
accuracy: z.
|
|
125
|
-
accuracy_uncertainty: z.
|
|
122
|
+
loss: z.union([z.number(), z.nan()]).nullable(),
|
|
123
|
+
loss_uncertainty: z.union([z.number(), z.nan()]).nullable(),
|
|
124
|
+
accuracy: z.union([z.number(), z.nan()]).nullable(),
|
|
125
|
+
accuracy_uncertainty: z.union([z.number(), z.nan()]).nullable(),
|
|
126
126
|
global_steps: z.number().int().min(0),
|
|
127
127
|
current_epoch: z.number().int().min(0),
|
|
128
128
|
current_batch: z.number().int().min(0),
|
|
@@ -134,13 +134,13 @@ export const finetuneProgressSchema = z
|
|
|
134
134
|
export const finetuneStatsSchema = z
|
|
135
135
|
.object({
|
|
136
136
|
train_loss: z.number().optional(),
|
|
137
|
-
train_loss_uncertainty: z.
|
|
137
|
+
train_loss_uncertainty: z.union([z.number(), z.nan()]).nullable().optional(),
|
|
138
138
|
val_loss: z.number().optional(),
|
|
139
|
-
val_loss_uncertainty: z.
|
|
139
|
+
val_loss_uncertainty: z.union([z.number(), z.nan()]).nullable().optional(),
|
|
140
140
|
train_accuracy: z.number().optional(),
|
|
141
|
-
train_accuracy_uncertainty: z.
|
|
141
|
+
train_accuracy_uncertainty: z.union([z.number(), z.nan()]).nullable().optional(),
|
|
142
142
|
val_accuracy: z.number().optional(),
|
|
143
|
-
val_accuracy_uncertainty: z.
|
|
143
|
+
val_accuracy_uncertainty: z.union([z.number(), z.nan()]).nullable().optional(),
|
|
144
144
|
learning_rate: z.number().optional(),
|
|
145
145
|
global_steps: z.number().int().min(0),
|
|
146
146
|
epochs_completed: z.number().int().min(0),
|
|
@@ -333,13 +333,13 @@ export declare const llmPlugin: {
|
|
|
333
333
|
}>;
|
|
334
334
|
stats: import("zod").ZodOptional<import("zod").ZodObject<{
|
|
335
335
|
train_loss: import("zod").ZodOptional<import("zod").ZodNumber>;
|
|
336
|
-
train_loss_uncertainty: import("zod").ZodOptional<import("zod").ZodNullable<import("zod").
|
|
336
|
+
train_loss_uncertainty: import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodUnion<readonly [import("zod").ZodNumber, import("zod").ZodNaN]>>>;
|
|
337
337
|
val_loss: import("zod").ZodOptional<import("zod").ZodNumber>;
|
|
338
|
-
val_loss_uncertainty: import("zod").ZodOptional<import("zod").ZodNullable<import("zod").
|
|
338
|
+
val_loss_uncertainty: import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodUnion<readonly [import("zod").ZodNumber, import("zod").ZodNaN]>>>;
|
|
339
339
|
train_accuracy: import("zod").ZodOptional<import("zod").ZodNumber>;
|
|
340
|
-
train_accuracy_uncertainty: import("zod").ZodOptional<import("zod").ZodNullable<import("zod").
|
|
340
|
+
train_accuracy_uncertainty: import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodUnion<readonly [import("zod").ZodNumber, import("zod").ZodNaN]>>>;
|
|
341
341
|
val_accuracy: import("zod").ZodOptional<import("zod").ZodNumber>;
|
|
342
|
-
val_accuracy_uncertainty: import("zod").ZodOptional<import("zod").ZodNullable<import("zod").
|
|
342
|
+
val_accuracy_uncertainty: import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodUnion<readonly [import("zod").ZodNumber, import("zod").ZodNaN]>>>;
|
|
343
343
|
learning_rate: import("zod").ZodOptional<import("zod").ZodNumber>;
|
|
344
344
|
global_steps: import("zod").ZodNumber;
|
|
345
345
|
epochs_completed: import("zod").ZodNumber;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@qvac/sdk",
|
|
3
|
-
"version": "0.9.
|
|
3
|
+
"version": "0.9.2",
|
|
4
4
|
"license": "Apache-2.0",
|
|
5
5
|
"repository": {
|
|
6
6
|
"type": "git",
|
|
@@ -189,7 +189,7 @@
|
|
|
189
189
|
"@qvac/tts-onnx": "^0.8.2",
|
|
190
190
|
"fast-safe-stringify": "2.1.1",
|
|
191
191
|
"which-runtime": "^1.3.2",
|
|
192
|
-
"zod": "^4.0
|
|
192
|
+
"zod": "^4.3.0"
|
|
193
193
|
},
|
|
194
194
|
"devDependencies": {
|
|
195
195
|
"@eslint/js": "^9.33.0",
|