|
|
@@ -266,15 +266,16 @@ export function Training() {
|
|
|
const tempJob: TrainingJob = {
|
|
|
id: tempId,
|
|
|
model_id: modelId,
|
|
|
+ model_type: modelType,
|
|
|
peft_method: peftMethod,
|
|
|
status: 'pending',
|
|
|
progress: 0,
|
|
|
- loss: null,
|
|
|
+ loss: undefined,
|
|
|
created_at: new Date().toISOString(),
|
|
|
- started_at: null,
|
|
|
- finished_at: null,
|
|
|
- error_message: null,
|
|
|
- adapter_path: null,
|
|
|
+ started_at: undefined,
|
|
|
+ finished_at: undefined,
|
|
|
+ error_message: undefined,
|
|
|
+ adapter_path: undefined,
|
|
|
current_epoch: 0,
|
|
|
current_step: 0,
|
|
|
total_steps: 0,
|