Fine-Tuning Service
Create Fine-tuning Job
Create a fine-tuning job
POST
Requires version 1.1.5 or later of the Archetype platform.
Overview
Submits a fine-tuning job for the selected model. The request body varies bymodel; see the
request schema for the per-model methods, hyperparameters, and accepted file formats. Poll the
returned job for its status, using the Get Job endpoint.
Request
Describes the new fine-tuning job. The exact shape of the input parameters depends on themodel
you specify.
The base model to fine-tune. One of
newton or omega.A human-readable name for the fine-tuning job. This is used to identify the job in listings and results.
Optional string which is appended to the name of the resulting fine-tuned model to help tell it apart from other fine-tunes.
Optional random seed controlling reproducibility. The same seed with the same inputs produces
the same results where possible. Omit this parameter to use a random seed.
Optional checkpoint (
ckp_...) to warm-start from; omit to train from the base model. Options
can be sourced using the List Checkpoint Options endpoint.The fine-tuning method to use along with its settings. The available methods depend on the selected
model.The files used to train the model.
An optional array of files used to evaluate the model during training; metrics on these files help you spot overfitting. Uses the same per-model file shapes as
training_files.Response
Returns a description of the new fine-tuning job.The object type. Always
fine_tuning.job.A unique ID for the fine-tuning job.
The human-readable name supplied when the job was created.
The base model being fine-tuned.
The Unix timestamp (in seconds) at which the job was created.
The organization that owns the job.
The job’s current lifecycle stage. Mirrors the underlying Jobs Orchestraation Service job
status. A job that finished processing is
COMPLETED regardless of whether some inputs
failed; inspect outcome for that information. One of PENDING, ADMITTED, RUNNING, COMPLETED,
FAILED, PREEMPTED, CANCELLED, PAUSED, INTERRUPTED.An array of file IDs indicating the files used to train the model.
An array of file IDs indicating the files used to evaluate the model during training.
When the job has failed, this array describes the error(s) which occurred, as the platform
error envelope (a list of
{code, message, suggestion, error_uid}). Empty while the job is
queued/running or on success. See Error Handling for more information
about handling platform errors.The checkpoint the job was started from, or
null if it trained from the base model.Name of the finely-tuned model produced by the job, available once training has succeeded;
null until then.The Unix timestamp (in seconds) at which the job finished, or
null if it is not yet complete.For a
COMPLETED job, this indicates whether it succeeded fully (SUCCESS), partially
(PARTIAL), or produced nothing (FAILED). This is null for any non-completed status.The random seed used for the job.
The suffix supplied on the request, applied to the fine-tuned model’s name.