Two Words That Never Meet

Sequential DataHard+30 XP+30

Two Words That Never Meet

A word2vec-style model is trained on the corpus below and on nothing else. It is shown one centre word at a time and must predict the words surrounding it, using a window of two words on each side. Training runs until the loss stops falling.

#sentence
1the soup was hot
2the soup was cold
3she drank hot tea
4she drank cold tea
5do not touch the hot metal
6do not touch the cold metal

The two highlighted words never appear in the same sentence, and they mean opposite things.

Where do the vectors for hot and cold end up relative to each other?

the
cat
sat
on
the
warm
mat
centre: sat · context: the, cat, on, the

Every position gives another training example. Billions of them, free, from any text at all — no labelling required.

Hints

Solve it to unlock the solution

Once you get it right, the reasoning behind the answer shows up here.

Select all that apply.