← All models · Bio_ClinicalBERT · MiniLM
use case · multi-model
Fill-mask ranks candidates by how likely they are in context — not by what they mean. So compose two models: Bio_ClinicalBERT proposes candidate terms for a clinical blank, then all-MiniLM-L6 embeds each completed sentence and re-ranks them by cosine similarity to a target meaning you choose. It surfaces the fills that actually match clinical intent — a tiny, private, on-device pipeline.
Bio_ClinicalBERT (~131 MB) proposes; MiniLM embeddings (~25 MB) ranks. Each auto-initialises from cache when present.
Each row shows Bio_ClinicalBERT's fill probability (how likely the term is in the blank) and MiniLM's cosine similarity (how close the finished sentence is to your target). Sorting by cosine surfaces the clinically-plausible fills that also match your intent — the bridge between a domain LM and semantic search.