simpo-training

Run reference-free preference optimization to align large language models.

Updated Apr 24, 2026
One-click install
npx skills add https://github.com/Harries/hermes-agent --skill simpo-training-harries
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: simpo-training
Source: https://github.com/Harries/hermes-agent/tree/main/optional-skills/mlops/simpo
Command: npx skills add https://github.com/Harries/hermes-agent --skill simpo-training-harries

SYSTEM DOCUMENTATION & REQUIREMENTS

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

What problem does it solve?

SimPO enables training alignment of large language models without a reference model, delivering more efficient, reference-free preference optimization than traditional DPO/PPO approaches.

Core Features & Use Cases

  • Reference-free preference optimization for LLM alignment, enabling efficient fine-tuning without a reference policy.
  • Flexible workflows across small pilot runs to large-scale DeepSpeed/accelerated training with standard preference datasets (e.g., Ultrafeedback, cleaned variants).
  • Real-world use: align an LLM to user preferences for instruction-following, safety, and helpfulness while preserving capabilities.

Quick Start

Install dependencies and run the provided training script with a sample dataset to validate the workflow.

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 large language models directly using preference datasets without loading a separate reference policy, reducing memory overhead while fine-tuning instruction-following capabilities.

What is the best way to run LLM alignment without a reference model?

Using SimPO is an efficient approach for LLM alignment without a reference model, offering faster training and lower memory usage than traditional DPO or PPO methods while maintaining reproducible hyperparameters.

Can I use DeepSpeed and accelerate for large-scale preference optimization training?

Yes, you can scale preference optimization training using DeepSpeed and accelerate for distributed workloads, transitioning smoothly from small pilot runs to large-scale experiments with standard preference datasets.

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

No, you do not need a separate reference model. This training approach eliminates the reference model dependency entirely, streamlining the workflow while still delivering effective LLM alignment results.

How do I start fine-tuning LLMs with standard preference datasets like Ultrafeedback?

You can start by installing the required dependencies like torch and transformers, then running the provided training script with a sample preference dataset to validate the reference-free alignment workflow.

Why should I choose reference-free preference optimization over traditional PPO approaches?

Reference-free preference optimization avoids the computational cost and memory burden of maintaining a reference policy during training, making it significantly more efficient than traditional PPO or DPO approaches.