simpo-training

Fine-tune LLMs with reference-free preference optimization using YAML configs.

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

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes references (resource) components.

What problem does it solve?

SimPO provides a reference-free approach to aligning large language models by learning preferences directly, eliminating the need for a separate reference model and reducing training complexity.

Core Features & Use Cases

  • Reference-free optimization: direct preference learning without a reference model.
  • Configurable hyperparameters: beta, gamma, learning_rate, sft_weight, and loss_type control the alignment dynamics.
  • Efficient & scalable: fewer forward passes than DPO/PPO, suitable for single-node or modest GPU setups.
  • Use Case: fine-tune instruction-following models to better reflect human preferences using curated or synthetic preferences.

Quick Start

Run the SimPO training workflow on your base model using the included configs to start reference-free alignment training.

Frequently Asked Questions about simpo-training

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

FAQPage Schema
How do I align an LLM with human preferences without using a reference model?▼

SimPO enables reference-free LLM alignment by learning preferences directly without a separate reference model. It works across base and instructional models for alignment fine-tuning, using configurable hyperparameters and optional SFT regularization to balance capability preservation and alignment.

What is the difference between SimPO and DPO for preference optimization?▼

SimPO is a reference-free preference optimization method requiring fewer forward passes than DPO or PPO. This makes it more efficient and scalable for single-node or modest GPU setups compared to DPO or PPO.

How do I configure hyperparameters like beta and gamma for SimPO training?▼

SimPO uses YAML configs to manage hyperparameters including beta, gamma, learning_rate, sft_weight, and loss_type to control alignment dynamics. Optional SFT regularization balances capability preservation and alignment during fine-tuning.

Can I use SimPO for fine-tuning on a single-node GPU setup?▼

Yes, SimPO is efficient and scalable, requiring fewer forward passes than DPO or PPO, making it suitable for single-node or modest GPU setups. You can run the training workflow using included YAML configs and dataset references.

Does preference optimization with SimPO require SFT regularization?▼

SFT regularization is optional in SimPO, used to balance capability preservation and alignment during preference optimization. It is controlled via the sft_weight hyperparameter within your YAML training configs.

Why use reference-free preference optimization for LLM alignment?▼

Reference-free preference optimization reduces training complexity by eliminating the need to load a separate reference model. This decreases memory requirements and forward passes, making alignment fine-tuning more efficient.