Download or auto-initialise paraphrase-albert-small-v2 to run the live 3-pass pooling comparison.
SentencePiece Subword Breakdown
ALBERT uses a 30,000-piece SentencePiece Unigram model ([CLS]=2, [SEP]=3, <unk>=1, <pad>=0). Rare technical terms split into multiple continuations and inflate sequence length toward the 100-token SBERT cutoff.
| ID | Topic | Mean Cos (#Rank) | CLS Cos (#Rank) | Raw Dot (#Rank) | Raw L2 Norm | Tokens | Sentence |
|---|
Why 1_Pooling/config.json forbids CLS pooling
During Sentence-Transformers contrastive training, the loss is computed exclusively on the
attention-masked mean of all final-layer token embeddings
(pooling_mode_mean_tokens: true) and L2-normalized before cosine scoring.
The [CLS] token (ID 2) receives no direct pooling supervision for
sentence similarity, and skipping L2 normalization allows longer or higher-norm sentences
to dominate raw dot products regardless of semantic fit.