Skip to main content
Deno 2 is finally here 🎉️
Learn more
Module

x/openai/resources/fine-tuning/jobs/jobs.ts>FineTuningJob.Hyperparameters

Deno build of the official Typescript library for the OpenAI API.
Extremely Popular
Go to Latest
interface FineTuningJob.Hyperparameters
import { type FineTuningJob } from "https://deno.land/x/openai@v4.51.0/resources/fine-tuning/jobs/jobs.ts";
const { Hyperparameters } = FineTuningJob;

The hyperparameters used for the fine-tuning job. See the fine-tuning guide for more details.

Properties

n_epochs: "auto" | number

The number of epochs to train the model for. An epoch refers to one full cycle through the training dataset. "auto" decides the optimal number of epochs based on the size of the dataset. If setting the number manually, we support any number between 1 and 50 epochs.