Skip to content

[CLI] Add benchmark dataset filter examples#4156

Merged
hanouticelina merged 1 commit into
mainfrom
codex/datasets-benchmark-filter-examples
Apr 28, 2026
Merged

[CLI] Add benchmark dataset filter examples#4156
hanouticelina merged 1 commit into
mainfrom
codex/datasets-benchmark-filter-examples

Conversation

@hanouticelina

@hanouticelina hanouticelina commented Apr 27, 2026

Copy link
Copy Markdown
Collaborator

Comment from @hanouticelina : i think it's worth having an example to list official benchmarks, mostly for discoverability. a better solution for discoverability would be to expose list_datasets(benchmark=...) directly in the CLI. that said, list_datasets has several other filters that are not surfaced either (gated, language, task_categories, etc) so adding only --benchmark would mean adding the others as well for consistency.

Summary

  • Add hf datasets ls --filter benchmark:official to the hf datasets ls CLI examples.
  • Document the same example in the CLI guide.
  • Regenerate the CLI reference so command help examples stay in sync.

Note

Low Risk
Low risk documentation-only change that just adds an additional CLI usage example; no functional behavior or API surface is modified.

Overview
Adds a new discoverability example for listing official benchmark datasets by documenting hf datasets ls --filter benchmark:official in the CLI guide and in the generated CLI reference.

Updates the hf datasets ls command’s Typer examples list so the help output and regenerated docs stay in sync.

Reviewed by Cursor Bugbot for commit 629dce5. Configure here.

@hanouticelina hanouticelina force-pushed the codex/datasets-benchmark-filter-examples branch from 72f6ce9 to 629dce5 Compare April 27, 2026 15:50
@hanouticelina hanouticelina marked this pull request as ready for review April 27, 2026 15:57
@hanouticelina hanouticelina requested a review from Wauplin April 27, 2026 15:57
@bot-ci-comment

Copy link
Copy Markdown

The docs for this PR live here. All of your documentation changes will be reflected on that endpoint. The docs are available until 30 days after the last update.

@Wauplin Wauplin left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

Reasoning makes perfect sense to me!

@hanouticelina hanouticelina merged commit 6e2a173 into main Apr 28, 2026
34 of 38 checks passed
@hanouticelina hanouticelina deleted the codex/datasets-benchmark-filter-examples branch April 28, 2026 10:16
@huggingface-hub-bot

Copy link
Copy Markdown
Contributor

This PR has been shipped as part of the v1.13.0 release.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants