Skip to main content

finetune

Drive a LoRA/QLoRA adapter training run end-to-end for this repo's fine-tuning verbs: validates the dataset and scope guard (GPU-free), resolves the plan via `sloth train --dry-run`, then (for a real run) runs the full adapter job (`sloth train`), evaluates the adapter against a task-schema JSONL eval suite (`sloth eval`), and exports it to a standard PEFT/safetensors layout (`sloth export`). The loop stops on the first non-zero exit and surfaces the CLI's `error:`/`hint:` output verbatim. Supports `--json` throughout for machine-readable output. Use when the user says "fine-tune a model", "run the training loop", "train a LoRA adapter", "validate my dataset", "dry-run the training plan", or "drive the train → eval → export loop end-to-end". Dry-run mode (GPU-free) works on any machine; a real run requires the tuning stack (which ships with `unsloth-cli` — `uv tool install unsloth-cli`) and a CUDA-capable GPU. First-party to unsloth-cli; not vendored from guildmaster.

Jump to install

Source facts

Repository
agentculture/unsloth-cli
Last source activity
June 26, 2026 at 14:35
Detected SKILL.md language
English
Stars
1
Forks
0

Install options

The review-first prompt is selected by default. You can switch to a direct command or download a local copy.

Review the source files

Read SKILL.md and any companion files shown by SkillsMP before deciding whether to install.