Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ Train on the DAPO17k math training environment and verify model improvement on A

| Parameter | Value |
| --- | --- |
| Training environment | [DAPO17k math environment](https://github.com/NVIDIA-NeMo/Gym/blob/299e8c04f4a3bbf0f6069139092225f2fe3aa70f/resources_servers/math_with_judge/configs/bytedtsinghua_dapo17k.yaml) |
| Training environment | [DAPO17k math environment](https://github.com/NVIDIA-NeMo/Gym/blob/main/resources_servers/math_with_judge/configs/dapo17k.yaml) |
| Base model | [Qwen3-4B-Instruct-2507](https://huggingface.co/Qwen/Qwen3-4B-Instruct-2507) |
| Minimum training steps | 1,000 |
| Validation set | AIME24 (included with training environment) |
Expand Down
2 changes: 1 addition & 1 deletion fern/versions/latest/pages/reference/cli-commands.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -692,7 +692,7 @@ Pre-warm per-server venvs without starting any servers. Accepts the same config

```bash
config_paths="responses_api_models/local_vllm_model/configs/local_vllm_model.yaml,\
resources_servers/math/configs/math.yaml"
resources_servers/math_with_judge/configs/math_with_judge.yaml"
gym env prefetch "+config_paths=[${config_paths}]"
```

Expand Down
8 changes: 4 additions & 4 deletions fern/versions/latest/pages/reference/faq.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ You will only need to manually input the `{dataset_name}` portion of the above w

To upload to Hugging Face, use the below command:
```bash
resource_config_path="resources_servers/multineedle/configs/multineedle.yaml"
resource_config_path="resources_servers/example_multi_step/configs/example_multi_step.yaml"
gym dataset upload \
--name {your dataset name} \
--input data/multineedle_benchmark.jsonl \
Expand All @@ -50,7 +50,7 @@ Because of the required dataset nomenclature, the resources server config path i
By default, the `split` parameter for uploading is set to `train`, which will run a check on the required fields `{"responses_create_params"}`. Specifying `validation` or `test` bypasses this check:

```bash
resource_config_path="resources_servers/multineedle/configs/multineedle.yaml"
resource_config_path="resources_servers/example_multi_step/configs/example_multi_step.yaml"
gym dataset migrate \
--name {your dataset name} \
--input data/multineedle_benchmark_validation.jsonl \
Expand Down Expand Up @@ -88,7 +88,7 @@ The commit_message and commit_description parameters work for both direct pushes
## Deleting Datasets from GitLab
You can optionally pass a `+delete_from_gitlab=true` flag to the above command, which will delete the model and all of its artifacts from GitLab. By default, this is set to `False`.
```bash
resource_config_path="resources_servers/multineedle/configs/multineedle.yaml"
resource_config_path="resources_servers/example_multi_step/configs/example_multi_step.yaml"
gym dataset upload \
+dataset_name={your dataset name} \
+input_jsonl_fpath=data/multineedle_benchmark.jsonl \
Expand All @@ -105,7 +105,7 @@ There will be a confirmation dialog to confirm the deletion:
You can also run the below command which does the same thing without the need for a `+delete_from_gitlab` flag:

```bash
resource_config_path="resources_servers/multineedle/configs/multineedle.yaml"
resource_config_path="resources_servers/example_multi_step/configs/example_multi_step.yaml"
gym dataset migrate \
--name {your dataset name} \
--input data/multineedle_benchmark.jsonl \
Expand Down
2 changes: 1 addition & 1 deletion nemo_gym/cli/env.py
Original file line number Diff line number Diff line change
Expand Up @@ -1021,7 +1021,7 @@ def prefetch(
```bash
# Pre-warm venvs for a specific config
config_paths="responses_api_models/local_vllm_model/configs/local_vllm_model.yaml,\\
resources_servers/math/configs/math.yaml"
resources_servers/math_with_judge/configs/math_with_judge.yaml"
gym env prefetch "+config_paths=[${config_paths}]"
```
"""
Expand Down
23 changes: 23 additions & 0 deletions tests/unit_tests/test_fern_docs_links.py
Original file line number Diff line number Diff line change
Expand Up @@ -331,6 +331,29 @@ def test_internal_pages_are_linked_by_path_not_by_absolute_url(self):

self.assertEqual([], absolute_links)

def test_cited_resources_server_configs_exist(self):
"""Every `resources_servers/<name>/configs/<file>.yaml` a latest page cites must exist on main.

`my_weather_tool` is skipped: the single-step environment tutorial has the reader create it.
Scoped to `latest`. The frozen versions cite paths that have since been renamed.
"""
pages = REPO_ROOT / "fern/versions/latest/pages"
tutorial_created = {"my_weather_tool"}
cited = 0
missing = []

for page in pages.rglob("*.mdx"):
for line_number, line in enumerate(page.read_text().splitlines(), start=1):
for match in re.finditer(r"resources_servers/([a-z0-9_]+)/configs/[A-Za-z0-9_.-]+\.yaml", line):
if match.group(1) in tutorial_created:
continue
cited += 1
if not (REPO_ROOT / match.group(0)).is_file():
missing.append(f"{page.relative_to(REPO_ROOT)}:{line_number}: {match.group(0)}")

self.assertEqual([], missing)
self.assertGreater(cited, 0)

def test_private_cli_compat_api_link_redirects_to_the_public_cli_page(self):
redirects = read("fern/docs.yml")
expected_redirect = """ - source: "/nemo/gym/nemo-gym/nemo_gym/cli/_compat"
Expand Down
Loading