def METHOD_NAME(self, dy_model, metrics_list, batch_data, config):
    query_len = config.get('hyper_parameters.query_len', 79)
    pos_len = config.get('hyper_parameters.pos_len', 99)
    inputs = self.create_feeds_infer(batch_data, query_len, pos_len)
    cos_pos, cos_neg = dy_model.forward(inputs, True)
    # update metrics
    print_dict = {" query_pt_sim": cos_pos}
    return metrics_list, print_dict