simpo-training

Optimize LLM preferences without a reference model using PyTorch.

150|25|Updated Apr 20, 2026
One-click install
npx skills add https://github.com/Devsoul2026/Hermes-One-Click --skill simpo-training-devsoul2026
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: simpo-training
Source: https://github.com/Devsoul2026/Hermes-One-Click/tree/main/hermes-agent/optional-skills/mlops/simpo
Command: npx skills add https://github.com/Devsoul2026/Hermes-One-Click --skill simpo-training-devsoul2026

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes references (resource) components.

What problem does it solve?

SimPO provides a reference-free method to optimize alignment preferences for large language models, eliminating the need for a separate reference policy and reducing training complexity.

Core Features & Use Cases

  • Reference-free optimization: directly learns from chosen/rejected preferences without a reference model.
  • Configurable hyperparameters: beta, gamma_beta_ratio, learning rate, and SFT weight for flexible trade-offs.
  • End-to-end workflows: supports various model sizes and training setups (e.g., 7B, 8B, LLama variants) and includes data preprocessing and augmentation guidance.
  • Use Case: fine-tuning an instruct model to improve instruction following using preference data.

Quick Start

Install SimPO, prepare your environment, and run the recommended training script with your dataset to start optimizing an LLM.

Frequently Asked Questions about simpo-training

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

FAQPage Schema
How do I align LLM preferences without a reference model?

Reference-free preference optimization directly learns from chosen and rejected pairs to align large language models without a separate reference policy, reducing overall training complexity. SimPO implements this by directly utilizing preference data to guide the optimization process.

How do I prepare preference data for LLM alignment training?

Preference data for LLM alignment training must be properly formatted into a dataset containing chosen and rejected response pairs. The workflow includes data preprocessing and augmentation guidance to ensure the dataset effectively drives the preference learning process.

Can I use this reference-free preference optimization method for 70B models?

Yes, reference-free preference optimization supports end-to-end workflows for various model sizes ranging from 7B to 70B, including Llama variants. It integrates with a PyTorch-based toolchain using accelerate to handle large-scale training setups.

What hyperparameters do I need to configure for SimPO training?

SimPO training requires configuring hyperparameters such as beta, gamma_beta_ratio, learning rate, and SFT weight. These parameters allow flexible trade-offs during optimization to effectively fine-tune instruct models for improved instruction following.

Does preference optimization work with DeepSpeed and transformers?

Yes, preference optimization relies on a PyTorch-based toolchain that includes transformers, datasets, trl, and accelerate. This environment supports DeepSpeed configurations to manage memory and distribute training for large language models.