Trains and deploys a fine-tuned model.

Creates a new fine-tuned model. The model will be trained on the dataset specified in the request body. The training process may take some time, and the model will be available once the training is complete.

Headers

AuthorizationstringRequired

Bearer authentication of the form Bearer <token>, where token is your auth token.

X-Client-NamestringOptional
The name of the project that is making the request.

Request

This endpoint expects an object.
namestringRequired

FinetunedModel name (e.g. foobar).

settingsobjectRequired
FinetunedModel settings such as dataset, hyperparameters...
statusenumOptionalDefaults to STATUS_UNSPECIFIED

read-only. Current stage in the life-cycle of the fine-tuned model.

Response

A successful response.
finetuned_modelobject or null

Information about the fine-tuned model.

Errors