Grpo
benchflow-ai/skillsbench
Reference for the GRPO (Group Relative Policy Optimization) algorithm.
Build and review OpenRLHF supervised/preference training plans for SFT, reward models, DPO, IPO, and cDPO.
$ npx skills add VectorSpaceLab/AREX-Skill --skill supervised-preference-training -a claude-codeProject install by default; add -g for ~/.claude/skills/.
$ gh skill install VectorSpaceLab/AREX-Skill supervised-preference-training --agent claude-codeProject scope by default; add --scope user for a personal install. Needs GitHub CLI 2.90.0 or later (public preview).
$ git clone --depth 1 https://github.com/VectorSpaceLab/AREX-Skill.git skills-src && mkdir -p .claude/skills && cp -r skills-src/skills/repositories/repo-skills/openrlhf/sub-skills/supervised-preference-training .claude/skills/supervised-preference-training && rm -rf skills-srcUse ~/.claude/skills/ instead of .claude/skills for a personal install. The folder must contain SKILL.md.
Claude Code skills documentation · loads skills from .claude/skills/
Install the "supervised-preference-training" agent skill from https://github.com/VectorSpaceLab/AREX-Skill/tree/main/skills/repositories/repo-skills/openrlhf/sub-skills/supervised-preference-training into .claude/skills/supervised-preference-training/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "supervised-preference-training", then confirm the skill loads.Claude Code copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$skill-installer install https://github.com/VectorSpaceLab/AREX-Skill/tree/main/skills/repositories/repo-skills/openrlhf/sub-skills/supervised-preference-trainingType this inside Codex. $skill-installer <name> installs a curated skill from openai/skills. The installer writes to $CODEX_HOME/skills (default ~/.codex/skills). Restart Codex if the skill does not show up.
$ npx skills add VectorSpaceLab/AREX-Skill --skill supervised-preference-training -a codexProject install goes to .agents/skills/; add -g for ~/.codex/skills/.
$ gh skill install VectorSpaceLab/AREX-Skill supervised-preference-training --agent codexProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/VectorSpaceLab/AREX-Skill.git skills-src && mkdir -p .agents/skills && cp -r skills-src/skills/repositories/repo-skills/openrlhf/sub-skills/supervised-preference-training .agents/skills/supervised-preference-training && rm -rf skills-srcUse ~/.agents/skills/ instead of .agents/skills for a personal install.
Codex skills documentation · loads skills from .agents/skills/
Install the "supervised-preference-training" agent skill from https://github.com/VectorSpaceLab/AREX-Skill/tree/main/skills/repositories/repo-skills/openrlhf/sub-skills/supervised-preference-training into .agents/skills/supervised-preference-training/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "supervised-preference-training", then confirm the skill loads.Codex copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ npx skills add VectorSpaceLab/AREX-Skill --skill supervised-preference-training -a cursorProject install goes to .agents/skills/; add -g for ~/.cursor/skills/.
$ gh skill install VectorSpaceLab/AREX-Skill supervised-preference-training --agent cursorProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/VectorSpaceLab/AREX-Skill.git skills-src && mkdir -p .cursor/skills && cp -r skills-src/skills/repositories/repo-skills/openrlhf/sub-skills/supervised-preference-training .cursor/skills/supervised-preference-training && rm -rf skills-srcUse ~/.cursor/skills/ instead of .cursor/skills for a personal install.
Cursor skills documentation · loads skills from .cursor/skills/, .agents/skills/, .claude/skills/, .codex/skills/
Install the "supervised-preference-training" agent skill from https://github.com/VectorSpaceLab/AREX-Skill/tree/main/skills/repositories/repo-skills/openrlhf/sub-skills/supervised-preference-training into .cursor/skills/supervised-preference-training/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "supervised-preference-training", then confirm the skill loads.Cursor copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ gemini skills install https://github.com/VectorSpaceLab/AREX-Skill.git --path skills/repositories/repo-skills/openrlhf/sub-skills/supervised-preference-training--scope user (default) or --scope workspace; --path is the subfolder of the repo that holds the skill; --consent skips the security confirmation prompt.
$ npx skills add VectorSpaceLab/AREX-Skill --skill supervised-preference-training -a gemini-cliProject install goes to .agents/skills/; add -g for ~/.gemini/skills/.
$ gh skill install VectorSpaceLab/AREX-Skill supervised-preference-training --agent gemini-cliProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/VectorSpaceLab/AREX-Skill.git skills-src && mkdir -p .gemini/skills && cp -r skills-src/skills/repositories/repo-skills/openrlhf/sub-skills/supervised-preference-training .gemini/skills/supervised-preference-training && rm -rf skills-srcUse ~/.gemini/skills/ instead of .gemini/skills for a personal install, then run /skills reload.
Gemini CLI skills documentation · loads skills from .gemini/skills/, .agents/skills/
Install the "supervised-preference-training" agent skill from https://github.com/VectorSpaceLab/AREX-Skill/tree/main/skills/repositories/repo-skills/openrlhf/sub-skills/supervised-preference-training into .gemini/skills/supervised-preference-training/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "supervised-preference-training", then confirm the skill loads.Gemini CLI copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ gh skill install VectorSpaceLab/AREX-Skill supervised-preference-trainingInstalls for Copilot at project scope by default; add --scope user for a personal install. Preview a skill first with gh skill preview. Needs GitHub CLI 2.90.0 or later (public preview).
$ npx skills add VectorSpaceLab/AREX-Skill --skill supervised-preference-training -a github-copilotProject install goes to .agents/skills/; add -g for ~/.copilot/skills/.
$ git clone --depth 1 https://github.com/VectorSpaceLab/AREX-Skill.git skills-src && mkdir -p .github/skills && cp -r skills-src/skills/repositories/repo-skills/openrlhf/sub-skills/supervised-preference-training .github/skills/supervised-preference-training && rm -rf skills-srcUse ~/.copilot/skills/ instead of .github/skills for a personal install. Commit .github/skills so cloud agent and code review can use it.
GitHub Copilot skills documentation · loads skills from .github/skills/, .claude/skills/, .agents/skills/
Install the "supervised-preference-training" agent skill from https://github.com/VectorSpaceLab/AREX-Skill/tree/main/skills/repositories/repo-skills/openrlhf/sub-skills/supervised-preference-training into .github/skills/supervised-preference-training/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "supervised-preference-training", then confirm the skill loads.GitHub Copilot copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ npx skills add VectorSpaceLab/AREX-Skill --skill supervised-preference-training -a opencodeOpenCode documents no install command of its own. Project install goes to .agents/skills/; add -g for ~/.config/opencode/skills/.
$ gh skill install VectorSpaceLab/AREX-Skill supervised-preference-training --agent opencodeProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/VectorSpaceLab/AREX-Skill.git skills-src && mkdir -p .opencode/skills && cp -r skills-src/skills/repositories/repo-skills/openrlhf/sub-skills/supervised-preference-training .opencode/skills/supervised-preference-training && rm -rf skills-srcUse ~/.config/opencode/skills/ instead of .opencode/skills for a personal install.
OpenCode skills documentation · loads skills from .opencode/skills/, .claude/skills/, .agents/skills/
Install the "supervised-preference-training" agent skill from https://github.com/VectorSpaceLab/AREX-Skill/tree/main/skills/repositories/repo-skills/openrlhf/sub-skills/supervised-preference-training into .opencode/skills/supervised-preference-training/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "supervised-preference-training", then confirm the skill loads.OpenCode copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
supervised-preference-trainingBuild and review OpenRLHF supervised/preference training plans for SFT, reward models, DPO, IPO, and cDPO.
Supervised Preference Training is an agent skill from VectorSpaceLab/AREX-Skill. Build and review OpenRLHF supervised/preference training plans for SFT, reward models, DPO, IPO, and cDPO. Use for trainsft/trainrm/traindpo CLI construction, LoRA/packing/DeepSpeed/checkpoint/logging choices, and preflight checks before expensive GPU training.
Its SKILL.md is about 1k tokens, which your agent loads only when the skill is triggered. The skill folder holds 6 other files, including scripts and reference files (for example `references/cli-reference.md`, `references/training-workflows.md` and `references/troubleshooting.md`).
It sits in AI & LLM Engineering, covering Fine-tuning, Reinforcement learning and Deep learning. The repository describes itself as: A Skill Library for Automated Machine Learning. The licence is Apache-2.0.
Read from SKILL.md and the folder at commit ac3fe1a. It shows what the files ask for, not the result of running them.
Pre-approves nothing: there is no allowed-tools line, so your agent's usual permission prompts apply.
From allowed-tools in the SKILL.md frontmatter.
Ships 1 file in scripts/ (Python), which the agent can run.
Shell commands in SKILL.md call:
pythonFrom the folder's file list and the shell code blocks in SKILL.md.
No URLs in SKILL.md.
From URLs in SKILL.md, links to its own repository left out.
Names no API keys, tokens, secrets or passwords.
From names ending in _API_KEY, _TOKEN, _SECRET, _KEY or _PASSWORD in SKILL.md.
Supervised Preference Training loads about 1k tokens when it runs, and up to ~6.2k if it reads all its reference files. Until then it costs about 74 tokens; SKILL.md has 366 words of instructions outside code blocks.
Estimates: characters ÷ 4, the usual rule of thumb; real counts depend on the model's tokenizer. Scripts and assets cost tokens only if the agent reads them.
The automated check found no risky patterns in SKILL.md.
Automated static check — not a guarantee. Review scripts before installing. It scans the text of SKILL.md for risky patterns (piping downloads into a shell, reading credential files, hidden Unicode, destructive commands); the scripts in this folder are not scanned.
The full file from VectorSpaceLab/AREX-Skill at commit ac3fe1a, republished under its Apache-2.0 licence (© VectorSpaceLab). 366 words, ~1,032 tokens.
.claude/skills/supervised-preference-training/SKILL.md (or your agent's skills folder). This skill also uses 4 other files; get the full folder from GitHub.Use this sub-skill when the user is preparing OpenRLHF SFT, reward-model, DPO, IPO, or cDPO training and needs command construction, flag review, or risk checks. Treat all actual training launches as expensive GPU/network actions.
openrlhf.cli.train_sft with prompt/completion keys such as --data.input_key and --data.output_key.openrlhf.cli.train_rm with preference keys such as --data.chosen_key and --data.rejected_key.openrlhf.cli.train_dpo; add --model.ipo_enable for IPO and --model.label_smoothing for cDPO.data-preparation sub-skill.rl-agent-training sub-skill.operations-and-utilities.references/training-workflows.md for SFT/RM/DPO workflow recipes, source-backed shell patterns, and preflight order.references/cli-reference.md for current CLI flag names and source-backed defaults.references/troubleshooting.md for common failure modes before recommending a training run.scripts/build_training_command.py to print a safe command skeleton without importing OpenRLHF or starting training.The bundled helper is safe for planning and help-only validation:
python skills/openrlhf/sub-skills/supervised-preference-training/scripts/build_training_command.py sft --model MODEL --dataset DATASET --output-dir OUT
python skills/openrlhf/sub-skills/supervised-preference-training/scripts/build_training_command.py rm --model MODEL --dataset DATASET --output-dir OUT
python skills/openrlhf/sub-skills/supervised-preference-training/scripts/build_training_command.py dpo --model MODEL --dataset DATASET --output-dir OUT --ref-model REF --beta 0.1 --label-smoothing 0.1 --nll-loss-coef 0.05It prints deepspeed --module openrlhf.cli.train_* ... commands for review. It does not check GPU availability, download models, import OpenRLHF, or execute the result.
Before approving or launching a generated command:
--train.batch_size is global and --train.micro_batch_size is per GPU; reduce micro-batch size or use ZeRO-3/offload/LoRA for OOM.flash_attention_2, Liger, RingAttention) and 4-bit/LoRA dependencies exist before using their flags.--ckpt.save_steps -1 disables periodic DeepSpeed checkpoint saves; --ckpt.save_hf writes HF-format saves at checkpoint intervals.--model.model_name_or_path over older README snippets that may mention --actor.model_name_or_path for these CLIs.This sub-skill is based on OpenRLHF training entrypoints openrlhf.cli.train_sft, openrlhf.cli.train_rm, and openrlhf.cli.train_dpo; trainers sft_trainer.py, rm_trainer.py, and dpo_trainer.py; README SFT/RM/DPO examples; and example shell recipes for SFT, RM, DPO, and SFT LoRA. The installed package import was verified for openrlhf version 0.10.4, but full dependency and GPU runtime readiness were not verified.
© VectorSpaceLab, Apache-2.0. Rendered from Markdown: HTML in the file is shown as text, images as links, and headings moved down two levels. Raw file
SKILL.md and 4 other files (scripts, references) in skills/repositories/repo-skills/openrlhf/sub-skills/supervised-preference-training of VectorSpaceLab/AREX-Skill.
Open the folder on GitHubat commit ac3fe1a
Supervised Preference Training next to the 5 skills that share the most tags, products or categories with it. Stars are the repository's; “used in” counts other GitHub owners with a copy.
| Skill | Stars | Used in | Tokens | Auto-check | Licence | Repo updated |
|---|---|---|---|---|---|---|
| Supervised Preference Training this skillVectorSpaceLab/AREX-Skill | 328 | — | ~1k | Automated safety check: Pass | Apache-2.0 | |
| Grpobenchflow-ai/skillsbench | 1.8k | — | ~1.1k | Automated safety check: Pass | Apache-2.0 | |
| Slime Useryzlnew/infra-skills | 149 | — | ~3.2k | Automated safety check: Pass | None | |
| Hugging Face LLM Trainerhuggingface/skills | 11k | 3 repos | ~7.2k | Automated safety check: Pass | Apache-2.0 | |
| Train RlOpenPipe/ART | 11k | — | ~2.4k | Automated safety check: Pass | Apache-2.0 | |
| Qwopus27b Rl TrainingR6410418/Jackrong-llm-finetuning-guide | 1.7k | — | ~830 | Automated safety check: Pass | Apache-2.0 |
benchflow-ai/skillsbench
Reference for the GRPO (Group Relative Policy Optimization) algorithm.
yzlnew/infra-skills
Guide for using SLIME (LLM post-training framework for RL Scaling).
huggingface/skills
Trains or fine-tunes language and vision models with TRL or Unsloth on Hugging Face Jobs cloud GPUs, then converts the results to GGUF.
OpenPipe/ART
RL training reference for the ART framework. An agent skill from OpenPipe/ART.
R6410418/Jackrong-llm-finetuning-guide
Prepare, validate, launch-plan, monitor, resume, and stop configurable Qwopus 27B reinforcement-learning workflows for GRPO or GSPO.
Orchestra-Research/AI-Research-SKILLs
Fine-tune LLMs using reinforcement learning with TRL - SFT for instruction tuning, DPO for preference alignment, PPO/GRPO for reward optimization, and reward model training.
VectorSpaceLab/AREX-Skill
Use this repo skill for Agent Lightning package tasks: authoring trainable agents, tracing rewards and spans, running LightningStore/Trainer loops, using agl CLI services, choosing examples, and…
VectorSpaceLab/AREX-Skill
A skill your agent uses when configuring LiteLLM for MCP tools, A2A agents, Claude Code/Cursor agent gateway traffic, MCP auth/OAuth, tool permissions, semantic filtering, or agent-specific proxy…
VectorSpaceLab/AREX-Skill
Build and debug DB-GPT agents, tools, skills, teams, and AWEL workflows, including deterministic local DAG runs and HTTP-trigger topology without assuming an LLM, credential, or external service.
VectorSpaceLab/AREX-Skill
Work on the actively maintained LangChain v1 agent package: initchatmodel, createagent, structured output, tools, middleware, embeddings initialization, provider routing, and agent runtime…
VectorSpaceLab/AREX-Skill
A skill your agent uses for giskard.agents async chat workflows, tools, prompt templates, structured outputs, retries, rate limiting, embeddings, and optional LiteLLM backend.
VectorSpaceLab/AREX-Skill
A skill your agent uses for AlphaFold 3 input preparation, prediction command planning, output interpretation, and Python API inspection.
Categories
Build and review OpenRLHF supervised/preference training plans for SFT, reward models, DPO, IPO, and cDPO. Supervised Preference Training is an agent skill from VectorSpaceLab/AREX-Skill. Build and review OpenRLHF supervised/preference training plans for SFT, reward models, DPO, IPO, and cDPO.
Supervised Preference Training fits situations like: trainsft/trainrm/traindpo CLI construction; loRA/packing/DeepSpeed/checkpoint/logging choices; preflight checks before expensive GPU training.
Run `npx skills add VectorSpaceLab/AREX-Skill --skill supervised-preference-training -a claude-code`. Or copy the skill folder (skills/repositories/repo-skills/openrlhf/sub-skills/supervised-preference-training in VectorSpaceLab/AREX-Skill) into .claude/skills/supervised-preference-training in your project. Claude Code loads it when a task matches its description.
Run `npx skills add VectorSpaceLab/AREX-Skill --skill supervised-preference-training -a codex`. Or copy the skill folder (skills/repositories/repo-skills/openrlhf/sub-skills/supervised-preference-training in VectorSpaceLab/AREX-Skill) into .agents/skills/supervised-preference-training in your project. Codex loads it when a task matches its description.
Cursor, Gemini CLI, GitHub Copilot and OpenCode also load SKILL.md folders. With the skills CLI, run `npx skills add VectorSpaceLab/AREX-Skill --skill supervised-preference-training -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/supervised-preference-training, .gemini/skills/supervised-preference-training, .github/skills/supervised-preference-training and .opencode/skills/supervised-preference-training in your project.
Going by SKILL.md and its folder, Supervised Preference Training needs Python for the scripts in its folder and the command-line tools its instructions call (python). Our summary lists: Python 3; Docker.
SKILL.md contains no URLs. Any network use would come from the scripts or tools the agent runs. This is read from the text; nothing was executed.
Our automated static check of SKILL.md found no risky patterns, such as piping downloads into a shell, reading credential files or hidden Unicode. It is not a guarantee. The check reads SKILL.md only: the scripts in the folder are not scanned, so read them before running anything.
Supervised Preference Training is published under the Apache-2.0 licence (declared in SKILL.md). It allows redistribution, so the full SKILL.md is shown on this page.
About 1k tokens (SKILL.md is roughly 4.1k characters). Agents keep only the skill's name and description in context until a task matches; then they load SKILL.md in full. Its references folder adds about 5.2k tokens, read only when the agent opens those files.
Skills that share tags, products or a category with Supervised Preference Training: Grpo (benchflow-ai/skillsbench, 1.8k stars), Slime User (yzlnew/infra-skills, 149 stars), Hugging Face LLM Trainer (huggingface/skills, 11k stars) and Train Rl (OpenPipe/ART, 11k stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.
VectorSpaceLab (a GitHub organization) maintains it in VectorSpaceLab/AREX-Skill, which has 328 GitHub stars. The repository holds 159 skills in this directory. The repository was last updated on September 3, 2026.
Source: VectorSpaceLab/AREX-Skill on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.