Skip to content

Exposing keyword arguments for LAB-Bench dataset loading #336

Merged
jamesbraza merged 2 commits intomainfrom
load-ds-kwargs
Feb 2, 2026
Merged

Exposing keyword arguments for LAB-Bench dataset loading #336
jamesbraza merged 2 commits intomainfrom
load-ds-kwargs

Conversation

@jamesbraza
Copy link
Collaborator

Allowing one to pass revision

@jamesbraza jamesbraza self-assigned this Jan 30, 2026
Copilot AI review requested due to automatic review settings January 30, 2026 23:09
@jamesbraza jamesbraza added the enhancement New feature or request label Jan 30, 2026
@dosubot dosubot bot added the size:XS This PR changes 0-9 lines, ignoring generated files. label Jan 30, 2026
Copy link

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Exposes additional Hugging Face datasets.load_dataset(...) keyword arguments when loading LAB-Bench datasets (notably to support passing revision).

Changes:

  • Added **load_ds_kwargs passthrough parameter to read_ds_from_hub(...).
  • Forwarded these kwargs into the internal load_dataset(...) call.
  • Updated the function docstring to document the new parameter.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

@jamesbraza jamesbraza merged commit 551ed0e into main Feb 2, 2026
5 checks passed
@jamesbraza jamesbraza deleted the load-ds-kwargs branch February 2, 2026 17:35
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement New feature or request size:XS This PR changes 0-9 lines, ignoring generated files.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants