simpo-training

Automate reference-free preference optimization for large language models with SimPO.

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

SYSTEM DOCUMENTATION & REQUIREMENTS

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

What problem does it solve?

Automates reference-free preference optimization to improve alignment of large language models.

Core Features & Use Cases

  • Reference-free training: Optimizes preferences without a ground-truth model to boost instruction-following and safety alignment.
  • Configurable workflows: Supports common SimPO configurations for base, instruct, and chat models, with tunable beta, gamma, learning rate, and SFT weight.
  • Use Case: Ideal for teams building or evaluating RLHF-style workflows who want efficient, reproducible alignment experiments.

Quick Start

Provide a minimal YAML config and run a single training pass to start a SimPO alignment experiment.

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 large language models?

Reference-free preference optimization aligns large language models with human preferences without requiring a ground-truth reference model. It improves instruction-following and safety alignment directly by optimizing model responses based on configurable preference data.

How do I apply SimPO for LLM alignment using Hugging Face transformers?

You can apply SimPO for LLM alignment by providing a minimal YAML configuration and running a single training pass. The workflow supports base, instruct, and chat models with tunable hyperparameters like beta, gamma, learning rate, and SFT weight.

Do I need a reference model for preference optimization with TRL?

No, you do not need a reference model for preference optimization using SimPO. It is a reference-free approach that optimizes large language model alignment directly from preference data without depending on a separate baseline model.

Can I customize hyperparameters for SimPO fine-tuning across base and instruct models?

Yes, you can customize hyperparameters for SimPO fine-tuning across base, instruct, and chat models. The workflow allows you to tune beta, gamma, learning rate, and SFT weight to achieve reproducible alignment experiments.

What dependencies are required to run reference-free LLM alignment workflows?

Running reference-free LLM alignment workflows requires installing torch, transformers, datasets, trl, and accelerate. These dependencies support the SimPO training pipeline, dataset mixing, and model fine-tuning operations.

Why choose SimPO over standard RLHF for large language model alignment?

Choose SimPO over standard RLHF for efficient, reference-free LLM alignment. It eliminates the need for a ground-truth reference model during preference optimization, reducing computational overhead while maintaining instruction-following and safety improvements.