Skip to main content
plugin CX Codex

llm-finetuning — Claude Code plugin: what it does, how to install

Guides the end-to-end open-weights fine-tuning lifecycle with mandatory eval gating. Useful for LoRA, DPO, GRPO setups and quantized exports.

Install into Claude Code · Plugin marketplace All methods and platforms ↓
/plugin marketplace add wshobson/agents
/plugin install llm-finetuning@claude-code-workflows
Open on GitHub

What llm-finetuning does

The plugin structures the entire lifecycle for fine-tuning open-weights models. It covers LoRA and QLoRA SFT, preference optimization methods like DPO, ORPO, or KTO, reinforcement learning with GRPO/RLVR, and vision SFT.

The workflow enforces an eval-first approach. It requires creating the evaluation harness before selecting a method, preparing datasets, or filtering checkpoints. Unsloth serves as the primary training tool, falling back to TRL when needed.

Completed runs export to quantized GGUF or FP8 formats. Without an evaluation harness ready, fine-tuning will not proceed.

What it helps with

  • Build an evaluation harness before starting fine-tuning
  • Configure LoRA or QLoRA SFT using Unsloth
  • Apply preference optimization using DPO, ORPO, or KTO
  • Train reasoning models with GRPO/RLVR or vision SFT
  • Export gated checkpoints to GGUF or FP8

Example prompts for the agent

  • Build an evaluation harness and prepare a QLoRA fine-tuning run with Unsloth
  • Set up a preference tuning pipeline using DPO on the curated dataset
  • Evaluate the latest checkpoints and export the final model to GGUF

How to install llm-finetuning

Plugin marketplace

/plugin marketplace add wshobson/agents
/plugin install llm-finetuning@claude-code-workflows

Step by step, with commands for each platform: Claude Code plugins: marketplaces, installing, and building your own

Questions about llm-finetuning

How to install llm-finetuning in Claude Code?

Add the repository first by running /plugin marketplace add wshobson/agents. Then install the plugin with /plugin install llm-finetuning@claude-code-workflows.

What does llm-finetuning do?

It coordinates the fine-tuning process for open-weights models, covering evaluation setup, training via Unsloth or TRL, checkpoint gating, and quantized export.

Which frameworks does the plugin prioritize for training?

It relies on Unsloth as the primary engine and uses TRL as a fallback.

Source text

llm-finetuning · MIT
Eval-gated LLM fine-tuning lifecycle (LoRA/QLoRA, DPO, GRPO/RLVR, vision SFT, quantized export). Use when fine-tuning an open-weights model end-to-end: building the eval harness first, selecting method and model, preparing data, training with Unsloth or TRL, gating checkpoints, and exporting GGUF/FP8.

© Seth Hobson · MIT · wshobson/agents

Similar plugins

All plugins for AI and ML →

From the same set371

The whole set →

Project sponsors

Companies that keep this analytics open
Gold sponsor

Impressions, clicks and code copies — open statistics. We keep the numbers public for the same reason NeBlask itself is public. Become a sponsor