One-click install
npx skills add https://github.com/samuelmukoti/myai-agent --skill simpo-training-samuelmukoti
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: simpo-training
Source: https://github.com/samuelmukoti/myai-agent/tree/main/optional-skills/mlops/simpo
Command: npx skills add https://github.com/samuelmukoti/myai-agent --skill simpo-training-samuelmukoti

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes references (resource) components.

What problem does it solve?

SimPO provides a reference-free approach to aligning LLM preferences, enabling efficient, model-agnostic alignment without a dedicated reference.

Core Features & Use Cases

  • Reference-free policy optimization for faster experimentation across model sizes.
  • Supports instruct-model fine-tuning, safety alignment, and preference learning without a reference policy.
  • Use case: align a base model to user preferences using a small dataset.

Quick Start

Prepare your base model and a preference dataset, then run the SimPO training workflow with your chosen configuration.

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 LLM preference learning optimizes alignment directly from a preference dataset without a dedicated reference policy. SimPO applies reference-free policy optimization to accelerate experimentation across various model sizes.

What is reference-free preference optimization for instruction fine-tuning?

Reference-free preference optimization is a technique that aligns base models to user preferences without loading a separate reference policy. It supports instruction fine-tuning, safety alignment, and user-preference learning using a small dataset.

How do I configure SimPO training with PyTorch and Transformers?

Configure SimPO training by setting exposed hyperparameters like beta, gamma_beta_ratio, loss_type, sft_weight, and dataset_mixer. The workflow integrates natively with PyTorch, Transformers, Datasets, TRL, and Accelerate for execution.

Can I use this for safety alignment across different model sizes?

Yes, reference-free preference optimization supports safety alignment and instruct-model fine-tuning across various model sizes. It enables efficient, model-agnostic alignment by eliminating the need for a dedicated reference policy.

Do I need a dedicated reference policy for preference learning?

No, a dedicated reference policy is not required for preference learning. This approach eliminates the reference model dependency entirely, enabling faster experimentation and model-agnostic alignment using your preference dataset.

What is the best way to start reference-free LLM alignment?

The best way to start reference-free LLM alignment is to prepare a base model and a preference dataset. You then run the SimPO training workflow with your chosen hyperparameter configuration to optimize preferences.