Repository navigation
Ruler lc clean - #293
Merged
Merged
Ruler lc clean#293
Conversation
Adds ruler_lc_* tasks and suites mirroring the existing RULER family (same scorers, prompting behavior, and task types) but reading pre-generated data from a local Weka path (jopetty/RULER) instead of the allenai/ruler_data HF release, extending context sizes up to 2097152 tokens (vs. the original 131072 cap). RulerTask is refactored to be extensible via _tasks_registry, _name_prefix, and _get_data_root() so RulerLcTask can reuse it without duplicating loading/registration logic. Existing ruler_* tasks are unaffected. Co-Authored-By: Claude Sonnet 5 <[email protected]>
…ition Renames the ruler-lc task/suite family to ruler-plus, switches data loading from a local Weka path to the allenai/ruler-plus HuggingFace dataset repo (downloaded via snapshot_download), and increases the per-condition sample limit from 100 to 512. Co-Authored-By: Claude Sonnet 5 <[email protected]>
Addresses review feedback on PR allenai#276: snapshot_download() was pulling the entire ~109 GB allenai/ruler-plus repo per task even though each task only needs one shard, and the loader read a shard's full contents into memory before applying the sample limit. Switches to hf_hub_download() for the single requested shard, and reservoir-samples (Algorithm R) while streaming the JSONL instead of materializing the whole file, so peak memory is proportional to the sample limit rather than shard size. Co-Authored-By: Claude Sonnet 5 <[email protected]>
PR allenai#282 was squash-merged into jacksonp/ladder, so the ruler-plus files re-conflicted as add/add against this branch's history. The ladder copies are identical to this branch at 9e5a5b0, so all four ruler files are resolved to this branch's versions, keeping the shard-download and reservoir-sampling I/O improvements from 6aad682. Co-Authored-By: Claude Opus 5 <[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.
Merge in I/O improvements