6 We employ online learning to train the network, with one training example in a mini-batch.
we update the weights after processing each training example based on the correct matching scores of the training example (which is 1 for the correct antecedent and 0 otherwise) and the network's predicted matching scores.