{
  "slug": "hf-models-datasets-and-spaces-discovery-commands-59ef2a0a8201",
  "title": "hf models, datasets, and spaces discovery commands",
  "tools": [
    "hf"
  ],
  "tags": [
    "agent"
  ],
  "introduced_at": "2026-01-08T16:07:59.000Z",
  "announced_at": "2026-01-08T16:07:59.000Z",
  "effective_at": null,
  "date_basis": "source-publication",
  "status": "unknown",
  "how": {
    "incantation": "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.",
    "examples": [
      "hf models ls --author=Qwen --limit=10\nhf models info Qwen/Qwen-Image-2512",
      "hf datasets ls --filter \"format:parquet\" --sort=downloads\nhf datasets info HuggingFaceFW/fineweb",
      "hf spaces ls --search \"3d\"\nhf spaces info enzostvs/deepsite"
    ],
    "gotchas": [
      "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."
    ]
  },
  "why_it_matters": "Inspect Hub models, datasets, or Spaces from the CLI while working on a repository.",
  "sources": [
    "https://github.com/huggingface/huggingface_hub/releases/tag/v1.3.0",
    "https://huggingface.co/docs/huggingface_hub/v1.3.0/en/guides/cli",
    "https://huggingface.co/docs/huggingface_hub/v1.3.0/en/package_reference/cli"
  ],
  "rank": 0.96056,
  "judge": {
    "publish": true,
    "judge_model": "codex-cli/gpt-6-luna+typesafe/jev-1.13.0",
    "prompt_version": "extract-v7+enrich-v2+judge-v2x3+jev-publish-v1"
  },
  "review_state": "approved",
  "provenance": {
    "run_id": "wave2b-20261017",
    "verdict_id": "wave2b-20261017:wave2b-20261017-6ffeed0c506d361b-0:gate",
    "evidence_hash": "78b0c7d0d76c3cba4479de37218cceafb6ddcbe4b97c5f42b3ec6893ef8a4d42"
  },
  "review": {
    "draft_hash": "408890c60adad02f0954c4e4826030ea5ccb04725a9409dc6d11bb7d2d3126af",
    "reviewer": "publication-gate",
    "reviewed_at": "2026-10-07T00:00:00.000Z",
    "decision": "wave2b-20261017:gate",
    "reason": "3 of 3 judge runs approved with p_yes >= 0.9 (mean 0.96 >= 0.9; 2 needed) and Jev gave 0.78 (>= 0.6 needed)."
  }
}
