Start a new LLM/VLM training job
Submit a new training job with the specified configuration, training data, and metadata.
Authorizations
JWT token for authentication
Headers
Bearer token for authentication and authorization.
Body
JSON-formatted string containing the model training configuration.
"{\n \"model_type\": \"vlm\",\n \"base_model\": \"AIDC-AI/Ovis1.6-Llama3.2-3B\",\n \"adapter\": {\n \"lora_r\": 16\n },\n \"quantization\": {\n \"bits\": 4,\n \"llm_int8_threshold\": 6,\n \"llm_int8_has_fp16_weight\": false,\n \"bnb_4bit_compute_dtype\": \"float16\",\n \"bnb_4bit_use_double_quant\": true,\n \"bnb_4bit_quant_type\": \"nf4\"\n },\n \"trainer\": {\n \"type\": \"finetune\",\n \"learning_rate\": 0.0001,\n \"batch_size\": 1,\n \"epochs\": 1,\n \"gradient_accumulation_steps\": 16,\n \"logging_steps\": 1\n },\n \"image_column\": \"url\",\n \"output_column\": \"caption\",\n \"prompt\": {\n \"template\": \"Could you please interpret the image and write a detailed caption?\"\n }\n}\n"
Name assigned to the training experiment.
"my_first_vlm_job"
CSV or JSONL file containing the training dataset.
Organization ID associated with the training job.
"0bf00b43-430a-4ca3-a8b3-b13cc8dc6d4d"