NVIDIA-NeMo / NVIDIA-NeMo/RL

[TRAIN-8] No end-to-end tutorial for writing and registering custom reward functions

Open
#2,724 1 comment 0 reactions 1 assignee Claimed by @ananthsub View on GitHub
Documentation p0
Dominant language
Python
Stars
2k
Forks
561
Avg merge
4d 5h
Merged PRs (30d)
145

Description

## Problem

The environments guide explains how to use the built-in math and code environments, including multi-reward support. However, it does not provide an end-to-end example for writing a custom reward function and registering it via a custom environment.

## Suggested fix

Add a "Custom Reward Functions" tutorial covering: implementing a reward function, registering it via a custom environment class, and wiring it into a training config with a working example.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.