Create job
Create a fine-tuning job with the provided model and training data.
Request body
Response
Fine-tuning job initiated successfully
Example response
{
"id": "ft-01234567890123456789",
"status": "completed",
"created_at": "2023-05-17T17:35:45.123Z",
"updated_at": "2023-05-17T18:46:23.456Z",
"user_id": "user_789xyz012",
"owner_address": "user@example.com",
"total_price": 1500,
"token_count": 850000,
"events": [],
"model": "meta-llama/Llama-2-7b-hf",
"model_output_name": "mynamespace/meta-llama/Llama-2-7b-hf-32162631",
"n_epochs": 3,
"training_file": "file-01234567890123456789",
"wandb_project_name": "my-finetune-project"
}Changes
Changed in 2 of the 14 revisions of this API.13113
- ●
added the new
tokenized_dataset_upload_completeenum value to theevents/items/typeresponse property for the response status200response-property-enum-value-added
- ○
added the optional property
events/items/tokenized_dataset_pathto the response with the200statusresponse-optional-property-added
- ●
- ▲
the
early_stopping_best_metricresponse's property type/format changed fromnumber/floattonumber/for status200response-property-type-changed
- ▲
the
events/items/early_stopping_best_metric_valueresponse's property type/format changed fromnumber/floattonumber/for status200response-property-type-changed
- ▲
the
learning_rateresponse's property type/format changed fromnumber/floattonumber/for status200response-property-type-changed
- ▲
the
lr_scheduler/lr_scheduler_args/oneOf[CosineLRSchedulerArgs]/min_lr_ratioresponse's property type/format changed fromnumber/floattonumber/for status200response-property-type-changed
- ▲
the
lr_scheduler/lr_scheduler_args/oneOf[CosineLRSchedulerArgs]/num_cyclesresponse's property type/format changed fromnumber/floattonumber/for status200response-property-type-changed
- ▲
the
lr_scheduler/lr_scheduler_args/oneOf[LinearLRSchedulerArgs]/min_lr_ratioresponse's property type/format changed fromnumber/floattonumber/for status200response-property-type-changed
- ▲
the
max_grad_normresponse's property type/format changed fromnumber/floattonumber/for status200response-property-type-changed
- ▲
the
training_method/oneOf[TrainingMethodDPO]/dpo_betaresponse's property type/format changed fromnumber/floattonumber/for status200response-property-type-changed
- ▲
the
training_method/oneOf[TrainingMethodDPO]/rpo_alpharesponse's property type/format changed fromnumber/floattonumber/for status200response-property-type-changed
- ▲
the
training_method/oneOf[TrainingMethodDPO]/simpo_gammaresponse's property type/format changed fromnumber/floattonumber/for status200response-property-type-changed
- ▲
the
training_type/oneOf[LoRATrainingType]/lora_dropoutresponse's property type/format changed fromnumber/floattonumber/for status200response-property-type-changed
- ▲
the
warmup_ratioresponse's property type/format changed fromnumber/floattonumber/for status200response-property-type-changed
- ▲
the
weight_decayresponse's property type/format changed fromnumber/floattonumber/for status200response-property-type-changed
- ○
the
early_stopping_min_deltarequest property type/format was generalized fromnumber/floattonumber/request-property-type-generalized
- ○
the
learning_raterequest property type/format was generalized fromnumber/floattonumber/request-property-type-generalized
- ○
the
lr_scheduler/lr_scheduler_args/oneOf[CosineLRSchedulerArgs]/min_lr_ratiorequest property type/format was generalized fromnumber/floattonumber/request-property-type-generalized
- ○
the
lr_scheduler/lr_scheduler_args/oneOf[CosineLRSchedulerArgs]/num_cyclesrequest property type/format was generalized fromnumber/floattonumber/request-property-type-generalized
- ○
the
lr_scheduler/lr_scheduler_args/oneOf[LinearLRSchedulerArgs]/min_lr_ratiorequest property type/format was generalized fromnumber/floattonumber/request-property-type-generalized
- ○
the
max_grad_normrequest property type/format was generalized fromnumber/floattonumber/request-property-type-generalized
- ○
the
training_method/oneOf[TrainingMethodDPO]/dpo_betarequest property type/format was generalized fromnumber/floattonumber/request-property-type-generalized
- ○
the
training_method/oneOf[TrainingMethodDPO]/rpo_alpharequest property type/format was generalized fromnumber/floattonumber/request-property-type-generalized
- ○
the
training_method/oneOf[TrainingMethodDPO]/simpo_gammarequest property type/format was generalized fromnumber/floattonumber/request-property-type-generalized
- ○
the
training_type/anyOf[LoRATrainingType]/lora_dropoutrequest property type/format was generalized fromnumber/floattonumber/request-property-type-generalized
- ○
the
warmup_ratiorequest property type/format was generalized fromnumber/floattonumber/request-property-type-generalized
- ○
the
weight_decayrequest property type/format was generalized fromnumber/floattonumber/request-property-type-generalized
This revision also has 2 changes that name no endpoint, such as unreferenced schemas being removed. See the revision's changelog
- ▲