original, with the two crops
view 1
view 2
Click any point to make it the anchor. Here the embeddings themselves are the trainable parameters (2-d, on the unit circle) instead of the outputs of a network, so you can watch the loss act on them directly. Loss and gradients are the same as PyTorch autograd on F.cross_entropy of the scaled cosine matrix (checked to 1e-12).