---
title: "Token Classification (NER)"
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/tokenclassificationner
markdown: https://docs.nodetool.ai/nodes/transformers/tokenclassificationner.md
product: NodeTool
source: https://github.com/nodetool-ai/nodetool/blob/main/docs/nodes/transformers/tokenclassificationner.md
---

# Token Classification (NER)

**Type:** `transformers.TokenClassification`

**Namespace:** `transformers`

## Properties

| Property | Type | Description | Default |
|----------|------|-------------|---------|
| text | `str` | Text to extract entities from. | `My name is Sarah and I live in London.` |
| model | `any` | Transformers.js model (ONNX-compatible). | - |
| aggregation_strategy | `enum` | How to merge subword tokens into entity spans. | `simple` |
| dtype | `enum` | Model dtype / quantization level. | `auto` |
| device | `enum` | Inference device. | `auto` |

## Outputs

| Output | Type | Description |
|--------|------|-------------|
| entities | `list` |  |

## Related Nodes

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