Computer scienceData scienceNLPLanguage representationTransformers

BERT Transformer

Special tokens

Report a typo

Match the following special tokens used in BERT's tokenization with their descriptions.

Match the items from left and right columns
[CLS]
[SEP]
[MASK]
[PAD]
Added randomly in the sequence and used during the MLM pretraining task
Added at the beginning or the end of sequences and is used for padding to ensure equal-length sequences during batch training
Added between sentence A and sentence B in the Next Sentence Prediction (NSP) task to separate two sentences in a sequence
Added at the beginning of each input sequence and is used for classification tasks

Create a free account to access the full topic