Search models
search_modelsFind open models in the hub's index. Every result has all of its files addressed by SHA-256. Returns id, task, library, licence, parameters, weight size, downloads and where the bytes live.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| sort | No | trending | |
| task | No | Hugging Face pipeline tag, e.g. text-generation, text-to-speech, feature-extraction. | |
| limit | No | ||
| query | No | Part of the model id, e.g. 'qwen' or 'whisper'. | |
| format | No | gguf, safetensors, mlx, onnx … | |
| license | No | SPDX-style licence id, e.g. apache-2.0, mit. | |
| max_weights_gb | No | Upper bound on the total size of the weights. |