docs: Add Tutorial proposal for RLHF using genrm_compare resources server.#1046
Draft
docs: Add Tutorial proposal for RLHF using genrm_compare resources server.#1046
Conversation
Signed-off-by: Felipe Vieira Frujeri <ffrujeri@nvidia.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
What does this PR do?
Adds documentation and tooling for GRPO / RLHF-style training with NeMo Gym’s GenRM compare server, HelpSteer3 → JSONL conversion, a Nemotron 3 Super NeMo RL example recipe, tests, and doc/navigation updates.
To build the docs and visualize locally please do:
Issues
Closes #354
Usage
Convert HelpSteer3 (preference subset) to NeMo Gym JSONL (from repo root, with Gym dev env /
uv):Run unit tests for the conversion helpers:
NeMo RL: Use or compose from the example recipe (paths relative to the bundled Gym tree):
examples/nemo_rl/grpo_nemotron3_super_genrm_helpsteer3_pipeclean.yamlSet
data.train.data_path/data.validation.data_pathto the converted JSONL files and configure the GenRM checkpoint inenv.nemo_gym.genrm_model(or your launcher’sgenrm_model_name).Docs: Build or read the tutorial:
docs/training-tutorials/nemo-rl-grpo/rlhf-genrm-helpsteer3.mdmake docs-htmlunderdocs/:training-tutorials/nemo-rl-grpo/rlhf-genrm-helpsteer3.htmlAdditional Information
rlhf-genrm-helpsteer3.md): HelpSteer3 formatting, wiringresources_servers/genrm_compare/configs/genrm_compare.yaml+genrm_model, batch /num_rollouts_per_promptalignment, Arena-Hard v2 evaluation pointers, Nemotron 3 Nano vs Super note.examples/nemo_rl/grpo_nemotron3_super_genrm_helpsteer3_pipeclean.yaml): Pipeclean-scale NeMo RL YAML aligned with large-cluster GRPO + GenRM judge layout; policy default HF idnvidia/NVIDIA-Nemotron-3-Super-120B-A12B-BF16.resources_servers/genrm_compare/scripts/helpsteer3_to_nemo_gym_jsonl.py): Truncates context to the last user turn (GenRM requirement), HTML-unescapes content, optional--max-samplesfor smoke tests.tests/test_helpsteer3_to_nemo_gym_jsonl.py): Covers trim, unescape, JSON-stringcontext, and full row shape.docs/conf.pyredirecttutorials/nemo-rl-grpo/rlhf-genrm-helpsteer3.html; model recipes “See also”;resources_servers/genrm_compare/README.mdlinks to the tutorial and example YAML.