simpo-training

Optimize LLMs with reference-free SimPO training using preference datasets.

1|Updated Feb 10, 2026
One-click install
npx skills add https://github.com/informatico-madrid/Architect-Expert-Gap-Forge --skill simpo-training-informatico-madrid
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: simpo-training
Source: https://github.com/informatico-madrid/Architect-Expert-Gap-Forge/tree/main/.github/skills/simpo
Command: npx skills add https://github.com/informatico-madrid/Architect-Expert-Gap-Forge --skill simpo-training-informatico-madrid

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 addresses the complexity and resource requirements of traditional LLM alignment methods like DPO by offering a reference-free alternative that achieves superior performance.

Core Features & Use Cases

  • Reference-Free Preference Optimization: Aligns LLMs using only preference data (chosen/rejected pairs), eliminating the need for a separate reference model.
  • Improved Performance: Outperforms DPO on benchmarks like AlpacaEval 2.0.
  • Efficiency: Faster and more resource-efficient training compared to DPO and PPO.
  • Use Case: Fine-tune a base LLM like Mistral 7B on preference data to improve its helpfulness and harmlessness, making it more suitable for conversational AI applications.

Quick Start

Launch the SimPO training script 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
What is SimPO for LLM alignment and how does it differ from DPO?

SimPO (Simple Preference Optimization) is a reference-free LLM alignment method that uses preference data to optimize models, eliminating the reference model required by DPO. It achieves superior performance on benchmarks like AlpacaEval 2.0 while being faster and more resource-efficient.

How do I fine-tune a Mistral 7B model using preference data?

You can fine-tune Mistral 7B using SimPO by running the provided training script with preference datasets containing chosen and rejected pairs. This reference-free optimization aligns the model to improve helpfulness and harmlessness for conversational AI applications.

Do I need a reference model for preference optimization with TRL?

No, SimPO performs reference-free preference optimization using only preference data with chosen and rejected pairs. This eliminates the need for a separate reference model during LLM alignment, making the training process faster and more resource-efficient than DPO.

What dependencies are required to run SimPO training scripts?

SimPO training requires PyTorch, Transformers, Datasets, TRL, and Accelerate. These dependencies support the preference optimization process, dataset handling, and distributed execution for fine-tuning LLMs like Mistral 7B on preference data.

Can SimPO be used for code generation and math reasoning tasks?

Yes, SimPO is suitable for various model sizes and task types including general chat, code generation, and math reasoning. It aligns LLMs using preference datasets to enhance desired behaviors across these diverse applications.

Why choose SimPO over PPO for LLM alignment?

SimPO offers a reference-free and more resource-efficient alternative to PPO and DPO for LLM alignment. It uses only preference data to optimize models, achieving faster training and superior performance on benchmarks like AlpacaEval 2.0.