simpo-training

Automate reference-free preference optimization for LLM alignment with PyTorch.

2|Updated Mar 26, 2026
One-click install
npx skills add https://github.com/CUexter/hermes-agent --skill simpo-training-cuexter
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: simpo-training
Source: https://github.com/CUexter/hermes-agent/tree/main/skills/mlops/training/simpo
Command: npx skills add https://github.com/CUexter/hermes-agent --skill simpo-training-cuexter

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes references (resource) components.

What problem does it solve?

SimPO provides a reference-free approach to aligning language models by optimizing preferences directly, avoiding the need for a separate reference model.

Core Features & Use Cases

  • Reference-free preference optimization for LLM alignment in training pipelines.
  • Flexible workflows: train from base models or fine-tune instruct/chat variants with configurable hyperparameters.
  • Efficient training with clear reward margins and optional SFT regularization to preserve capabilities.

Quick Start

Install SimPO and run a sample training with a small model to observe the workflow.

Frequently Asked Questions about simpo-training

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

FAQPage Schema
What is reference-free preference optimization for LLM alignment?

Reference-free preference optimization aligns large language models directly using preference data, avoiding the need for a separate reference model during training. This approach reduces memory overhead while maintaining reward margins.

How do I use SimPO for LLM training and fine-tuning?

You can automate SimPO training by configuring beta, gamma, and loss type hyperparameters in a PyTorch environment. It supports training base models or fine-tuning instruct and chat variants with optional SFT regularization.

Do I need a reference model for DPO-style LLM alignment?

No, this approach eliminates the reference model requirement entirely. It optimizes preferences directly using a PyTorch-based stack with transformers and datasets, avoiding the memory and compute costs of maintaining a separate reference.

Can I fine-tune instruct and chat models with configurable hyperparameters?

Yes, you can fine-tune instruct and chat model variants by configuring beta, gamma, and loss type. Optional SFT regularization is available during preference optimization to preserve base model capabilities.

Does SimPO work with PyTorch and transformers for RLHF?

Yes, SimPO operates within a PyTorch-compatible environment using transformers and datasets. Optional acceleration tools can be configured to support comparative alignment experiments in research or production settings.

SimPO vs DPO: what distinguishes reference-free alignment from standard preference optimization?

Unlike standard DPO which requires a separate reference model, SimPO optimizes preferences directly without one. This reference-free approach provides efficient training with clear reward margins while reducing infrastructure complexity.