Agent skill · DevOps & Cloud

unsloth-training

Fine-tune LLMs with Unsloth using GRPO or SFT. Supports FP8, vision models, mobile deployment, Docker, packing, GGUF export. Use when: train with GRPO, fine-tune, reward functions, SFT training, FP8 training, vision fine-tuning, phone deployment, docker training, packing, export to GGUF.

majiayu000github.com/majiayu000GitHub ↗
claude-codeMIT
Install
npx skills add majiayu000/claude-skill-registry --skill unsloth-training-skill-scientiacapital-skills-2 --agent claude-code

Same command for any agent — swap --agent for codex, cursor, copilot.

Facts
Files in the skill folder: 2
SKILL.md size: 14 KB
Bundled scripts: none
Path: skills/ai-ml/unsloth-training-skill-scientiacapital-skills-2/SKILL.md
Open the folder on GitHub →
Where it comes from
Stars: 534
Language: HTML

Weekly change comes from our own snapshots, not the repository page — it measures attention, not adoption.

From the SKILL.md

<objective> Guide LLM fine-tuning using Unsloth: 1. **GRPO** - RL with reward functions (no labeled outputs needed) 2. **SFT** - Supervised fine-tuning with input/output pairs 3. **Vision** - VLM fine-tuning (Qwen3-VL, Gemma3, Llama 3.2 Vision) Key capabilities: - **FP8 Training** - 60% less VRAM, 1.4x faster (RTX 40+, H100) - **3x Packing** - Automatic 2-5x speedup for mixed-length data - **Docker** - Official `unsloth/unsloth` image - **Mobile** - QAT → ExecuTorch → iOS/Android (~40 tok/s) - **Export** - GGUF, Ollama, vLLM, LM Studio, SGLang </objective> <quick_start> **GRPO with FP8 (60% less VRAM):** ```python import os os.environ['UNSLOTH_VLLM_STANDBY'] = "1" # Shared memory from unsloth import FastLanguageModel from trl import GRPOConfig, GRPOTrainer model, tokenizer = FastLanguageModel.from_pretrained( model_name="unsloth/Qwen3-8B", max_seq_length=2048, load_in_fp8=True, fast_inference=True, ) model = FastLanguageModel.get_peft_model( model, r=64, target_modules=["q_proj", "k_proj", "v_proj", "o_proj", "gate_proj", "up_proj", "down_proj"], use_gradient_checkpointing="unsloth", ) def correctness_reward(completions, answer, **kwargs): return [2.0 if extract_answer(c) == a else

What's inside
Steps it walks through
  1. When to Use GRPO vs SFT
  2. Model Selection
  3. Core Hyperparameters
  4. Reward Function Design
  5. Pattern 1: Correctness (Primary Signal)
  6. Pattern 2: Format Compliance
  7. Pattern 3: Reasoning Quality
  8. Pattern 4: Negative Constraints
  9. Typical Reward Stack
  10. Prompt Structure
  11. System Prompt with XML Tags
  12. Extraction Helpers
  13. Dataset Format
  14. Save and Deploy
Ships with 1 file
  • metadata.json
Commands it runs
Create Modelfile
cat > Modelfile << EOF
ollama create my-model -f Modelfile
ollama run my-model "Solve: 15 + 27 = ?"
More from claude-skill-registry
All skills →
About this skill
What does the unsloth-training skill do?

Fine-tune LLMs with Unsloth using GRPO or SFT. Supports FP8, vision models, mobile deployment, Docker, packing, GGUF export. Use when: train with GRPO, fine-tune, reward functions, SFT training, FP8 training, vision fine-tuning, phone deployment, docker training, packing, export to GGUF.

How do I install it?

Run `npx skills add majiayu000/claude-skill-registry --skill unsloth-training-skill-scientiacapital-skills-2 --agent claude-code` — it drops the skill into your project so the agent can pick it up. Swap the --agent value for codex, cursor or copilot if you use one of those.

Where does this skill come from?

From majiayu000/claude-skill-registry, a repository with 534 stars. We read it straight from the repository tree rather than a submitted listing, so what you see here is what is actually published.

Is a popular skill a good skill?

Not necessarily. Stars measure attention, not adoption — a repository can trend for a week and be abandoned. That is why we show the weekly change from our own snapshots next to the total, instead of a single flattering number.

Keep going