seeed-projects/seeed-jetson-developtool/finetune-llm-llama-factory
Claude Code and agent skill by seeed-projects/seeed-jetson-developtool
- community
Checking that the SKILL.md file is still in the repository.
Fine-tune LLMs on Jetson using Llama-Factory via jetson-examples one-line deployment. Covers installation, WebUI-based training with alpaca_zh dataset on Phi-1.5, and testing the fine-tuned model. Requires Jetson with ≥16GB RAM.
Install
npx vskill@latest install seeed-projects/seeed-jetson-developtool/finetune-llm-llama-factorySKILL.md
Fine-tune LLM with Llama-Factory on Jetson
Execution model
Run one phase at a time. After each phase:
- Relay all command output to the user.
- If output contains
[STOP]→ stop immediately, consult the failure decision tree below. - If output ends with
[OK]→ tell the user "Phase N complete" and proceed to the next phase.
Prerequisites
| Requirement | Details | |
|---|---|---|
| Hardware | Jetson device with ≥16GB RAM (tested on Orin NX 16GB and AGX Orin 64GB) | |
| Peripherals | Monitor, mouse, keyboard, network (optional but recommended) | |
| JetPack | 5.x or 6.x | |
| Internet | Required for initial container pull |
Phase 1 — Install jetson-examples (~2 min)
[OK] after reboot completes and you can log back in.
Phase 2 — Deploy Llama-Factory (~5–15 min)
Launch Llama-Factory using the one-line deployment:
This pulls the container and starts the Llama-Factory service.
Once running, open a web browser and navigate to:
(Or replace 127.0.0.1 with the Jetson's IP for remote access.)
[OK] when the Llama-Factory WebUI loads in the browser. [STOP] if the container fails to start.
Phase 3 — Start training (~18 hours for default config)
In the WebUI:
- Set Model name to
Phi-1.5(or your chosen model) - Set Dataset to
alpaca_zh(or your chosen dataset) - Keep other training parameters as default
- Click the
Startbutton
Monitor training progress in the WebUI.
[OK] when training completes and the fine-tuned model appears in the save directory.
Phase 4 — Test the fine-tuned model (~2 min)
In the Llama-Factory WebUI:
- Navigate to the Chat tab
- Load the fine-tuned model by selecting the checkpoint path
- Enter a prompt in the Input text box (e.g. a Chinese language prompt if using alpaca_zh)
- Click Submit and check the output in the Chatbot text box
[OK] when the model responds with coherent output reflecting the fine-tuning data.
Failure decision tree
| Symptom | Action | |
|---|---|---|
pip3 install jetson-examples fails | Check Python3 and pip3 are installed. Try sudo apt install python3-pip first. | |
reComputer run llama-factory fails | Check internet connectivity. Ensure Docker is installed and running. Check available disk space. | |
| WebUI not accessible at port 7860 | Verify the container is running with docker ps. Check firewall rules. Try http://<jetson-ip>:7860. | |
| OOM during training | Model too large for available RAM. Use a smaller model or reduce batch size in training parameters. | |
| Training stalls or crashes | Check GPU temperature with jtop. Ensure adequate cooling. Reduce training parameters. | |
| Fine-tuned model produces poor results | Use more diverse fine-tuning data. Increase training epochs. Check dataset quality. |
Reference files
references/source.body.md— full original Seeed tutorial with screenshots, video demo, and detailed WebUI configuration (reference only)
Security
- Security scanPassed, 95 of 100Pattern checks on the skill's files.
- Model reviewPassed
Quality evaluation
- Task evaluationNot runNo evaluation yet. Run one in Skill Studio.
Source
- SKILL.md in the repositoryCheckingskills/openclaw/finetune-llm-llama-factory/SKILL.md
Popularity
- Repository stars
- 58
- Repository forks
- 8
- 7-day trend score
- 0
Stars and forks are for the whole GitHub repository, not this skill alone. Not refreshed yet.
Works with
Any agent vskill installs to: 56 targets in all. These 39 have a page on this site.
- Claude Code
- Cursor
- GitHub Copilot
- Windsurf
- Codex
- Gemini CLI
- Cline
- Amp
- Roo Code
- Goose
- Continue
- Kilo Code
- Junie
- Trae
- OpenHands
- Qwen Code
- AI Agent
- Tabnine Chat
- Sourcegraph Cody
- Amazon Q
- Firebase Genkit
- Sweep
- Devin
- Phind
- Mentat
- Claude Desktop
- Aider
- GPT Pilot
- Plandex
- bolt.new
- v0
- Replit Agent
- Anse
- TypingMind
- BetterChatGPT
- LibreChat
- Warp AI
- Pieces
- Fig AI
Embed badge
[](https://verified-skill.com/skills/seeed-projects/seeed-jetson-developtool/finetune-llm-llama-factory)