Hugging Face · Example Payload

Hugging Face Fillmask Example

Hugging Face Fillmask Example is an example object payload from Hugging Face, with 6 top-level fields. It illustrates the shape of data this provider's APIs accept or return.

Top-level fields

operationIdmethodpathsummaryrequestExamplesresponseExamples

Example Payload

Raw ↑
{
  "operationId": "fillMask",
  "method": "POST",
  "path": "/models/{model_id}/fill-mask",
  "summary": "Fill Mask Inference",
  "requestExamples": [
    {
      "contentType": "application/json",
      "name": "FillmaskRequestExample",
      "example": {
        "inputs": "example_value"
      }
    }
  ],
  "responseExamples": [
    {
      "status": "200",
      "contentType": "application/json",
      "name": "Fillmask200Example",
      "example": [
        {
          "sequence": "example_value",
          "score": 42.5,
          "token": 10,
          "token_str": "example_value"
        }
      ]
    }
  ]
}