simpo-training

Fine-tune large language models with reference-free SimPO alignment.

1|Updated Feb 21, 2026
One-click install
npx skills add https://github.com/tianhao909/AI-Research-SKILLs-cn --skill simpo-training-tianhao909
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: simpo-training
Source: https://github.com/tianhao909/AI-Research-SKILLs-cn/tree/main/06-post-training/simpo
Command: npx skills add https://github.com/tianhao909/AI-Research-SKILLs-cn --skill simpo-training-tianhao909

SYSTEM DOCUMENTATION & REQUIREMENTS

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

What problem does it solve?

This Skill provides a simpler and more efficient method for aligning Large Language Models (LLMs) with human preferences, outperforming existing methods like Direct Preference Optimization (DPO) without requiring a reference model.

Core Features & Use Cases

  • Reference-Free Alignment: Train LLMs using only preference data (chosen vs. rejected responses), eliminating the need for a separate reference model.
  • Improved Performance: Achieves better results on benchmarks like AlpacaEval 2.0 compared to DPO.
  • Efficiency: Faster and less resource-intensive training due to the absence of a reference model.
  • Use Case: You have a dataset of user prompts and two responses, one preferred over the other. Use SimPO to fine-tune your LLM to generate responses that better align with these preferences, making it more helpful and aligned.

Quick Start

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

Frequently Asked Questions about simpo-training

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

FAQPage Schema
How do I fine-tune an LLM with preference data without using a reference model?

You can fine-tune an LLM with preference data without a reference model using Simple Preference Optimization (SimPO). It aligns models using only chosen versus rejected responses, eliminating the memory overhead of maintaining a separate reference network during training.

What is SimPO and how does it compare to DPO for LLM alignment?

SimPO is a reference-free preference optimization technique that compares favorably to DPO for LLM alignment. It achieves better results on benchmarks like AlpacaEval 2.0 by removing the reference model requirement, making the training process faster and less resource-intensive.

Do I need PyTorch and TRL to run SimPO training?

Yes, you need PyTorch and TRL to run SimPO training, along with Transformers, Datasets, and Accelerate. These libraries provide the necessary backend for loading datasets, managing model architectures, and accelerating the preference optimization process.

How do I align a chat model using a chosen and rejected response dataset?

You align a chat model using a chosen and rejected response dataset by applying SimPO. The technique processes your preference pairs to fine-tune the LLM, directly improving its instruction-following capabilities and reasoning alignment without requiring reward modeling.

Can I use SimPO to align Mistral 7B for instruction following?

Yes, you can use SimPO to align Mistral 7B for instruction following. The Skill includes configurations to launch the SimPO training process specifically for Mistral 7B, optimizing its responses based on your provided preference data.

Why does SimPO require less memory than PPO for LLM training?

SimPO requires less memory than PPO for LLM training because it is a reference-free alignment method. By eliminating the need to load and query a separate reference model during preference optimization, it significantly reduces GPU memory consumption and compute requirements.