Fine-tune a Llama model with Unsloth + LoRA without Googling
언제 쓸까: You have a dataset and want Claude to produce a runnable training script with correct flags.
사전 조건
- Unsloth installed — pip install unsloth — the skill will remind you of the nightly build caveats
흐름
-
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.✓ 복사됨→ Claude writes a script with correct Unsloth imports and real CLI flags
-
Ask for the config explanationWalk me through each hyperparameter and why.✓ 복사됨→ Reasoning grounded in Unsloth's docs, not generic ML clichés
결과: A training script that runs on the first try.
함정
- Claude mixes HF Trainer and Unsloth idioms — Insist on 'use the unsloth skill only' — don't pull from Transformers skill