Hugging Face · Schema
FillMaskResponse
Properties
| Name | Type | Description |
|---|---|---|
| sequence | string | The complete text with filled mask |
| score | number | Confidence score for the prediction |
| token | integer | Token ID of the predicted word |
| token_str | string | The predicted word |
JSON Schema
{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"title": "FillMaskResponse",
"type": "object",
"properties": {
"sequence": {
"type": "string",
"description": "The complete text with filled mask"
},
"score": {
"type": "number",
"description": "Confidence score for the prediction"
},
"token": {
"type": "integer",
"description": "Token ID of the predicted word"
},
"token_str": {
"type": "string",
"description": "The predicted word"
}
}
}