Skip to content
masterclass Buddy

AI & ML · Concept

Batch Size

Batch size is the number of examples processed before a fine-tuning weight update. Start with OpenAI's default, then adjust it only when evaluation shows a need.

Last updated

Syntax

batch_size: integer

In-depth API docs are only for subscribers: parameters, examples, common mistakes and interview practice.

Subscribe
  • Fine-tuning
  • Supervised fine-tuning
  • Epochs
  • Learning rate multiplier
  • Hyperparameters

Source: Fine-tuning best practices | OpenAI API. Checked 2026-11-03.