> ## Documentation Index
> Fetch the complete documentation index at: https://docs.monostate.ai/llms.txt
> Use this file to discover all available pages before exploring further.

# Help System

> Navigate the CLI help and documentation

# Help System

The AITraining CLI has a comprehensive help system.

## General Help

See all available commands:

```bash theme={null}
aitraining --help
```

Output shows:

* Available subcommands
* Global options
* Usage examples

## Command Help

Get help for a specific command:

```bash theme={null}
aitraining llm --help
aitraining text-classification --help
aitraining chat --help
```

## Trainer-Specific Help

For LLM training, parameters vary by trainer. View trainer-specific help:

```bash theme={null}
# SFT trainer parameters
aitraining llm --trainer sft --help

# DPO trainer parameters
aitraining llm --trainer dpo --help

# ORPO trainer parameters
aitraining llm --trainer orpo --help

# PPO trainer parameters
aitraining llm --trainer ppo --help
```

### Preview Mode

Preview help for a trainer without setting it:

```bash theme={null}
aitraining llm --preview-trainer dpo --help
```

This shows DPO parameters without committing to DPO training.

## Parameter Groups

Help output organizes parameters into groups:

* **Basic** - Model, data, project settings
* **Data Processing** - Text columns, chat templates, tokenization
* **Training Configuration** - Trainer, logging, saving
* **Training Hyperparameters** - LR, epochs, batch size
* **PEFT/LoRA** - Adapter settings
* **DPO/ORPO** - Preference learning params
* **Hub Integration** - Push to Hugging Face
* **Knowledge Distillation** - Teacher-student params
* **Hyperparameter Sweep** - Auto-tuning options
* **Enhanced Evaluation** - Advanced metrics
* **Advanced Features** - Custom loss, custom metrics
* **Reinforcement Learning** - PPO settings
* **Inference** - Inference prompts and generation params

## Finding Parameters

### By Name

Search help output:

```bash theme={null}
aitraining llm --help | grep lora
```

### By Group

Look for section headers in help output:

```
PEFT/LoRA:
  --peft                Enable LoRA training
  --lora-r              LoRA rank (default: 16)
  --lora-alpha          LoRA alpha (default: 32)
```

## Quick Reference

| Command                             | Purpose                  |
| ----------------------------------- | ------------------------ |
| `aitraining --help`                 | All commands             |
| `aitraining llm --help`             | LLM training options     |
| `aitraining llm --trainer X --help` | Trainer-specific options |
| `aitraining chat --help`            | Chat interface options   |

## Next Steps

<CardGroup cols={2}>
  <Card title="LLM Training" href="/cli/llm-training">
    Train language models
  </Card>

  <Card title="YAML Configs" href="/cli/yaml-configs">
    Configuration files
  </Card>
</CardGroup>
