This repository was archived by the owner on Jun 6, 2024. It is now read-only.
File tree 5 files changed +47
-2
lines changed
main/java/com/theokanning/openai/fine_tuning
java/com/theokanning/openai
5 files changed +47
-2
lines changed Original file line number Diff line number Diff line change @@ -15,6 +15,11 @@ public class FineTuningEvent {
15
15
*/
16
16
String object ;
17
17
18
+ /**
19
+ * The ID of the fine-tuning event.
20
+ */
21
+ String id ;
22
+
18
23
/**
19
24
* The creation time in epoch seconds.
20
25
*/
Original file line number Diff line number Diff line change 12
12
import com .theokanning .openai .embedding .EmbeddingResult ;
13
13
import com .theokanning .openai .engine .Engine ;
14
14
import com .theokanning .openai .file .File ;
15
+ import com .theokanning .openai .fine_tuning .FineTuningEvent ;
16
+ import com .theokanning .openai .fine_tuning .FineTuningJob ;
17
+ import com .theokanning .openai .fine_tuning .FineTuningJobRequest ;
15
18
import com .theokanning .openai .finetune .FineTuneEvent ;
16
19
import com .theokanning .openai .finetune .FineTuneResult ;
17
- import com .theokanning .openai .image .CreateImageEditRequest ;
18
- import com .theokanning .openai .image .CreateImageRequest ;
19
20
import com .theokanning .openai .image .ImageResult ;
20
21
import com .theokanning .openai .model .Model ;
21
22
import com .theokanning .openai .moderation .ModerationRequest ;
@@ -43,6 +44,9 @@ public class JsonTest {
43
44
File .class ,
44
45
FineTuneEvent .class ,
45
46
FineTuneResult .class ,
47
+ FineTuningEvent .class ,
48
+ FineTuningJob .class ,
49
+ FineTuningJobRequest .class ,
46
50
ImageResult .class ,
47
51
TranscriptionResult .class ,
48
52
TranslationResult .class ,
Original file line number Diff line number Diff line change
1
+ {
2
+ "object" : " fine_tuning.job.event" ,
3
+ "id" : " ft-event-ddTJfwuMVpfLXseO0Am0Gqjm" ,
4
+ "created_at" : 1692407401 ,
5
+ "level" : " info" ,
6
+ "message" : " Fine tuning job successfully completed" ,
7
+ "type" : " message"
8
+ }
Original file line number Diff line number Diff line change
1
+ {
2
+ "id" : " ftjob-abc123" ,
3
+ "object" : " fine_tuning.job" ,
4
+ "model" : " davinci-002" ,
5
+ "status" : " succeeded" ,
6
+ "hyperparameters" : {
7
+ "n_epochs" : 4
8
+ },
9
+ "created_at" : 1692661014 ,
10
+ "finished_at" : 1692661190 ,
11
+ "fine_tuned_model" : " ft:davinci-002:my-org:custom_suffix:7q8mpxmy" ,
12
+ "organization_id" : " org-123" ,
13
+ "training_file" : " file-abc123" ,
14
+ "result_files" : [
15
+ " file-abc123"
16
+ ],
17
+ "validation_file" : " validation-file" ,
18
+ "trained_tokens" : 5768
19
+ }
Original file line number Diff line number Diff line change
1
+ {
2
+ "model" : " davinci-002" ,
3
+ "validation_file" : " file-abc123" ,
4
+ "training_file" : " file-abc123" ,
5
+ "hyperparameters" : {
6
+ "n_epochs" : 4
7
+ },
8
+ "suffix" : " test"
9
+ }
You can’t perform that action at this time.
0 commit comments