Working with Contrastive Losses part2(Advanced Machine Learning)