Repository navigation
Add data aggregations to data preparation - #49
Merged
Merged
Conversation
Signed-off-by: Frankie Siino <[email protected]>
Signed-off-by: Frankie Siino <[email protected]>
Signed-off-by: Frankie Siino <[email protected]>
Signed-off-by: Frankie Siino <[email protected]>
Signed-off-by: Frankie Siino <[email protected]>
Signed-off-by: Frankie Siino <[email protected]>
fsiino-nvidia
force-pushed
the
fsiino/prepare-data-aggregations
branch
from
September 15, 2025 20:35
3c7774c to
f696eb7
Compare
Signed-off-by: Frankie Siino <[email protected]>
fsiino-nvidia
marked this pull request as ready for review
September 15, 2025 21:11
Signed-off-by: Frankie Siino <[email protected]>
Signed-off-by: Frankie Siino <[email protected]>
Signed-off-by: Frankie Siino <[email protected]>
Signed-off-by: Frankie Siino <[email protected]>
Signed-off-by: Frankie Siino <[email protected]>
Signed-off-by: Frankie Siino <[email protected]>
…ggregations Signed-off-by: Frankie Siino <[email protected]>
…odel Signed-off-by: Frankie Siino <[email protected]>
bxyu-nvidia
requested changes
Sep 18, 2025
| self, dataset_config: DatasetConfig | ||
| ) -> DatasetValidatorState: | ||
| state = DatasetValidatorState() | ||
| data = [] |
Contributor
There was a problem hiding this comment.
having data be a list here is going to increase memory consumption like crazy. let's fold the aggregate_other_metrics call into _validate_samples_and_aggregate_metrics_single_sample
| def get_aggregate_metrics(data: List[DatasetViewerVerifyResponse], raw_lines: List[str]) -> Dict[str, Any]: | ||
| def get_aggregate_metrics(raw_lines: List[str]) -> Dict[str, Any]: | ||
| dataset_metrics = DatasetMetrics() | ||
| line_dicts = [] |
Contributor
There was a problem hiding this comment.
same comment as below. ideally we would try to save on the memory here
Signed-off-by: Frankie Siino <[email protected]>
bxyu-nvidia
approved these changes
Sep 18, 2025
abhibha-nvidia
pushed a commit
that referenced
this pull request
Sep 28, 2025
This change updates the train_data_utils via `ng_prepare_data` to apply data aggregations to the other keys within an `example.jsonl`. file. --------- Signed-off-by: Frankie Siino <[email protected]> Co-authored-by: bxyu-nvidia <[email protected]>
abhibha-nvidia
pushed a commit
that referenced
this pull request
Sep 29, 2025
This change updates the train_data_utils via `ng_prepare_data` to apply data aggregations to the other keys within an `example.jsonl`. file. --------- Signed-off-by: Frankie Siino <[email protected]> Co-authored-by: bxyu-nvidia <[email protected]>
abubakaria56
pushed a commit
to abubakaria56/Gym
that referenced
this pull request
Mar 2, 2026
This change updates the train_data_utils via `ng_prepare_data` to apply data aggregations to the other keys within an `example.jsonl`. file. --------- Signed-off-by: Frankie Siino <[email protected]> Co-authored-by: bxyu-nvidia <[email protected]>
abubakaria56
pushed a commit
to abubakaria56/Gym
that referenced
this pull request
Mar 2, 2026
This change updates the train_data_utils via `ng_prepare_data` to apply data aggregations to the other keys within an `example.jsonl`. file. --------- Signed-off-by: Frankie Siino <[email protected]> Co-authored-by: bxyu-nvidia <[email protected]>
agronskiy
added a commit
that referenced
this pull request
Jun 24, 2026
GDPval-AA v2 lets a model exit early when it cannot complete the task. Upstream stirrup ships no dedicated abandon tool but supports multiple finish tools since v0.1.9 (PR #49), so implement abandon as a second finish tool in gym code rather than patching stirrup: - ABANDON_FINISH_TOOL (`abandon_task_finish`, reason-only, no paths) in finish_tool_coercing.py - pass finish_tool=[COERCING_FINISH_TOOL, ABANDON_FINISH_TOOL] for gdpval - advertise the tool in the task + system prompts - raise stirrup floor to >=0.1.9 (multiple finish tools) Co-Authored-By: Claude Opus 4.8 (1M context) <[email protected]> Signed-off-by: Alex Gronskiy <[email protected]>
agronskiy
added a commit
that referenced
this pull request
Jun 26, 2026
GDPval-AA v2 lets a model exit early when it cannot complete the task. Upstream stirrup ships no dedicated abandon tool but supports multiple finish tools since v0.1.9 (PR #49), so implement abandon as a second finish tool in gym code rather than patching stirrup: - ABANDON_FINISH_TOOL (`abandon_task_finish`, reason-only, no paths) in finish_tool_coercing.py - pass finish_tool=[COERCING_FINISH_TOOL, ABANDON_FINISH_TOOL] for gdpval - advertise the tool in the task + system prompts - raise stirrup floor to >=0.1.9 (multiple finish tools) Co-Authored-By: Claude Opus 4.8 (1M context) <[email protected]> Signed-off-by: Alex Gronskiy <[email protected]>
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.
This change updates the train_data_utils via
ng_prepare_datato apply data aggregations to the other keys within anexample.jsonl. file.