simpo-training

Train large language models with SimPO preference optimization without a reference model.

11.5k|842|Updated Nov 3, 2025
One-click install
npx skills add https://github.com/Orchestra-Research/AI-Research-SKILLs --skill simpo-training-orchestra-research
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: simpo-training
Source: https://github.com/Orchestra-Research/AI-Research-SKILLs/tree/main/06-post-training/simpo
Command: npx skills add https://github.com/Orchestra-Research/AI-Research-SKILLs --skill simpo-training-orchestra-research

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill requires torch, transformers, datasets, trl, accelerate, flash-attn, and includes scripts (resource) and references (resource) components.

What problem does it solve?

This Skill addresses the complexity and resource demands of traditional LLM alignment methods like DPO and PPO by offering a simpler, reference-free alternative that achieves superior performance.

Core Features & Use Cases

  • Reference-Free Optimization: Aligns LLMs using only preference data, eliminating the need for a separate reference model.
  • Improved Performance: Achieves better results than DPO on benchmarks like AlpacaEval 2.0.
  • Efficiency: Faster and more resource-efficient training compared to DPO and PPO.
  • Use Case: Fine-tune a large language model to better follow user preferences for creative writing tasks, ensuring the output is more aligned with desired styles without the overhead of training a reference model.

Quick Start

Launch SimPO training for Mistral 7B using the provided configuration file.

Frequently Asked Questions about simpo-training

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

FAQPage Schema
How does SimPO preference optimization work for LLM alignment?

SimPO preference optimization aligns LLMs by training on chosen and rejected response pairs without a reference model. This reduces computational overhead while achieving better performance than standard methods on benchmarks like AlpacaEval 2.0.

Do I need a reference model for DPO alternative LLM training?

No, you do not need a reference model for this DPO alternative LLM training. SimPO is a reference-free preference optimization method that aligns models using only preference data, which simplifies the pipeline and saves resources.

How do I start SimPO training for a Mistral 7B model?

To start SimPO training for a Mistral 7B model, use the provided configuration file and scripts. The process relies on your preference dataset and standard libraries like torch, transformers, and trl to execute the training loop.

Can I use flash-attn and accelerate for preference optimization tasks?

Yes, you can use flash-attn and accelerate for preference optimization tasks. These dependencies are integrated to support faster and more resource-efficient training across various model sizes and configurable hyperparameters.

What are the limitations of reference-free preference optimization?

The main limitation of reference-free preference optimization is the requirement for high-quality chosen and rejected response pairs. While it improves efficiency over DPO and PPO, performance still depends on the dataset quality and proper hyperparameter configuration.

Why choose SimPO over DPO for fine-tuning large language models?

Choose SimPO over DPO to eliminate the computational overhead of loading a reference model during fine-tuning. SimPO achieves superior performance on benchmarks like AlpacaEval 2.0 while offering faster and more resource-efficient training for large language models.