capabilities.work

Search and Inspect a Model

A 3-step recipe with Hugging Face. We can help you get access.

Recipe · 3 steps

Search and Inspect a Model

with Hugging Face · Artificial Intelligence Management

Find a model by search term and inspect it at a chosen revision.

  1. Run a full-text search against the Hub, returning the most relevant models with full card data so the top match can be resolved.
  2. Retrieve the detailed model record for the top search result using its repository id.
  3. Read the model information pinned to the requested Git revision so the caller can compare the default branch against a tagged or committed state.
What you'll need to have ready
  • search: Full-text search query used to find models on the Hub.
  • pipelineTag: Optional pipeline task type to narrow the search (e.g. text-generation).
  • revision: Git revision (branch, tag, or commit SHA) to inspect.
  • limit: Maximum number of search results to return.
For your developer

Arazzo workflow hugging-face:search-and-inspect-model, 3 operations: getV1Models → getV1ModelsByModelId → getModelRevision. Specs on APIs.io.