Hugging Face · Schema

Hugging Face Model

Schema for a machine learning model hosted on the Hugging Face Hub, including metadata, configuration, and repository information.

Properties

Name Type Description
_id string Internal unique identifier for the model
id string Model repository ID in the format author/model-name or model-name
modelId string Alias for the model repository ID
author string Author or organization that owns the model
sha string Latest Git commit SHA of the model repository
lastModified string Timestamp of the last modification to the repository
createdAt string Timestamp when the model repository was created
private boolean Whether the model repository is private
disabled boolean Whether the model has been disabled
gated object Access gating configuration. False means no gating, 'auto' or 'manual' indicates gated access.
pipeline_tag string The primary task/pipeline this model is designed for
tags array Tags associated with the model including library, language, license, and custom tags
library_name string Primary ML library used by the model
downloads integer Total number of downloads in the last 30 days
downloadsAllTime integer Total number of all-time downloads
likes integer Total number of likes/favorites
siblings array List of files in the model repository
spaces array List of Space IDs that use this model
safetensors object Safetensors metadata including parameter counts
config object Model configuration from config.json
cardData object Parsed metadata from the model card (README.md YAML front matter)
transformersInfo object Transformers library-specific information
widgetData array Widget example data for the model card inference widget
View JSON Schema on GitHub