Reference docMembers

GRPO Reward Function Library

GRPO Reward Function Library is a reference document for Claude Code, from the wshobson agents and plugins collection by wshobson. The full text is about 1,523 words in 6 sections, with 6 code blocks. It is a supporting file that a skill or agent reads while it works, so the main instructions can stay short.

It is most useful for people working in Data and ML who use Claude Code.

What it covers

  • Format Reward
  • Correctness Reward - Exact Match
  • Correctness Reward - Schema Validation
  • Correctness Reward - Unit Test Execution
  • Length-Penalty Wrapper
  • Rubric-as-Reward Judge Pattern

The full text is in the members library

Book a call and we will give you access to the full Claude Code library: every entry in full, search by meaning, copy and download.

Source: https://github.com/wshobson/agents/blob/main/plugins/llm-finetuning/skills/grpo-rlvr-training/references/reward-functions.md

Author: wshobson, wshobson agents and plugins. License: MIT.

Related entries