## Token Classification

Token classification is a task in which a label is assigned to some tokens in a text. Some popular token classification subtasks are Named Entity Recognition (NER) and Part-of-Speech (PoS) tagging.

{{{tips.linksToTaskPage.token-classification}}}

### Recommended models

{{#each recommendedModels.token-classification}}
- [{{this.id}}](https://huggingface.co/{{this.id}}): {{this.description}}
{{/each}}

{{{tips.listModelsLink.token-classification}}}

### Using the API

{{{snippets.token-classification}}}

### API specification

#### Request

{{{constants.specsHeaders}}}

{{{specs.token-classification.input}}}

#### Response

{{{specs.token-classification.output}}}

