---
title: "Fill Mask"
description: "Local-first visual environment for building and running AI workflows. Build agents visually, deploy anywhere, privacy by design."
canonical: https://docs.nodetool.ai/nodes/transformers/fillmask
markdown: https://docs.nodetool.ai/nodes/transformers/fillmask.md
product: NodeTool
source: https://github.com/nodetool-ai/nodetool/blob/main/docs/nodes/transformers/fillmask.md
---

# Fill Mask

**Type:** `transformers.FillMask`

**Namespace:** `transformers`

## Properties

| Property | Type | Description | Default |
|----------|------|-------------|---------|
| text | `str` | Text containing a single mask token (e.g. [MASK] or <mask>). | `The quick brown [MASK] jumps over the lazy dog.` |
| model | `any` | Transformers.js model (ONNX-compatible). | - |
| top_k | `int` | Number of candidate fill-ins to return. | `5` |
| dtype | `enum` | Model dtype / quantization level. | `auto` |
| device | `enum` | Inference device. | `auto` |

## Outputs

| Output | Type | Description |
|--------|------|-------------|
| top | `str` |  |
| results | `list` |  |

## Related Nodes

Browse other nodes in the [transformers](./) namespace.
