Hugging Face · Schema

ModelSummary

Properties

Name Type Description
_id string Unique model identifier
id string Model repository ID (e.g., bert-base-uncased)
modelId string Alias for id
author string Model author or organization
sha string Latest commit SHA
lastModified string Last modification timestamp
private boolean Whether the model is private
disabled boolean
gated boolean Whether access is gated
pipeline_tag string Pipeline task tag
tags array
downloads integer Total download count
likes integer Total like count
library_name string Primary ML library
createdAt string
View JSON Schema on GitHub

JSON Schema

hugging-face-hub-model-summary-schema.json Raw ↑
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "title": "ModelSummary",
  "type": "object",
  "properties": {
    "_id": {
      "type": "string",
      "description": "Unique model identifier"
    },
    "id": {
      "type": "string",
      "description": "Model repository ID (e.g., bert-base-uncased)"
    },
    "modelId": {
      "type": "string",
      "description": "Alias for id"
    },
    "author": {
      "type": "string",
      "description": "Model author or organization"
    },
    "sha": {
      "type": "string",
      "description": "Latest commit SHA"
    },
    "lastModified": {
      "type": "string",
      "description": "Last modification timestamp"
    },
    "private": {
      "type": "boolean",
      "description": "Whether the model is private"
    },
    "disabled": {
      "type": "boolean"
    },
    "gated": {
      "type": "boolean",
      "description": "Whether access is gated"
    },
    "pipeline_tag": {
      "type": "string",
      "description": "Pipeline task tag"
    },
    "tags": {
      "type": "array"
    },
    "downloads": {
      "type": "integer",
      "description": "Total download count"
    },
    "likes": {
      "type": "integer",
      "description": "Total like count"
    },
    "library_name": {
      "type": "string",
      "description": "Primary ML library"
    },
    "createdAt": {
      "type": "string"
    }
  }
}