Finetune & Inference endpoints
Train model
This endpoint allows you to fine-tune a model within a specified project.
POST
/
v2
/
projects
/
{project_id}
/
finetune
Authorizations
Authorization
string
headerrequiredBearer authentication header of the form Bearer <token>
, where <token>
is your auth token.
Path Parameters
project_id
string
requiredThe unique identifier of the project
Body
application/json
taskType
enum<string>
requiredThe type of task for which the model is being fine-tuned
Available options:
classification
, extraction
, generation
modelBase
string
requiredThe 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