Hugging Face Hub adds programmatic search via huggingface_hub (ModelSearchArguments/ModelFilter)
AI Impact Summary
Hugging Face Hub now supports a richer, programmatic search API via the huggingface_hub library (HfApi, ModelSearchArguments, ModelFilter). This enables filtering models, datasets, and Spaces by attributes such as pipeline_tag, dataset, and library directly from Python without leaving an IDE, enabling scriptable discovery in workflows. Upgrading to the latest huggingface_hub unlocks these capabilities and supports examples like filtering for text-classification models trained on GLUE and PyTorch, retrieved as ModelInfo objects.
Affected Systems
- Date
- Date not specified
- Change type
- capability
- Severity
- info