simpo-training

Align language models using reference-free preference optimization with YAML configs.

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

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 preference optimization method to align language models, enabling efficient, model-agnostic preference learning without a separate reward model.

Core Features & Use Cases

  • Reference-free optimization for alignment across various base models (7B–70B) and dataset sources.
  • Configurable hyperparameters (beta, gamma, learning rate, sft_weight) to tailor alignment and preserve capabilities.
  • Supports common preference-data workflows (train/test splits, data cleaning, and synthetic data generation) to improve instruction-following quality.

Quick Start

Install dependencies and run the provided training script with your chosen config to begin SimPO alignment tasks.

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 language models using preference data without requiring a separate reward model. SimPO applies this technique by utilizing configurable hyperparameters like beta and gamma_beta_ratio to control reward strength and margins, streamlining the training process.

How do I train a language model with SimPO using YAML configs and PyTorch?

You can train a model with SimPO by installing dependencies like PyTorch, transformers, and accelerate, then running the provided training script with your chosen YAML configuration. The YAML files manage model selection and training parameters like learning rate and sft_weight.

Can I use SimPO preference optimization for 7B to 70B base models?

Yes, SimPO supports reference-free optimization for aligning various base models ranging from 7B to 70B parameters. It works across single-node or multi-node setups using common datasets and YAML configurations for scalable instruction-following improvements.

What hyperparameters control reward strength and regularization in SimPO training?

SimPO training relies on hyperparameters such as beta for reward strength, gamma_beta_ratio for margin, and sft_weight for regularization. These configurable parameters help tailor alignment quality while preserving the base model's existing capabilities.

Does SimPO preference optimization require a separate reward model?

No, SimPO is a reference-free alignment method that does not require a separate reward model. It enables efficient, model-agnostic preference learning directly from preference data workflows including train/test splits and synthetic data generation.