Skip to content

Commit 7d44b34

Browse files
bxyu-nvidiaabhibha-nvidia
authored andcommitted
Multi-verifier docs (#36)
Signed-off-by: Brian Yu <bxyu@nvidia.com> Signed-off-by: Abhibha Gupta <abhibhag@nvidia.com>
1 parent 17c5e14 commit 7d44b34

File tree

1 file changed

+31
-2
lines changed

1 file changed

+31
-2
lines changed

README.md

Lines changed: 31 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,8 @@
1818
- [How To: Prepare and validate data for PR submission or RL training](#how-to-prepare-and-validate-data-for-pr-submission-or-rl-training)
1919
- [How To: ng\_dump\_config - Dump a YAML config as exactly as NeMo Gym sees it](#how-to-ng_dump_config---dump-a-yaml-config-as-exactly-as-nemo-gym-sees-it)
2020
- [How To: Use NeMo Gym with a non-Responses compatible API endpoint like vLLM](#how-to-use-nemo-gym-with-a-non-responses-compatible-api-endpoint-like-vllm)
21-
- [FAQ: VSCode and Git setup](#faq-vscode-and-git-setup)
21+
- [How To: Multi-verifier usage](#how-to-multi-verifier-usage)
22+
- [FAQ: DCO and commit signing VSCode and Git setup](#faq-dco-and-commit-signing-vscode-and-git-setup)
2223
- [FAQ: SFT and RL](#faq-sft-and-rl)
2324
- [FAQ: Error: Found files with missing copyright](#faq-error-found-files-with-missing-copyright)
2425
- [FAQ: build-docs / Build docs CI failures](#faq-build-docs--build-docs-ci-failures)
@@ -736,7 +737,35 @@ vllm serve \
736737
```
737738

738739

739-
# FAQ: VSCode and Git setup
740+
# How To: Multi-verifier usage
741+
Gym is explicitly designed to support multi-verifier training.
742+
743+
Let's say you want to use both math and search verifiers. Normally how you spin up the servers individually is:
744+
For math:
745+
```bash
746+
config_paths="responses_api_models/openai_model/configs/openai_model.yaml,\
747+
resources_servers/library_judge_math/configs/bytedtsinghua_dapo17k.yaml"
748+
ng_run "+config_paths=[${config_paths}]"
749+
```
750+
For search:
751+
```bash
752+
config_paths="responses_api_models/openai_model/configs/openai_model.yaml,\
753+
resources_servers/google_search/configs/google_search.yaml"
754+
ng_run "+config_paths=[$config_paths]"
755+
```
756+
757+
If you want to use them both you would just add the yamls together like:
758+
```bash
759+
config_paths="responses_api_models/openai_model/configs/openai_model.yaml,\
760+
resources_servers/library_judge_math/configs/bytedtsinghua_dapo17k.yaml,\
761+
resources_servers/google_search/configs/google_search.yaml"
762+
ng_run "+config_paths=[$config_paths]"
763+
```
764+
765+
The same process goes for data preparation and downstream training framework Gym configuration, you would just add additional server configs.
766+
767+
768+
# FAQ: DCO and commit signing VSCode and Git setup
740769
Here are some suggestions for easier development using the VSCode code editor.
741770

742771
VSCode workspace settings at `.vscode/settings.json`

0 commit comments

Comments
 (0)