simpo-training

Optimize AI alignment by learning preferences directly without a reference model.

Updated May 3, 2026
One-click install
npx skills add https://github.com/JuanMS20/solviora-agent --skill simpo-training-juanms20
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: simpo-training
Source: https://github.com/JuanMS20/solviora-agent/tree/main/optional-skills/mlops/simpo
Command: npx skills add https://github.com/JuanMS20/solviora-agent --skill simpo-training-juanms20

SYSTEM DOCUMENTATION & REQUIREMENTS

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

What problem does it solve?

SimPO provides a reference-free method to optimize model preferences for alignment, enabling efficient learning without a separate reference model.

Core Features & Use Cases

  • Reference-free optimization: learns preferences directly from on-policy signals without a reference policy.
  • Configurable training: supports beta, gamma_beta_ratio, loss_type, sft_weight, and model-size-specific defaults.
  • Use Case: for aligning models like Mistral-7B or Llama-3-8B with higher efficiency than DPO/PPO.

Quick Start

Install SimPO, prepare your data, and run the training script to start SimPO fine-tuning.

Frequently Asked Questions about simpo-training

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

FAQPage Schema
How does reference-free preference optimization work for LLM alignment?

Reference-free preference optimization aligns LLMs by learning preferences directly from on-policy signals without loading a separate reference policy, reducing memory requirements. It applies deterministic training workflows with configurable parameters like beta and loss_type.

How do I fine-tune Mistral-7B or Llama-3-8B for instruction following without a reference model?

To fine-tune instruction-following models like Mistral-7B or Llama-3-8B, prepare your preference dataset and run the training script. The workflow supports YAML-configurable settings with model-size-specific defaults to streamline the alignment process.

Do I need a reference model for DPO alternative training?

No, you do not need a reference model for this DPO alternative. It optimizes preferences directly from on-policy signals, which makes fine-tuning more efficient than standard DPO or PPO workflows that require loading a separate reference policy.

What parameters can I configure for preference optimization training?

You can configure beta, gamma_beta_ratio, loss_type, and sft_weight for your training runs. These settings are managed through YAML-configurable files and include model-size-specific defaults to ensure optimal preference alignment.

Can I use transformers and trl for reference-free alignment?

Yes, reference-free alignment works directly with transformers and trl. The training workflow explicitly integrates these dependencies alongside torch, datasets, and accelerate to execute the fine-tuning process for instruction-following models.

Why use SimPO instead of PPO for LLM alignment?

SimPO provides higher efficiency than PPO by eliminating the need for a separate reference model during preference optimization. It learns directly from on-policy signals, reducing computational overhead while maintaining deterministic, configurable training.