cURL
curl --request POST \ --url https://api.example.com/v1/fine-tuning \ --header 'Content-Type: application/json' \ --header 'x-api-key: <api-key>' \ --data ' { "base_model_name": "<string>", "dataset_name": "<string>", "parameters": { "batch_size": 8, "num_epochs": 3, "shuffle": true, "lr": 0.0003, "seed": 42 }, "name": "<string>", "type": "LORA" } '
{ "id": "3c90c3cc-0d44-4b50-8888-8dd25736052a", "created_at": "2023-11-07T05:31:56Z", "updated_at": "2023-11-07T05:31:56Z", "status": "NEW", "base_model_name": "<string>", "dataset_name": "<string>", "name": "<string>", "type": "LORA", "current_step": 123, "total_steps": 123, "current_epoch": 123, "total_epochs": 123, "num_tokens": 123 }
Show child attributes
The name of the fine-tuning job
The type of fine-tuning job to run
LORA
QLORA
Created
NEW
QUEUED
RUNNING
COMPLETED
FAILED
STOPPING
STOPPED
Number of tokens processed in the fine-tuning job