โ† All models ยท ALBERT fill-mask

use case ยท multi-model

Multi-model: ALBERT proposes, MiniLM ranks by meaning

Fill-mask ranks candidates by how likely they are in context โ€” not by what they mean. So compose two small models: ALBERT (~45 MB) generates the candidate words for the blank, then all-MiniLM-L6 (~25 MB) embeds each completed sentence and re-ranks them by cosine similarity to a target sentence you choose. A grammatically likely fill can be semantically miles from what you meant โ€” and both models run locally, ~70 MB total.

Two models, both on-device

ALBERT fill-mask proposes; MiniLM embeddings ranks. Each auto-initialises from cache when present.

Each row shows ALBERT's fill probability (how likely the word is in the blank) and MiniLM's cosine similarity (how close the finished sentence is to your target). Sorting by cosine surfaces the fills that actually match your intent โ€” a tiny two-model pipeline you could drop into a controllable text tool.

โ† Wild ยท Back to ALBERT fill-mask