POST
/
v2
/
projects
/
{project_id}
/
finetune

Authorizations

Authorization
string
headerrequired

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

Path Parameters

project_id
string
required

The unique identifier of the project

Body

application/json
taskType
enum<string>
required

The type of task for which the model is being fine-tuned

Available options:
classification,
extraction,
generation
modelBase
string
required

The base model to be fine-tuned, e.g., BERT

hyperparameters
object

Hyperparameters to be used for fine-tuning the model

Response

200 - application/json
finetune_job_id
string

The unique identifier of the fine-tuning job