@@ -15,7 +15,7 @@ class Error(BaseModel):
15
15
message : str
16
16
"""A human-readable error message."""
17
17
18
- param : Optional [str ]
18
+ param : Optional [str ] = None
19
19
"""The parameter that was invalid, usually `training_file` or `validation_file`.
20
20
21
21
This field will be null if the failure was not parameter-specific.
@@ -39,19 +39,19 @@ class FineTuningJob(BaseModel):
39
39
created_at : int
40
40
"""The Unix timestamp (in seconds) for when the fine-tuning job was created."""
41
41
42
- error : Optional [Error ]
42
+ error : Optional [Error ] = None
43
43
"""
44
44
For fine-tuning jobs that have `failed`, this will contain more information on
45
45
the cause of the failure.
46
46
"""
47
47
48
- fine_tuned_model : Optional [str ]
48
+ fine_tuned_model : Optional [str ] = None
49
49
"""The name of the fine-tuned model that is being created.
50
50
51
51
The value will be null if the fine-tuning job is still running.
52
52
"""
53
53
54
- finished_at : Optional [int ]
54
+ finished_at : Optional [int ] = None
55
55
"""The Unix timestamp (in seconds) for when the fine-tuning job was finished.
56
56
57
57
The value will be null if the fine-tuning job is still running.
@@ -86,7 +86,7 @@ class FineTuningJob(BaseModel):
86
86
`validating_files`, `queued`, `running`, `succeeded`, `failed`, or `cancelled`.
87
87
"""
88
88
89
- trained_tokens : Optional [int ]
89
+ trained_tokens : Optional [int ] = None
90
90
"""The total number of billable tokens processed by this fine-tuning job.
91
91
92
92
The value will be null if the fine-tuning job is still running.
@@ -99,7 +99,7 @@ class FineTuningJob(BaseModel):
99
99
[Files API](https://platform.openai.com/docs/api-reference/files/retrieve-contents).
100
100
"""
101
101
102
- validation_file : Optional [str ]
102
+ validation_file : Optional [str ] = None
103
103
"""The file ID used for validation.
104
104
105
105
You can retrieve the validation results with the
0 commit comments