Skip to main content

Overview

This schema is used for fine-tuning models with text chat messages capabilities.

Schema Type

When creating a fine-tune with this schema, use:
Key Parameters:
  • script_type: text_chat_messages (the fine-tune type)
  • base_model: One of the supported model canonical names below

Supported Models

  • OpenAI/GPT-OSS-20B (openai/gpt-oss-20b)
  • Llama 3.1 8B Instruct (meta-llama/Llama-3.1-8B-Instruct)
  • Llama 4 Scout (meta-llama/Llama-4-Scout-17B-16E-Instruct)
  • Llama 3.2 3B Instruct (meta-llama/Llama-3.2-3B-Instruct)
  • Qwen/Qwen3-1.7B (Qwen/Qwen3-1.7B)
  • Qwen/Qwen3-4B (Qwen/Qwen3-4B)
  • Qwen/Qwen3-0.6B (Qwen/Qwen3-0.6B)

Request Schema

Required Fields

Example Request

Field Details

batch_size

Type: integer Default: 1 Minimum: 1

enable_thinking

Type: boolean Default: false

epochs

Type: integer Default: 1 Minimum: 1

grad_accum

Type: integer Default: 1 Minimum: 1

learning_rate

Type: number Default: 0.0001 Minimum: 0

logging_steps

Type: integer Default: 10 Minimum: 1

lora_alpha

Type: integer Default: 16 Minimum: 1

lora_rank

Type: integer Default: 16 Minimum: 1

messages_column

Messages (input) Column Type: string

neftune_noise_alpha

Type: number Default: 0 Minimum: 0

save_steps_ratio

Type: number Default: 0.25

save_strategy

Type: string Default: "epoch"

seq_length

Type: integer Default: 1024 Minimum: 1

use_lora

Use LoRA Type: boolean Enable LoRA for faster fine-tuning and lower memory use Default: true