Hugging Face · Schema

ZeroShotClassificationResponse

Properties

Name Type Description
sequence string
labels array
scores array
View JSON Schema on GitHub

JSON Schema

hugging-face-zeroshotclassificationresponse-schema.json Raw ↑
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "#/components/schemas/ZeroShotClassificationResponse",
  "title": "ZeroShotClassificationResponse",
  "type": "object",
  "properties": {
    "sequence": {
      "type": "string",
      "example": "example_value"
    },
    "labels": {
      "type": "array",
      "items": {
        "type": "string"
      },
      "example": []
    },
    "scores": {
      "type": "array",
      "items": {
        "type": "number",
        "format": "float"
      },
      "example": []
    }
  }
}