Mistral AI · Schema

CreateFineTuningJobRequest

AgentsArtificial IntelligenceBatch ProcessingChatEmbeddingsFine-TuningLarge Language ModelsOCR

Properties

Name Type Description
model string The name of the model to fine-tune.
training_files array A collection of training file IDs with optional weights.
validation_files array A collection of validation file IDs.
hyperparameters object
suffix string A string that will be added to the fine-tuned model name.
auto_start boolean Whether to automatically start the fine-tuning job after validation. If false, the job must be started manually.
integrations array A list of integrations to enable for the fine-tuning job, such as Weights and Biases for experiment tracking.
View JSON Schema on GitHub

JSON Schema

mistral-ai-createfinetuningjobrequest-schema.json Raw ↑
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "#/components/schemas/CreateFineTuningJobRequest",
  "title": "CreateFineTuningJobRequest",
  "type": "object",
  "required": [
    "model",
    "training_files"
  ],
  "properties": {
    "model": {
      "type": "string",
      "description": "The name of the model to fine-tune.",
      "example": "open-mistral-7b"
    },
    "training_files": {
      "type": "array",
      "description": "A collection of training file IDs with optional weights.",
      "items": {
        "$ref": "#/components/schemas/TrainingFile"
      }
    },
    "validation_files": {
      "type": "array",
      "description": "A collection of validation file IDs.",
      "items": {
        "type": "string",
        "format": "uuid"
      }
    },
    "hyperparameters": {
      "$ref": "#/components/schemas/Hyperparameters"
    },
    "suffix": {
      "type": "string",
      "description": "A string that will be added to the fine-tuned model name.",
      "maxLength": 18
    },
    "auto_start": {
      "type": "boolean",
      "description": "Whether to automatically start the fine-tuning job after validation. If false, the job must be started manually.",
      "default": false
    },
    "integrations": {
      "type": "array",
      "description": "A list of integrations to enable for the fine-tuning job, such as Weights and Biases for experiment tracking.",
      "items": {
        "$ref": "#/components/schemas/Integration"
      }
    }
  }
}