← All models · Bio_ClinicalBERT

use case · practical

Practical: score candidate terms at the mask

Sometimes you don't want the top-k over 29,000 tokens — you have a shortlist and you want to know which one fits. Give Bio_ClinicalBERT a clinical sentence with one [MASK] and a set of candidate terms, and it scores each candidate's probability at that position. This is how you disambiguate an abbreviation, rank a controlled vocabulary, or check whether the model expects the term you think it should.

Multi-word or rare terms are compared by their leading WordPiece token — a disclosed simplification, so treat the ranking as directional. The bars are the softmax probability of each candidate at the masked position (over the full vocabulary), normalised here to the shown set for readability.

← Basics · Model · Next: Wild →