Python (SDK)
Fine-Tuning
Create a fine-tuning job
Creates a fine-tuning job which begins the process of training a new model from a given dataset.
POST
Python (SDK)
Documentation Index
Fetch the complete documentation index at: https://docs.mka1.com/llms.txt
Use this file to discover all available pages before exploring further.
Authorizations
Gateway auth: send Authorization: Bearer <mka1-api-key>. For multi-user server-side integrations, you can also send X-On-Behalf-Of: <external-user-id>.
Body
application/json
The base model to fine-tune
File ID of the training data JSONL file
File ID of the validation data JSONL file
Suffix appended to the fine-tuned model name
Maximum string length:
64Seed for reproducibility
Required range:
-9007199254740991 <= x <= 9007199254740991Deprecated: use method instead
Fine-tuning method configuration
External integrations
Up to 16 key-value pairs
Response
200 - application/json
OK
Required range:
-9007199254740991 <= x <= 9007199254740991Available options:
validating_files, queued, running, succeeded, failed, cancelled Required range:
-9007199254740991 <= x <= 9007199254740991Required range:
-9007199254740991 <= x <= 9007199254740991Required range:
-9007199254740991 <= x <= 9007199254740991Required range:
-9007199254740991 <= x <= 9007199254740991