simpo-training

Run SimPO training to optimize LLM preferences without a reference model.

1.0k|117|Updated Feb 26, 2026
One-click install
npx skills add https://github.com/OpenLAIR/dr-claw --skill simpo-training-openlair
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: simpo-training
Source: https://github.com/OpenLAIR/dr-claw/tree/main/skills/post-training/simpo
Command: npx skills add https://github.com/OpenLAIR/dr-claw --skill simpo-training-openlair

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

SimPO provides a reference-free method to optimize language model preferences, enabling efficient alignment without needing a fixed reference model, which reduces training time and resource usage.

Core Features & Use Cases

  • Reference-free preference optimization for LLM alignment.
  • Supports multiple base models and configurable hyperparameters (learning rate, beta, gamma, sft_weight).
  • Works with common preference-dataset formats and standard tooling (PyTorch, Transformers, Datasets).
  • Use case: align an instruction-following model using a binarized UltraFeedback-style dataset to improve alignment quality.

Quick Start

Run the training script with your base model and a prepared preference dataset to begin SimPO training.

Frequently Asked Questions about simpo-training

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How does reference-free LLM preference alignment work?

Reference-free LLM preference alignment optimizes model preferences directly from preference data without loading a separate reference model. This approach reduces memory overhead and training time while still improving alignment quality using configurable hyperparameters.

How do I align an instruction-following model using a preference dataset?

To align an instruction-following model, run the training script with your base model and a prepared binarized preference dataset. The process applies SimPO optimization with configurable hyperparameters like learning rate, beta, gamma, and sft_weight to improve alignment.

Do I need a reference model for preference optimization training?

No reference model is needed for SimPO preference optimization training. It eliminates the fixed reference model requirement, which significantly reduces training resource usage and memory overhead while maintaining alignment efficiency across multiple base models.

What dependencies are required for SimPO preference training?

SimPO preference training requires PyTorch, transformers, datasets, TRL, and accelerate. These standard tools support the processing of common preference-dataset formats and the execution of the alignment training script.

Can I use different base models for reference-free preference optimization?

Yes, reference-free preference optimization supports multiple base models. You can configure hyperparameters such as learning rate, beta, gamma, and sft_weight to adapt the alignment training to your specific base model and preference dataset.

What distinguishes SimPO from other preference alignment methods?

SimPO distinguishes itself by being a reference-free method for preference alignment. Unlike methods requiring a reference model, it reduces training time and resource usage by optimizing preferences directly using a length-normalized reward and target reward margin.