use case ยท wild
The classic word-analogy trick โ "man is to woman as king is to queen" โ expressed as a
masked sentence. Because XLM-RoBERTa shares one space across languages, you can even cross them:
"London is to English as Berlin is to <mask>". Pick a pattern or write your own.
Analogies are not the model's training objective, so expect surprises โ it is guessing the word that best fits the pattern in context, not doing vector arithmetic. That's part of the fun: the logits show how sure it is.
โ Practical ยท Next: Multi-model โ