Currently there is no nn.TripletCriterion() available which is the most cutting edge criterion for siamese models.