fine-tuning-llama-factory — Claude Code skill: install guide
Guides fine-tuning workflows with LLaMA-Factory, covering no-code WebUI setups and QLoRA quantization. Useful when training open-source models like Llama, Qwen, or Gemma.
npx claude-code-templates@latest --skill ai-research/fine-tuning-llama-factoryWhat fine-tuning-llama-factory does
This skill supplies Claude Code with reference guides for training language and multimodal models via LLaMA-Factory. It covers over 100 architectures. You can ask the assistant to configure QLoRA from 2-bit to 8-bit precision or launch the no-code WebUI.
The skill organizes documentation inside a references/ folder with dedicated files for onboarding, advanced configurations, and image processing. The assistant inspects these files directly to extract code snippets or debug configurations. Running LLaMA-Factory requires dependencies such as torch, peft, and transformers in your environment.
What it helps with
- Configure model fine-tuning through the no-code WebUI
- Set up QLoRA with 2-bit to 8-bit quantization
- Prepare multimodal training for Llama, Qwen, or Gemma models
- Look up configuration parameters for
peftandaccelerate
Example prompts for the agent
- Help me configure 4-bit QLoRA for fine-tuning a Qwen model in LLaMA-Factory
- How do I launch the LLaMA-Factory no-code WebUI for training?
- Check advanced.md for multimodal fine-tuning parameters in LLaMA-Factory
How to install fine-tuning-llama-factory
1claude-code-templates
npx claude-code-templates@latest --skill ai-research/fine-tuning-llama-factory2Skills CLI (Vercel)
npx skills add davila7/claude-code-templates --skill fine-tuning-llama-factory -a claude-code3Manually: put the files in place
~/.claude/skills/fine-tuning-llama-factory/SKILL.mdCopy the whole skill folder; for one project use .claude/skills/fine-tuning-llama-factory/
Manually: put the files in place
.agents/skills/fine-tuning-llama-factory/SKILL.mdFor all projects use ~/.agents/skills/
Manually: put the files in place
.cursor/skills/fine-tuning-llama-factory/SKILL.mdCursor also reads .agents/skills/ and .claude/skills/
1GitHub CLI
gh skill install davila7/claude-code-templates fine-tuning-llama-factory2Manually: put the files in place
.github/skills/fine-tuning-llama-factory/SKILL.mdPlatform CLI
gemini skills install https://github.com/davila7/claude-code-templates --path cli-tool/components/skills/ai-research/fine-tuning-llama-factoryManually: put the files in place
.devin/skills/fine-tuning-llama-factory/SKILL.mdThe legacy .windsurf/skills/ path still works
Claude.ai
Zip the folder and upload it in Settings → Capabilities → Skills
Step by step, with commands for each platform: How to install skills in Claude Code: five ways
Questions about fine-tuning-llama-factory
How do I install fine-tuning-llama-factory in Claude Code?
Run npx claude-code-templates@latest --skill ai-research/fine-tuning-llama-factory in your terminal.
What does fine-tuning-llama-factory do?
It provides Claude Code with reference guides and practical patterns for LLaMA-Factory. The assistant uses them to recommend exact training commands, QLoRA precision settings, and workflow steps for over 100 supported models.
What dependencies are required to use LLaMA-Factory?
Running training workflows requires Python packages including torch, transformers, datasets, peft, accelerate, gradio, and llmtuner. The skill itself references local guides inside the references/ directory.