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

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

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

The hyperparameters used for the fine-tuning job.

Properties

optional
batch_size: "auto" | number

Number of examples in each batch. A larger batch size means that model parameters are updated less frequently, but with lower variance.

optional
learning_rate_multiplier: "auto" | number

Scaling factor for the learning rate. A smaller learning rate may be useful to avoid overfitting.

optional
n_epochs: "auto" | number

The number of epochs to train the model for. An epoch refers to one full cycle through the training dataset.