Skip to main content

praisonai.train

Wrapper This script finetunes a model using Unsloth’s fast training framework. It supports both ShareGPT and Alpaca‑style datasets by converting raw conversation data into plain-text prompts using a chat template, then pre‑tokenizing the prompts. Extra debug logging is added to help trace the root cause of errors.

Overview

This module provides components for train.

Classes

Functions