Pooler
A small layer on top of BERT that takes the final vector of the [CLS] token, mixes its numbers with one weight matrix and squeezes each into the range −1 to 1. Its output is what the next-sentence task reads. It is not the same as pooling, which averages or picks rows without changing them.
ⓘ Technical definition
pooled = tanh(h_[CLS] · W_pool + b_pool): one dense layer and a tanh applied to the [CLS] row of the last encoder layer, trained by next-sentence prediction. Distinct from mean or [CLS] pooling, which combine the encoder rows as they are.