def METHOD_NAME(self, dy_model, metrics_list, batch_data, config):
    src_ids, pos_ids, sent_ids, input_mask, mask_pos, mask_label = self.create_feeds(
        batch_data, config)
    prediction = dy_model.forward(src_ids, pos_ids, sent_ids, input_mask,
                                  mask_pos)
    loss = self.create_loss(prediction, mask_label)
    print_dict = {'loss': loss}
    return loss, metrics_list, print_dict