curl --request POST \
--url https://api.getflex.ai/v1/fine_tunes/create_finetune \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '{
"name": "<string>",
"model": "<string>",
"dataset_id": "<string>",
"n_epochs": 123,
"train_with_lora": true,
"batch_size": 123,
"wandb_key": "<string>",
"learning_rate": 123,
"n_checkpoints_and_evaluations_per_epoch": 1,
"save_only_best_checkpoint": false,
"lora_config": {},
"early_stopping_config": {}
}'