def METHOD_NAME(self, sentence_features: Iterable[Dict[str, Tensor]], labels: Tensor):
    rep = self.sentence_embedder(sentence_features[0])['sentence_embedding']
    return self.batch_semi_hard_triplet_loss(labels, rep)