← All models · Chinese RoBERTa-wwm

use case · wild

Wild: the chengyu challenge

Chengyu (成语) are four-character idioms, usually rooted in a classical story and memorised whole. Mask one character and you're testing whether the model has truly read Chinese. This is where whole-word masking should shine: it was trained to fill a character while holding the rest of the word together, which is exactly what an idiom demands.

The intended characters here are 足, 兔, 牢, 蛙, 琴 and 淡. Each idiom carries a short explanatory clause so the mask has context on both sides — mask only the very last character with nothing after it and the model, expecting the sentence to end, tends to guess punctuation instead. When it nails the idiom character with a high logit, whole-word masking is paying off.

← Practical · Next: Multi-model →