We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent ae903d7 commit a7e9f0eCopy full SHA for a7e9f0e
fine_tuning_job.go
@@ -26,7 +26,9 @@ type FineTuningJob struct {
26
}
27
28
type Hyperparameters struct {
29
- Epochs any `json:"n_epochs,omitempty"`
+ Epochs any `json:"n_epochs,omitempty"`
30
+ LearningRateMultiplier any `json:"learning_rate_multiplier,omitempty"`
31
+ BatchSize any `json:"batch_size,omitempty"`
32
33
34
type FineTuningJobRequest struct {
fine_tuning_job_test.go
@@ -33,7 +33,9 @@ func TestFineTuningJob(t *testing.T) {
ValidationFile: "",
TrainingFile: "file-abc123",
35
Hyperparameters: openai.Hyperparameters{
36
- Epochs: "auto",
+ Epochs: "auto",
37
+ LearningRateMultiplier: "auto",
38
+ BatchSize: "auto",
39
},
40
TrainedTokens: 5768,
41
})
0 commit comments