/fine_tuning/jobsCreate a fine-tuning job
Creates and queues a fine-tuning job to train a model on a dataset. Supply model and training_file, and optionally configure the training method, validation data, integrations, and metadata. The job runs asynchronously; retrieve it with GET /fine_tuning/jobs/{fine_tuning_job_id} to check its status.
- IdempotentThe SDK sends
Idempotency-Key, so a retried request is only applied once.
Fine-tuning job configuration. model and training_file are required; the other fields are optional.
A 400 is returned when the request is invalid or the organization does not meet the requirements to create a job; a 429 is returned when a request or fine-tuning job limit is exceeded. Provide both model and training_file; method.type must be supervised, dpo, or reinforcement, and seed must be between 0 and 2147483647 when supplied. The suffix must contain 1 to 64 characters, and an integration must use type wandb with a wandb.project value.