POST
/
fine_tunes
/
create_finetune

Authorizations

Authorization
string
header
required

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

Body

application/json
dataset_id
string
required
model
string
required
n_epochs
integer
required
name
string
required
train_with_lora
boolean
required
batch_size
integer
early_stopping_config
object
learning_rate
number
lora_config
object
n_checkpoints_and_evaluations_per_epoch
integer
default:
1
save_only_best_checkpoint
boolean
default:
false
wandb_key
string

Response

200 - application/json
checkpoints_count
integer
config
object
dataset_id
string
engine_data
object
id
string
model_id
string
name
string
total_steps
integer
user_id
string