seeed-projects/seeed-jetson-developtool/finetune-llm-llama-factory

Claude Code and agent skill by seeed-projects/seeed-jetson-developtool

Trust tier 3
  • community
Source check pending

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-factory

SKILL.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

RequirementDetails
HardwareJetson device with ≥16GB RAM (tested on Orin NX 16GB and AGX Orin 64GB)
PeripheralsMonitor, mouse, keyboard, network (optional but recommended)
JetPack5.x or 6.x
InternetRequired for initial container pull

Phase 1 — Install jetson-examples (~2 min)

bash
pip3 install jetson-examples
sudo reboot

[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:

bash
reComputer run llama-factory

This pulls the container and starts the Llama-Factory service.

Once running, open a web browser and navigate to:

http://127.0.0.1:7860

(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:

  1. Set Model name to Phi-1.5 (or your chosen model)
  2. Set Dataset to alpaca_zh (or your chosen dataset)
  3. Keep other training parameters as default
  4. Click the Start button

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:

  1. Navigate to the Chat tab
  2. Load the fine-tuned model by selecting the checkpoint path
  3. Enter a prompt in the Input text box (e.g. a Chinese language prompt if using alpaca_zh)
  4. 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

SymptomAction
pip3 install jetson-examples failsCheck Python3 and pip3 are installed. Try sudo apt install python3-pip first.
reComputer run llama-factory failsCheck internet connectivity. Ensure Docker is installed and running. Check available disk space.
WebUI not accessible at port 7860Verify the container is running with docker ps. Check firewall rules. Try http://<jetson-ip>:7860.
OOM during trainingModel too large for available RAM. Use a smaller model or reduce batch size in training parameters.
Training stalls or crashesCheck GPU temperature with jtop. Ensure adequate cooling. Reduce training parameters.
Fine-tuned model produces poor resultsUse 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

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
vskill VERIFIED badge
[![vskill VERIFIED](https://verified-skill.com/api/v1/skills/seeed-projects/seeed-jetson-developtool/finetune-llm-llama-factory/badge)](https://verified-skill.com/skills/seeed-projects/seeed-jetson-developtool/finetune-llm-llama-factory)

Something wrong with this skill or its page? Tell us.