Contrastive Loss for Embeddings