Skip to content
Back to skills

Remote Reward Models

ASecurity

"Operate Align-Anything remote reward servers, payload checks, and

  • 247 stars
  • 0 votes
  • 0 copies
  • 2 views
  • Added September 8, 2026
devopspythonflask

Works with

  • cli

Security analysis

A100/100

Pro scans all 5 files and shows the line behind each finding

Scanned September 8, 2026

npx -y skills add VectorSpaceLab/AREX-Skill --skill remote-reward-models --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Remote Reward Models?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for Remote Reward Models
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/vectorspacelab-remote-reward-models/badge)](https://www.skillsdirectory.com/skills/vectorspacelab-remote-reward-models)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
---
name: remote-reward-models
description: "Operate Align-Anything remote reward servers, payload checks, and
  PPO remote-RM wiring."
metadata:
  disco-role: operating
disable-model-invocation: true
license: Apache 2.0
---

# Remote Reward Models

Use this sub-skill when you need to:
- start a local remote reward server
- validate the HTTP payload contract
- wire PPO training to a remote reward endpoint
- debug address, port, dataset, reward-type, or reward-function failures

## Fast route
1. Read `references/remote-rm-contract.md`.
2. Start the server with `scripts/start_remote_rm_template.sh` or the `python -m align_anything.models.remote_rm.run_reward_server` pattern.
3. Validate `/get_reward` with `scripts/probe_remote_rm_payload.py`.
4. If PPO still fails, check `references/troubleshooting.md`.
5. For PPO remote RM, use the adapted qwen2_5_vl launch pattern captured here: start the reward server first, export `REMOTE_RM_URL`, then run `deepspeed --module align_anything.trainers.text_to_text.ppo_remote_rm`.

## What this sub-skill covers
- Flask reward server lifecycle
- reward function registration and dataset-backed math verification
- `RemoteRewardModel` client calls and retries
- PPO remote RM config keys and launch order
- common failures around payload shape, reward type, dataset mapping, and tokenizer mismatch

## Primary facts
- Server entry point: `python -m align_anything.models.remote_rm.run_reward_server`
- HTTP endpoint: POST `/get_reward`
- Client class: `align_anything.models.remote_rm.remote_rm_client.RemoteRewardModel`
- PPO trainer: `align_anything.trainers.text_to_text.ppo_remote_rm`
- Math verifier reward: `math_verifier_reward_function`
- Bundled launch helpers: `scripts/start_remote_rm_template.sh`, `scripts/probe_remote_rm_payload.py`

## What is out of scope
- editing source implementation outside the skill tree
- production hardening, auth, or multi-tenant deployment
- non-HTTP reward training paths that do not use the remote RM server

Files in this skill

  • SKILL.md2 KB
  • references/remote-rm-contract.md8.3 KB
  • references/troubleshooting.md7.4 KB
  • scripts/probe_remote_rm_payload.py5.7 KB
  • scripts/start_remote_rm_template.sh3.2 KB

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

Comments

Loading comments…

Newsletter

Get the weekly list of safe new skills, and the ones we pulled.