Skills for Real Engineers. Straight from my .agents directory.
simpo-training
Agent skill fromOrchestra-Research/AI-Research-SKILLs
Simple Preference Optimization for LLM alignment. Reference-free alternative to DPO with better performance (+6.4 points on AlpacaEval 2.0). No reference model needed, more efficient than DPO. Use for preference alignment when want simpler, faster training than DPO/PPO.
How to install simpo-training
npx skills add Orchestra-Research/AI-Research-SKILLs# or add only this skill to Claude Code: copy the folder
06-post-training/simpo/
# into
~/.claude/skills/simpo/ (all projects)
.claude/skills/simpo/ (one project)
1# SimPO - Simple Preference Optimization23## Quick start45SimPO is a reference-free preference optimization method that outperforms DPO without needing a reference model.67**Installation**:8```bash9# Create environment10conda create -n simpo python=3.10 && conda activate simpo1112# Install PyTorch 2.2.213# Visit: https://pytorch.org/get-started/locally/1415# Install alignment-handbook16git clone https://github.com/huggingface/alignment-handbook.git17cd alignment-handbook18python -m pip install .1920# Install Flash Attention 221python -m pip install flash-attn --no-build-isolation22```2324**Training** (Mistral 7B):25```bash26ACCELERATE_LOG_LEVEL=info accelerate launch \27 --config_file accelerate_configs/deepspeed_zero3.yaml \28 scripts/run_simpo.py \29 training_configs/mistral-7b-base-simpo.yaml30```3132## Common workflows3334### Workflow 1: Train from base model (Mistral 7B)3536**Config** (`mistral-7b-base-simpo.yaml`):37```yaml38# Model39model_name_or_path: mistralai/Mistral-7B-v0.140torch_dtype: bfloat164142# Dataset43dataset_mixer:44 HuggingFaceH4/ultrafeedback_binarized: 1.045dataset_splits:46 - train_prefs47 - test_prefs4849# SimPO hyperparameters50beta: 2.0 # Reward scaling (2.0-10.0)51gamma_beta_ratio: 0.5 # Target margin (0-1)52loss_type: sigmoid # sigmoid or hinge53sft_weight: 0.0 # Optional SFT regularization5455# Training56learning_rate: 5e-7 # Critical: 3e-7 to 1e-657num_train_epochs: 158per_device_train_batch_size: 159gradient_accumulation_steps: 860…
Excerpt shown under the repository's MIT license.
More skills in AI-Research-SKILLs
Similar skill repositories
An agentic skills framework & software development methodology that works.
A single CLAUDE.md file to improve Claude Code behavior, derived from Andrej Karpathy's observations on LLM coding pitfalls.
Public repository for Agent Skills
Persistent Context Across Sessions for Every Agent – Captures everything your agent does during sessions, compresses it with AI, and injects relevant context back into future sessions. Works with Claude Code, OpenClaw, Codex, Gemini, Hermes, Copilot, OpenCode + More
Production-grade engineering skills for AI coding agents.
