Skip to content
Open
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
2 changes: 1 addition & 1 deletion docs/source/environments/browsergym.md
Original file line number Diff line number Diff line change
Expand Up @@ -224,7 +224,7 @@ Enterprise software automation tasks:
- Business workflows

**Full task lists:**
- [MiniWoB++ tasks](https://github.com/Farama-Foundation/miniwob-plusplus/tree/master/miniwob/environment)
- [MiniWoB++ tasks](https://github.com/Farama-Foundation/MiniWoB-plusplus/tree/main/miniwob/html/miniwob)
- [WebArena tasks](https://github.com/web-arena-x/webarena/blob/main/config_files/)
- [BrowserGym documentation](https://github.com/ServiceNow/BrowserGym)

Expand Down
4 changes: 2 additions & 2 deletions docs/source/environments/dipg.md
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ The `DIPGSafetyEnv` follows a standard client-server model.

### 1. Running the Server

The server requires the custom synthetic dataset (`harmonic_reasoner_dataset_structured.jsonl`). You can download it from [here](https://huggingface.co/datasets/dvitel/Harmonic-Reasoner/resolve/main/harmonic_reasoner_dataset_structured.jsonl).
By default the server loads the sample dataset bundled with the environment (`data/sample_dataset.jsonl`). To use a full dataset in the same JSONL format, set `DIPG_DATASET_PATH` (see below). The original `harmonic_reasoner_dataset_structured.jsonl` is no longer published on the Hugging Face Hub.

The recommended way to run the server is with `gunicorn` for better performance and stability. The server is highly configurable via environment variables to support different reward schemes.

Expand All @@ -59,7 +59,7 @@ The recommended way to run the server is with `gunicorn` for better performance
pip install gunicorn

# Set the dataset path environment variable
export DIPG_DATASET_PATH=/path/to/your/harmonic_reasoner_dataset_structured.jsonl
export DIPG_DATASET_PATH=/path/to/your/dataset.jsonl

# Run the server with the V3 "format-first" reward configuration
export EXACT_FORMAT_REWARD=10.0
Expand Down
2 changes: 1 addition & 1 deletion docs/source/environments/finqa.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@

A financial question-answering environment for RL training. Evaluates LLMs on their ability to answer complex financial questions using tool calls on SEC 10-K filing data.

Based on [FinQABenchmark](https://github.com/snorkel-ai/FinQABenchmark) from Snorkel AI.
Based on Snorkel AI's FinQA benchmark ([`snorkelai/finqa-data`](https://huggingface.co/datasets/snorkelai/finqa-data)).

## Overview

Expand Down
2 changes: 1 addition & 1 deletion docs/source/environments/qed_math.md
Original file line number Diff line number Diff line change
Expand Up @@ -234,7 +234,7 @@ For answer-mode problems (`evaluation_mode: "answer"`), grading is routed throug

### Harness-injected token count

Steps 4 and 5 require the full generation length (including any reasoning trace that is stripped before grading). This value cannot come from the agent — it is supplied by the training harness as an out-of-band field in the HTTP step request body, mirroring the [`StateUsageTracker`](https://github.com/PrimeIntellect-ai/verifiers/blob/main/verifiers/utils/usage_utils.py) pattern from PrimeIntellect/verifiers:
Steps 4 and 5 require the full generation length (including any reasoning trace that is stripped before grading). This value cannot come from the agent — it is supplied by the training harness as an out-of-band field in the HTTP step request body, mirroring the [`StateUsageTracker`](https://github.com/PrimeIntellect-ai/verifiers/blob/fd495e5c4784a62cbed112fe8611c690f85a4f0c/verifiers/utils/usage_utils.py#L22) pattern from PrimeIntellect/verifiers:

```python
# Training harness (pseudocode)
Expand Down
2 changes: 1 addition & 1 deletion docs/source/environments/sumo.md
Original file line number Diff line number Diff line change
Expand Up @@ -322,7 +322,7 @@ export SUMO_HOME=/usr/share/sumo
- [SUMO Documentation](https://sumo.dlr.de/docs/)
- [SUMO-RL GitHub](https://github.com/LucasAlegre/sumo-rl)
- [SUMO-RL Paper](https://peerj.com/articles/cs-575/)
- [RESCO Benchmarks](https://github.com/jault/RESCO)
- [RESCO Benchmarks](https://github.com/Pi-Star-Lab/RESCO)

## Citation

Expand Down
2 changes: 1 addition & 1 deletion docs/source/tutorials/rubrics.md
Original file line number Diff line number Diff line change
Expand Up @@ -352,7 +352,7 @@ That snippet works for *any* OpenEnv environment that sets `self.rubric`, regard

Training frameworks consume the reward through the same channel as any other OpenEnv observation field: `step()` returns an `Observation` whose `reward` is the rubric's output, and the client delivers it via `result.reward`.

With [TRL](https://huggingface.co/docs/trl/main/en/openenv), the recommended path is `GRPOTrainer`'s `environment_factory`: you define a thin wrapper class with tool methods that call the OpenEnv client, store `self.reward = result.observation.reward` after each step, and a plain reward function reads it off the `environments` parameter. The [TRL OpenEnv integration guide](https://huggingface.co/docs/trl/main/en/openenv) has the full recipe, and TRL's [`examples/`](https://github.com/huggingface/trl/tree/main/examples) folder ships ready-to-run OpenEnv scripts (`grpo_wordle`, `grpo_catch`, `grpo_sudoku`, ...). The same observation shape works with [torchforge](https://github.com/pytorch-labs/torchforge) and other OpenEnv-compatible training stacks.
With [TRL](https://huggingface.co/docs/trl/main/en/openenv), the recommended path is `GRPOTrainer`'s `environment_factory`: you define a thin wrapper class with tool methods that call the OpenEnv client, store `self.reward = result.observation.reward` after each step, and a plain reward function reads it off the `environments` parameter. The [TRL OpenEnv integration guide](https://huggingface.co/docs/trl/main/en/openenv) has the full recipe, and TRL's [`examples/`](https://github.com/huggingface/trl/tree/main/examples) folder ships ready-to-run OpenEnv scripts (`grpo_wordle`, `grpo_catch`, `grpo_sudoku`, ...). The same observation shape works with [torchforge](https://github.com/meta-pytorch/torchforge) and other OpenEnv-compatible training stacks.

`named_rubrics()` is orthogonal: use it to **log per-component scores** (to Weights & Biases, TensorBoard, trackio, …) while training, without changing the reward the optimiser sees.

Expand Down
2 changes: 1 addition & 1 deletion envs/browsergym_env/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -239,7 +239,7 @@ Enterprise software automation tasks:
- Business workflows

**Full task lists:**
- [MiniWoB++ tasks](https://github.com/Farama-Foundation/miniwob-plusplus/tree/master/miniwob/environment)
- [MiniWoB++ tasks](https://github.com/Farama-Foundation/MiniWoB-plusplus/tree/main/miniwob/html/miniwob)
- [WebArena tasks](https://github.com/web-arena-x/webarena/blob/main/config_files/)
- [BrowserGym documentation](https://github.com/ServiceNow/BrowserGym)

Expand Down
4 changes: 2 additions & 2 deletions envs/dipg_safety_env/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,7 @@ The `DIPGSafetyEnv` follows a standard client-server model.

### 1. Running the Server

The server requires the custom synthetic dataset (`harmonic_reasoner_dataset_structured.jsonl`). You can download it from [here](https://huggingface.co/datasets/dvitel/Harmonic-Reasoner/resolve/main/harmonic_reasoner_dataset_structured.jsonl).
By default the server loads the sample dataset bundled with the environment (`data/sample_dataset.jsonl`). To use a full dataset in the same JSONL format, set `DIPG_DATASET_PATH` (see below). The original `harmonic_reasoner_dataset_structured.jsonl` is no longer published on the Hugging Face Hub.

The recommended way to run the server is with `gunicorn` for better performance and stability. The server is highly configurable via environment variables to support different reward schemes.

Expand All @@ -71,7 +71,7 @@ The recommended way to run the server is with `gunicorn` for better performance
pip install gunicorn

# Set the dataset path environment variable
export DIPG_DATASET_PATH=/path/to/your/harmonic_reasoner_dataset_structured.jsonl
export DIPG_DATASET_PATH=/path/to/your/dataset.jsonl

# Run the server with the V3 "format-first" reward configuration
export EXACT_FORMAT_REWARD=10.0
Expand Down
2 changes: 1 addition & 1 deletion envs/finqa_env/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ tags:

A financial question-answering environment for RL training. Evaluates LLMs on their ability to answer complex financial questions using tool calls on SEC 10-K filing data.

Based on [FinQABenchmark](https://github.com/snorkel-ai/FinQABenchmark) from Snorkel AI.
Based on Snorkel AI's FinQA benchmark ([`snorkelai/finqa-data`](https://huggingface.co/datasets/snorkelai/finqa-data)).

## Overview

Expand Down
2 changes: 1 addition & 1 deletion envs/qed_math_env/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -249,7 +249,7 @@ For answer-mode problems (`evaluation_mode: "answer"`), grading is routed throug

### Harness-injected token count

Steps 4 and 5 require the full generation length (including any reasoning trace that is stripped before grading). This value cannot come from the agent — it is supplied by the training harness as an out-of-band field in the HTTP step request body, mirroring the [`StateUsageTracker`](https://github.com/PrimeIntellect-ai/verifiers/blob/main/verifiers/utils/usage_utils.py) pattern from PrimeIntellect/verifiers:
Steps 4 and 5 require the full generation length (including any reasoning trace that is stripped before grading). This value cannot come from the agent — it is supplied by the training harness as an out-of-band field in the HTTP step request body, mirroring the [`StateUsageTracker`](https://github.com/PrimeIntellect-ai/verifiers/blob/fd495e5c4784a62cbed112fe8611c690f85a4f0c/verifiers/utils/usage_utils.py#L22) pattern from PrimeIntellect/verifiers:

```python
# Training harness (pseudocode)
Expand Down
2 changes: 1 addition & 1 deletion envs/sumo_rl_env/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -334,7 +334,7 @@ export SUMO_HOME=/usr/share/sumo
- [SUMO Documentation](https://sumo.dlr.de/docs/)
- [SUMO-RL GitHub](https://github.com/LucasAlegre/sumo-rl)
- [SUMO-RL Paper](https://peerj.com/articles/cs-575/)
- [RESCO Benchmarks](https://github.com/jault/RESCO)
- [RESCO Benchmarks](https://github.com/Pi-Star-Lab/RESCO)

## Citation

Expand Down