sincecutoff.com
← all changes

hf models, datasets, and spaces discovery commands

Introduced 2026-01-08 · score 0.96

HOW TO USE IT

When inspecting Hub repositories from the CLI, use `hf models`, `hf datasets`, or `hf spaces` with `ls` to discover entries and `info <ID>` to inspect one; use `hf repo` for repository management.

hf models ls --author=Qwen --limit=10 hf models info Qwen/Qwen-Image-2512
hf datasets ls --filter "format:parquet" --sort=downloads hf datasets info HuggingFaceFW/fineweb
hf spaces ls --search "3d" hf spaces info enzostvs/deepsite

WHY THIS HELPS

Inspect Hub models, datasets, or Spaces from the CLI while working on a repository.

REQUIREMENTS AND LIMITATIONS

  • Version: v1.3.0
  • MODEL_ID (required): Model ID, e.g. `username/repo-name`.
  • DATASET_ID (required): Dataset ID, e.g. `username/repo-name`.
  • SPACE_ID (required): Space ID, e.g. `username/repo-name`.
  • --author TEXT: Filter by author or organization.
  • --limit INTEGER: Limit the number of results; documented default is 10.
  • --filter TEXT: Filter by tags; can be used multiple times. The docs do not specify the `format:parquet` syntax.
  • --sort: Sort results. Dataset sort choices include `downloads`.
  • --search TEXT: Search query.
  • Prerequisite: The `hf` CLI is built into the `huggingface_hub` Python package.

FIRST-PARTY EVIDENCE

Check the installed version and the source before using it. Entry JSON

Report a problem with this card