Skip to main content

Command Structure

The AITraining CLI follows a consistent pattern for all commands.

Basic Syntax

Available Commands

SpaceRunner requirements: The spacerunner command requires --project-name, --script-path, --username, --token, and --backend to be specified.

Getting Help

General Help

Command-Specific Help

Trainer-Specific Help

For LLM training, see parameters for a specific trainer:
Or use preview mode:

Global Options

These options are truly global (work at the top level):
The --backend option is available on most training commands but is registered per-command, not globally. See Global Options for backend details.

Config File Usage

Instead of command-line arguments, use a YAML config:

Examples

Basic LLM Training

With LoRA

Text Classification

Interactive Mode

Run without arguments to start the interactive wizard:
Or explicitly:

Next Steps

LLM Training

Full guide to training LLMs

YAML Configs

Using configuration files