simpo-training

Optimize LLM preference alignment without a reference model using PyTorch and YAML.

Updated Aug 27, 2026
One-click install
npx skills add https://github.com/adm-humanerd/drewgent --skill simpo-training-adm-humanerd
Or copy as Structured Prompt for Agent▼
Please help me install this Agent Skill.
Skill: simpo-training
Source: https://github.com/adm-humanerd/drewgent/tree/main/optional-skills/mlops/simpo
Command: npx skills add https://github.com/adm-humanerd/drewgent --skill simpo-training-adm-humanerd

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes references (resource) components.

What problem does it solve?

SimPO provides a simple, reference-free method to optimize user preferences for language models, enabling efficient alignment without requiring a reference model.

Core Features & Use Cases

  • Reference-free preference optimization for LLMs in lightweight setups.
  • Efficient training with standard datasets and 7B-70B scales, including simulated preferences.
  • Use Case: Fine-tune instruction-following models with simulated or real user preferences to improve alignment while reducing labeling effort.

Quick Start

Run a SimPO-based alignment training using your model and preferences dataset.

Frequently Asked Questions about simpo-training

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

FAQPage Schema
How do I optimize LLM preferences without a reference model?▼

SimPO is a reference-free preference optimization method that aligns LLMs using simulated or human-preference datasets. It eliminates the need for a reference model during training, reducing computational overhead while maintaining alignment quality.

What is reference-free preference optimization for instruction tuning?▼

Reference-free preference optimization trains LLMs to follow user preferences without comparing outputs against a base reference model. It uses preference datasets to directly adjust model behavior, streamlining the instruction-tuning process.

How do I configure hyperparameters for SimPO training?▼

SimPO training is configured using YAML files to adjust hyperparameters, data sources, and loss options. You define your training parameters within the YAML configuration before executing the alignment run.

Can I use preference optimization for 7B to 70B scale models?▼

Yes, SimPO supports efficient training across 7B to 70B scale models. It leverages standard datasets and integrates with PyTorch, Transformers, Datasets, TRL, and Accelerate to handle large-scale preference alignment.

How do I fine-tune models with simulated user preferences?▼

You can fine-tune instruction-following models by applying SimPO to simulated or real user preference datasets. This improves model alignment while significantly reducing the manual labeling effort typically required.

Do I need TRL and Accelerate to run reference-free LLM alignment?▼

Yes, SimPO requires PyTorch, Transformers, Datasets, TRL, and Accelerate to execute reference-free LLM alignment. These frameworks provide the necessary foundation for training and distributing the preference optimization workloads.