Giverny

Preference Optimization

Align a fine-tuned model with preference data using DPO, ORPO, KTO, or SimPO.

by Seth Hobson★ 43,083AI, LLM & MCP

What Preference Optimization does

Align a fine-tuned model with preference data using DPO, ORPO, KTO, or SimPO. Use when preference pairs or thumbs-up/down feedback exist, when choosing between preference-optimization methods, or when a DPO run needs hyperparameters or debugging.

How to install Preference Optimization in Claude Code

Giverny gives you a ready prompt with the exact install command from wshobson/agents. Sign in with GitHub, copy the prompt and paste it into Claude Code; Claude installs the skill and confirms it loaded. To install by hand, clone wshobson/agents and copy the plugins/llm-finetuning/skills/preference-optimization folder into ~/.claude/skills/.

How to use it

Once installed, Claude loads Preference Optimization on its own whenever your request matches what the skill does. You can also ask for it by name, for example: “Use the preference-optimization skill on my current project.”

More Claude skills for aI, LLM & MCP