Tokenization turns text into units a model can process. In NLP workflows, it appears both as data preprocessing for classification baselines and as preparation for inspecting BERT inputs. section 2.0 section 7.1.1
BERT uses subword tokenization: in the example, “didnt” becomes “didn” and “##t.” The encoded sequence also includes “[CLS]” at the beginning and “[SEP]” at the end; these markers depend on the model architecture. section 7.1.1
Inspecting tokens
Encoding “He didnt want to talk about cells on the cell phone because he considered it boring” produces tokens including “[CLS],” “didn,” “##t,” and “[SEP].” section 7.1.1

























