How can I set n_epochs here: openai.FineTuningJob.create ?
The default is 3 and I want to increase it.
hyperparameters
object
Optional
The hyperparameters used for the fine-tuning job.
n_epochs
string or integer
Optional
Defaults to auto
The number of epochs to train the model for. An epoch refers to one full cycle through the training dataset.
https://platform.openai.com/docs/api-reference/fine-tuning/create?lang=node.js
The one you are referring is deprecated → OpenAI Platform
I want n_epochs for new version of fine-tuning OpenAI Platform
I haven’t tried, but I’m pretty sure you can set it like before by just setting the parameter to what you want.
What have you tried so far?
refer to this :How do you set the number of epochs for FineTune.create on ChatGPT? · Issue #589 · openai/openai-python · GitHub
give your command in the following format
openai.FineTuningJob.create([…], hyperparameters={“n_epochs”:value, })