Client Setup
All providers use the OpenAI SDK with provider-specific headers. Choose your provider to get started:Training File Format
Create a JSONL file with one JSON object per line. Each line represents a conversation pair for training:Workflow Steps
The finetuning process follows these steps for all providers:- Upload: Upload training file → Get file ID
- Create: Create finetune job → Get job ID
- Monitor: Check status until complete
- Use: Use the fine-tuned model for inference
Step-by-Step Examples
1. Upload Training File
1. Upload Training File
2. Create Finetune Job
2. Create Finetune Job
3. Monitor Job Status
3. Monitor Job Status
Status Reference
queued: Job is queued and waiting to startrunning: Fine-tuning is in progresssucceeded: Fine-tuning completed successfullyfailed: Fine-tuning failed
Hyperparameters
You can configure the following hyperparameters in thehyperparameters object:
n_epochs: Number of training epochsbatch_size: Batch sizelearning_rate_multiplier: Learning rate multiplier