Fine-tune a Llama model with Unsloth + LoRA without Googling
Quando usar: You have a dataset and want Claude to produce a runnable training script with correct flags.
Pré-requisitos
- Unsloth installed — pip install unsloth — the skill will remind you of the nightly build caveats
Fluxo
-
Describe the target runUse the unsloth skill. Fine-tune Llama-3-8B on my dataset at ~/data/train.jsonl, QLoRA, 3 epochs, output to ./out.✓ Copiado→ Claude writes a script with correct Unsloth imports and real CLI flags
-
Ask for the config explanationWalk me through each hyperparameter and why.✓ Copiado→ Reasoning grounded in Unsloth's docs, not generic ML clichés
Resultado: A training script that runs on the first try.
Armadilhas
- Claude mixes HF Trainer and Unsloth idioms — Insist on 'use the unsloth skill only' — don't pull from Transformers skill