Install any skill in seconds. Free to start, no credit card required.
Get Started Free →Fine-tunes open-weight LLMs with LlamaFactory via YAML configs: registers datasets, trains LoRA or full models, merges adapters, serves.
70% 100%+30 ptsof test cases passed
Passed 23 of 23 test cases with the skill, and 16 of 23 without it.
3 of 3 safety checks passed
Not used yet
LlamaFactory fine-tunes open-weight LLMs (LoRA/QLoRA and full-parameter; SFT, DPO and more) through the llamafactory-cli command driven by YAML configs.
If the user's message only invokes this skill (e.g. "use llamafactory skill") without a concrete request, ask the user what they want to fine-tune. Do not run any command until the goal is clear.
Confirm before training:
nvidia-smi) — it bounds the model size and method; LoRA needs far less than full fine-tuning.git clone --depth 1 https://github.com/hiyouga/LlamaFactory.git
cd LlamaFactory
pip install -e .
pip install -r requirements/metrics.txt # optional: evaluation metrics
Register every dataset in data/dataset_info.json; the alpaca and sharegpt formats are supported. A minimal local entry:
"my_dataset": { "file_name": "my_dataset.json" }
alpaca rows carry instruction / input / output; sharegpt rows carry a conversations list. Put the data file under data/ next to the registry.
Training is driven by a YAML config. Start from the shipped example examples/train_lora/qwen3_lora_sft.yaml, or save a minimal config as my_sft.yaml, e.g. for Qwen/Qwen3-1.7B:
model_name_or_path: Qwen/Qwen3-1.7B
Skills that do similar work, with their benchmark result.
Next to this one in the catalogue, plus more from the same author.