def METHOD_NAME(self, dy_model, metrics_list, batch_data, config):
    neg_size = config.get("hyper_parameters.neg_size")
    text_len = config.get("hyper_parameters.text_len")
    batch_size = config.get("runner.infer_batch_size", 128)
    inputs = self.create_feeds(batch_data, text_len, neg_size)
    cos_pos, cos_neg = dy_model.forward(inputs)
    # update metrics
    acc = self.get_acc(cos_neg, cos_pos, batch_size)
    print_dict = {"ACC": acc}
    return metrics_list, print_dict