latestOpenAPI 3.1.02026-08-236994571.1 MB
79928a3d37d3
fine-tuning
✨ (Enterprise) Create Fine-Tuning Job
Creates a fine-tuning job which begins the process of creating a new model from a given dataset. This is the equivalent of POST https://api.openai.com/v1/fine_tuning/jobs
Supports Identical Params as: https://platform.openai.com/docs/api-reference/fine-tuning/create
Example Curl:
curl http://localhost:4000/v1/fine_tuning/jobs -H "Content-Type: application/json" -H "Authorization: Bearer sk-1234" -d '{
"model": "gpt-3.5-turbo",
"training_file": "file-abc123",
"hyperparameters": {
"n_epochs": 4
}
}'
post/v1/fine_tuning/jobs
Request body
Response
Successful Response
{"stackTrail":"paths:/v1/fine_tuning/jobs:post:responses:200:content:application/json:schema","oasType":"schema","type":"unknown"}