โ† All models ยท ALBERT fill-mask

use case ยท practical

Practical: which word fits?

Fill-mask isn't only for generating guesses โ€” because ALBERT scores every word in context, you can hand it a shortlist and ask "which of these fits the blank best?". That's a plausibility / grammar check you can ship: pick the right preposition, catch a word that doesn't belong, rank synonyms by fit. Each candidate gets its real probability and logit at the mask.

Candidates are compared by their leading sub-word token โ€” a disclosed simplification, since some words split into pieces under ALBERT's SentencePiece vocabulary. Probabilities are over the full 30,000-token distribution, so they won't sum to 100% across your shortlist; the ranking is the point.

โ† Basics ยท Model ยท Next: Wild โ†’