Tokenization

NLP interview question · Medium difficulty

What is tokenization?medium

Type
conceptual
Topic
tokenization
Frequency
common
Tags
tokenization
Answer

Tokenization splits text into units such as words, subwords, or characters.

Explanation

Tokenization converts raw text into model-readable pieces. Modern models often use subword tokenization to handle rare words and multiple languages.

Follow-upWhy do LLMs use subword tokens?