← All models Β· French NER

Multi-model Β· token-classification + fill-mask Β· WASM

NER finds the names, fill-mask reimagines them

The wild page let you recast the names. Here a second model does it. The French NER model locates every entity of the type you choose; then CamemBERT fill-mask β€” the same base architecture, the same language β€” masks each name in turn and predicts a replacement that fits the context. Chain them and a sentence recasts itself, staying grammatical because each model does one job well. Both run locally.

Regenerate the names

β€œMarie Curie opened her laboratory in Paris and discovered radium there.”

How the chain works

  1. NER (French CamemBERT, token-classification) finds every entity span matching your chosen type, with exact character offsets.
  2. For each span we build a copy of the sentence with that name replaced by [MASK].
  3. Fill-mask (CamemBERT-base) predicts the most likely word for the mask in context; we take the top prediction that isn't the original name.
  4. We stitch the predictions back in at the exact spans. Because fill-mask respects grammar and context, the sentence stays coherent β€” just recast.

Keep exploring

← Basics

Highlight every name by its type.

Practical β†’

Entity index & privacy redaction.

Wild β†’

Recast the names yourself.