Fine-tuning (Train)

Prompting and RAG solve most agent tasks first. Fine-tuning wins when you need predictable structured formatting, lower latency, 10x lower cost per million tokens, or strict on-premise privacy on a repeatable task.

This 8-step course walks you through the complete praisonai-train lifecycle: decision math, trace curation, JSONL validation, LoRA configuration, local/remote training, objective benchmarking, GGUF/Ollama export, and a domain-specialist support classifier project.

Dataset validation and evaluation scripts run right here in Try it Yourself; GPU/Apple Silicon training commands run on your local or remote machine.

Explore praisonai-train commands and model catalog

Verify the training CLI and inspect which base models are ready in the built-in catalog before choosing a model size.

Example

pip install praisonai-train
praisonai train --help
praisonai train catalog models

Example explained

  • pip install praisonai-train — Installs the standalone fine-tuning package (also bundled in praisonai extras).
  • praisonai train catalog models — Lists curated open-weight base models (Llama, Qwen, Gemma, Mistral) with memory requirements.

Next

Exercises · Quiz · Reference